aboutsummaryrefslogtreecommitdiff
path: root/net/eth.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-06-05 19:37:36 +0000
committerwdenk <wdenk>2003-06-05 19:37:36 +0000
commita3ed3996cdb9fca78329f6aca62d235263b7da90 (patch)
treef79f0759e5b917f788f00aef2d7b077941aef9cd /net/eth.c
parent73a8b27c574f5ec1c8fdd9d8d065bb845d8743d3 (diff)
downloadu-boot-linaro-stable-a3ed3996cdb9fca78329f6aca62d235263b7da90.tar.gz
* Patch by Vladimir Gurevich, 04 Jun 2003:LABEL_2003_06_05_2140
make ppc405 ethernet driver compatible with CONFIG_NET_MULTI option
Diffstat (limited to 'net/eth.c')
-rw-r--r--net/eth.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/eth.c b/net/eth.c
index 22d33da6d..7faa1f697 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -41,6 +41,7 @@ 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*);
static struct eth_device *eth_devices, *eth_current;
@@ -98,6 +99,9 @@ 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