]> git.sur5r.net Git - u-boot/blobdiff - net/eth.c
* Add support for SK98xx driver
[u-boot] / net / eth.c
index cb394337c8ce11de2a1aa9b2d32ed7238ef6d5fb..0607d028ae030ef373ca53b6c7de8467705c3460 100644 (file)
--- a/net/eth.c
+++ b/net/eth.c
@@ -31,6 +31,7 @@
 extern int gt6426x_eth_initialize(bd_t *bis);
 #endif
 
+extern int e1000_initialize(bd_t*);
 extern int eepro100_initialize(bd_t*);
 extern int natsemi_initialize(bd_t*);
 extern int ns8382x_initialize(bd_t*);
@@ -39,6 +40,11 @@ extern int eth_3com_initialize(bd_t*);
 extern int pcnet_initialize(bd_t*);
 extern int fec_initialize(bd_t*);
 extern int scc_initialize(bd_t*);
+extern int inca_switch_initialize(bd_t*);
+extern int ppc_4xx_eth_initialize(bd_t *);
+extern int plb2800_eth_initialize(bd_t*);
+extern int mpc5xxx_fec_initialize(bd_t*);
+extern int skge_initialize(bd_t*);
 
 static struct eth_device *eth_devices, *eth_current;
 
@@ -95,6 +101,18 @@ int eth_initialize(bd_t *bis)
        eth_devices = NULL;
        eth_current = NULL;
 
+#if defined(CONFIG_405GP) || defined(CONFIG_440) || defined(CONFIG_405EP)
+       ppc_4xx_eth_initialize(bis);
+#endif
+#ifdef CONFIG_INCA_IP_SWITCH
+       inca_switch_initialize(bis);
+#endif
+#ifdef CONFIG_PLB2800_ETHER
+       plb2800_eth_initialize(bis);
+#endif
+#ifdef CONFIG_E1000
+       e1000_initialize(bis);
+#endif
 #ifdef CONFIG_EEPRO100
        eepro100_initialize(bis);
 #endif
@@ -119,9 +137,15 @@ int eth_initialize(bd_t *bis)
 #ifdef SCC_ENET
        scc_initialize(bis);
 #endif
-#ifdef FEC_ENET
+#if defined(FEC_ENET) || defined(CONFIG_ETHER_ON_FCC)
        fec_initialize(bis);
 #endif
+#if defined(CONFIG_MPC5XXX_FEC)
+       mpc5xxx_fec_initialize(bis);
+#endif
+#if defined(CONFIG_SK98)
+       skge_initialize(bis);
+#endif
 
        if (!eth_devices) {
                puts ("No ethernet found.\n");
@@ -153,7 +177,7 @@ int eth_initialize(bd_t *bis)
                                if (memcmp(dev->enetaddr, "\0\0\0\0\0\0", 6) &&
                                    memcmp(dev->enetaddr, env_enetaddr, 6))
                                {
-                                       printf("\nWarning: %s HW address don't match:\n", dev->name);
+                                       printf("\nWarning: %s MAC addresses don't match:\n", dev->name);
                                        printf("Address in SROM is         "
                                               "%02X:%02X:%02X:%02X:%02X:%02X\n",
                                               dev->enetaddr[0], dev->enetaddr[1],