summaryrefslogtreecommitdiff
path: root/include/netdev.h
diff options
context:
space:
mode:
authorBen Warren <biggerbadderben@gmail.com>2008-08-31 10:45:44 -0700
committerBen Warren <biggerbadderben@gmail.com>2008-09-02 21:18:18 -0700
commit8ca0b3f99c4fce7a599dcaf92ae095496dc8c8e0 (patch)
treeba9fe46a4ee78f693f456bef7d8aa93662b09886 /include/netdev.h
parentad3381cf4167120db5c7b88e4970245e1d5c0a32 (diff)
downloadu-boot-imx-8ca0b3f99c4fce7a599dcaf92ae095496dc8c8e0.zip
u-boot-imx-8ca0b3f99c4fce7a599dcaf92ae095496dc8c8e0.tar.gz
u-boot-imx-8ca0b3f99c4fce7a599dcaf92ae095496dc8c8e0.tar.bz2
Moved initialization of TULIP Ethernet controller to board_eth_init()
Affected boards: cu824 bab7xx adciop dasa_sim mousse mpc8540eval musenki mvblue pcippc2/pcippc6 sbc8240 stxssa 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/netdev.h b/include/netdev.h
index fa4d92d..d8d1209 100644
--- a/include/netdev.h
+++ b/include/netdev.h
@@ -42,6 +42,7 @@ int cpu_eth_init(bd_t *bis);
/* Driver initialization prototypes */
int bfin_EMAC_initialize(bd_t *bis);
+int dc21x4x_initialize(bd_t *bis);
int e1000_initialize(bd_t *bis);
int eth_3com_initialize (bd_t * bis);
int greth_initialize(bd_t *bis);
@@ -70,6 +71,9 @@ static inline int pci_eth_init(bd_t *bis)
{
int num = 0;
+#ifdef CONFIG_TULIP
+ num += dc21x4x_initialize(bis);
+#endif
#ifdef CONFIG_E1000
num += e1000_initialize(bis);
#endif