From a3ed3996cdb9fca78329f6aca62d235263b7da90 Mon Sep 17 00:00:00 2001 From: wdenk Date: Thu, 5 Jun 2003 19:37:36 +0000 Subject: * Patch by Vladimir Gurevich, 04 Jun 2003: make ppc405 ethernet driver compatible with CONFIG_NET_MULTI option --- net/eth.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'net') 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 -- cgit v1.2.3