README.designware_eth 1.1 KB

12345678910111213141516171819202122232425
  1. This driver supports Designware Ethernet Controller provided by Synopsis.
  2. The driver is enabled by CONFIG_DESIGNWARE_ETH.
  3. The driver has been developed and tested on SPEAr platforms. By default, the
  4. MDIO interface works at 100/Full. #defining the below options in board
  5. configuration file changes this behavior.
  6. Call an subroutine from respective board/.../board.c
  7. designware_initialize(u32 id, ulong base_addr, u32 phy_addr);
  8. The various options suported by the driver are
  9. 1. CONFIG_DW_ALTDESCRIPTOR
  10. Define this to use the Alternate/Enhanced Descriptor configurations.
  11. 1. CONFIG_DW_AUTONEG
  12. Define this to autonegotiate with the host before proceeding with mac
  13. level configuration. This obviates the definitions of CONFIG_DW_SPEED10M
  14. and CONFIG_DW_DUPLEXHALF.
  15. 2. CONFIG_DW_SPEED10M
  16. Define this to change the default behavior from 100Mbps to 10Mbps.
  17. 3. CONFIG_DW_DUPLEXHALF
  18. Define this to change the default behavior from Full Duplex to Half.
  19. 4. CONFIG_DW_SEARCH_PHY
  20. Define this to search the phy address. This would overwrite the value
  21. passed as 3rd arg from designware_initialize routine.