diff options
author | wdenk <wdenk> | 2003-06-05 19:37:36 (GMT) |
---|---|---|
committer | wdenk <wdenk> | 2003-06-05 19:37:36 (GMT) |
commit | a3ed3996cdb9fca78329f6aca62d235263b7da90 (patch) | |
tree | f79f0759e5b917f788f00aef2d7b077941aef9cd /net | |
parent | 73a8b27c574f5ec1c8fdd9d8d065bb845d8743d3 (diff) | |
download | u-boot-a3ed3996cdb9fca78329f6aca62d235263b7da90.tar.xz |
* Patch by Vladimir Gurevich, 04 Jun 2003:
make ppc405 ethernet driver compatible with CONFIG_NET_MULTI option
Diffstat (limited to 'net')
-rw-r--r-- | net/eth.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |