diff options
author | Ben Warren <biggerbadderben@gmail.com> | 2008-08-31 16:49:42 (GMT) |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2008-09-03 04:18:16 (GMT) |
commit | 02d69891d95ee76b0e86e1715a4dc0b964a57cb7 (patch) | |
tree | 14b2acc0eff565edead777387677937f4214af68 /board/r7780mp/r7780mp.c | |
parent | 3ae071e44256144d6c1e3febb65f6c56bd433769 (diff) | |
download | u-boot-02d69891d95ee76b0e86e1715a4dc0b964a57cb7.tar.xz |
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 'board/r7780mp/r7780mp.c')
-rw-r--r-- | board/r7780mp/r7780mp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/board/r7780mp/r7780mp.c b/board/r7780mp/r7780mp.c index 19c35d3..efbeec9 100644 --- a/board/r7780mp/r7780mp.c +++ b/board/r7780mp/r7780mp.c @@ -23,6 +23,7 @@ #include <asm/processor.h> #include <asm/io.h> #include <asm/pci.h> +#include <netdev.h> #include "r7780mp.h" int checkboard(void) @@ -77,3 +78,8 @@ void pci_init_board(void) { pci_sh7780_init(&hose); } + +int board_eth_init(bd_t *bis) +{ + return pci_eth_init(bis); +} |