blob: 25ec6bd9699c6309db9c0ffef72014d541fe503b [file] [log] [blame]
Vipin KUMAR1f873122010-06-29 10:53:34 +05301This driver supports Designware Ethernet Controller provided by Synopsis.
2
3The driver is enabled by CONFIG_DESIGNWARE_ETH.
4
5The driver has been developed and tested on SPEAr platforms. By default, the
6MDIO interface works at 100/Full. #defining the below options in board
7configuration file changes this behavior.
8
9Call an subroutine from respective board/.../board.c
10designware_initialize(u32 id, ulong base_addr, u32 phy_addr);
11
12The various options suported by the driver are
131. CONFIG_DW_ALTDESCRIPTOR
14 Define this to use the Alternate/Enhanced Descriptor configurations.
151. CONFIG_DW_AUTONEG
16 Define this to autonegotiate with the host before proceeding with mac
17 level configuration. This obviates the definitions of CONFIG_DW_SPEED10M
18 and CONFIG_DW_DUPLEXHALF.
192. CONFIG_DW_SPEED10M
20 Define this to change the default behavior from 100Mbps to 10Mbps.
213. CONFIG_DW_DUPLEXHALF
22 Define this to change the default behavior from Full Duplex to Half.
234. CONFIG_DW_SEARCH_PHY
24 Define this to search the phy address. This would overwrite the value
25 passed as 3rd arg from designware_initialize routine.