diff options
author | Ben Warren <biggerbadderben@gmail.com> | 2008-08-31 10:08:43 -0700 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2008-09-02 21:18:17 -0700 |
commit | e3090534d62045dcb73f5392bacc64a4e8e443dc (patch) | |
tree | 56082e3d3df96e5a1b6ce55304a29b5da40edeb5 /include/netdev.h | |
parent | b902b8dda5e1fd4d5fe2f202c71ee3521d2c40ed (diff) | |
download | u-boot-imx-e3090534d62045dcb73f5392bacc64a4e8e443dc.zip u-boot-imx-e3090534d62045dcb73f5392bacc64a4e8e443dc.tar.gz u-boot-imx-e3090534d62045dcb73f5392bacc64a4e8e443dc.tar.bz2 |
Moved initialization of PCNET Ethernet controller to board_eth_init()
Affected boards:
PN62
sc520_cdp
Removed initialization of the driver from net/eth.c
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'include/netdev.h')
-rw-r--r-- | include/netdev.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/netdev.h b/include/netdev.h index c5b0815..b1dadd8 100644 --- a/include/netdev.h +++ b/include/netdev.h @@ -48,6 +48,7 @@ int mcdmafec_initialize(bd_t *bis); int mcffec_initialize(bd_t *bis); int natsemi_initialize(bd_t *bis); int ns8382x_initialize(bd_t *bis); +int pcnet_initialize(bd_t *bis); int rtl8139_initialize(bd_t *bis); int rtl8169_initialize(bd_t *bis); int skge_initialize(bd_t *bis); @@ -61,6 +62,10 @@ int uli526x_initialize(bd_t *bis); static inline int pci_eth_init(bd_t *bis) { int num = 0; + +#ifdef CONFIG_PCNET + num += pcnet_initialize(bis); +#endif #ifdef CONFIG_NATSEMI num += natsemi_initialize(bis); #endif |