summaryrefslogtreecommitdiff
path: root/net/eth.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-01-03 00:43:19 +0000
committerwdenk <wdenk>2004-01-03 00:43:19 +0000
commit3a473b2a6523db9cdf2b5aed22d9730b4ebc5693 (patch)
tree40da84736871e773141ea971d832bf0c908d59b7 /net/eth.c
parentb6e4c4033c4f889c452c511d38c77808c67f9cf7 (diff)
* Patch by Ronen Shitrit, 10 Dec 2003:
Add support for the Marvell DB64360 / DB64460 development boards * Patch by Detlev Zundel, 10 Dec 2003: fix dependency problem in examples/Makefile
Diffstat (limited to 'net/eth.c')
-rw-r--r--net/eth.c26
1 files changed, 17 insertions, 9 deletions
diff --git a/net/eth.c b/net/eth.c
index e60098f5d04..32051a12020 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -31,23 +31,25 @@
extern int gt6426x_eth_initialize(bd_t *bis);
#endif
+extern int au1x00_enet_initialize(bd_t*);
+extern int dc21x4x_initialize(bd_t*);
extern int e1000_initialize(bd_t*);
extern int eepro100_initialize(bd_t*);
-extern int natsemi_initialize(bd_t*);
-extern int ns8382x_initialize(bd_t*);
-extern int dc21x4x_initialize(bd_t*);
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 mv6436x_eth_initialize(bd_t *);
+extern int mv6446x_eth_initialize(bd_t *);
+extern int natsemi_initialize(bd_t*);
+extern int ns8382x_initialize(bd_t*);
+extern int pcnet_initialize(bd_t*);
+extern int plb2800_eth_initialize(bd_t*);
+extern int ppc_4xx_eth_initialize(bd_t *);
+extern int rtl8139_initialize(bd_t*);
+extern int scc_initialize(bd_t*);
extern int skge_initialize(bd_t*);
extern int tsec_initialize(bd_t*);
-extern int au1x00_enet_initialize(bd_t*);
-extern int rtl8139_initialize(bd_t*);
static struct eth_device *eth_devices, *eth_current;
@@ -104,6 +106,12 @@ int eth_initialize(bd_t *bis)
eth_devices = NULL;
eth_current = NULL;
+#ifdef CONFIG_DB64360
+ mv6436x_eth_initialize(bis);
+#endif
+#ifdef CONFIG_DB64460
+ mv6446x_eth_initialize(bis);
+#endif
#if defined(CONFIG_405GP) || defined(CONFIG_440) || defined(CONFIG_405EP)
ppc_4xx_eth_initialize(bis);
#endif