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>
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 @@
/* 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 @@
{
int num = 0;
+#ifdef CONFIG_TULIP
+ num += dc21x4x_initialize(bis);
+#endif
#ifdef CONFIG_E1000
num += e1000_initialize(bis);
#endif