diff options
author | Ben Warren <biggerbadderben@gmail.com> | 2008-08-31 09:49:42 -0700 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2008-09-02 21:18:16 -0700 |
commit | 02d69891d95ee76b0e86e1715a4dc0b964a57cb7 (patch) | |
tree | 14b2acc0eff565edead777387677937f4214af68 /include/netdev.h | |
parent | 3ae071e44256144d6c1e3febb65f6c56bd433769 (diff) | |
download | bootable_bootloader_goldelico_gta04-02d69891d95ee76b0e86e1715a4dc0b964a57cb7.zip bootable_bootloader_goldelico_gta04-02d69891d95ee76b0e86e1715a4dc0b964a57cb7.tar.gz bootable_bootloader_goldelico_gta04-02d69891d95ee76b0e86e1715a4dc0b964a57cb7.tar.bz2 |
Moved initialization of RTL8169 Ethernet controller to board_eth_init()
Affected boards:
linkstation
r7780mp
Removed initialization of the driver from net/eth.c
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'include/netdev.h')
-rw-r--r-- | include/netdev.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/netdev.h b/include/netdev.h index 3ec9212..954de39 100644 --- a/include/netdev.h +++ b/include/netdev.h @@ -46,6 +46,7 @@ int greth_initialize(bd_t *bis); int macb_eth_initialize(int id, void *regs, unsigned int phy_addr); int mcdmafec_initialize(bd_t *bis); int mcffec_initialize(bd_t *bis); +int rtl8169_initialize(bd_t *bis); int skge_initialize(bd_t *bis); int uli526x_initialize(bd_t *bis); @@ -56,6 +57,9 @@ int uli526x_initialize(bd_t *bis); static inline int pci_eth_init(bd_t *bis) { int num = 0; +#if defined(CONFIG_RTL8169) + num += rtl8169_initialize(bis); +#endif #if defined(CONFIG_ULI526) num += uli526x_initialize(bis); #endif |