diff options
author | Ben Warren <biggerbadderben@gmail.com> | 2008-08-31 21:41:08 -0700 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2008-09-02 21:18:16 -0700 |
commit | 0b252f50ae218ae15bfb63af44227972686ebc56 (patch) | |
tree | 98e5a13a7c1574f7fa1061fa9dc97293d7e014a3 /board/hidden_dragon | |
parent | 02d69891d95ee76b0e86e1715a4dc0b964a57cb7 (diff) |
Moved initialization of RTL8139 Ethernet controller to board_eth_init()
Affected boards:
hidden_dragon
MPC8544DS
MPC8610HPCN
R2DPLUS
TB0229
Removed initialization of the driver from net/eth.c
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'board/hidden_dragon')
-rw-r--r-- | board/hidden_dragon/hidden_dragon.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/board/hidden_dragon/hidden_dragon.c b/board/hidden_dragon/hidden_dragon.c index 5713a3384fe..2d7a7870e52 100644 --- a/board/hidden_dragon/hidden_dragon.c +++ b/board/hidden_dragon/hidden_dragon.c @@ -27,6 +27,7 @@ #include <common.h> #include <mpc824x.h> #include <pci.h> +#include <netdev.h> int checkboard (void) { @@ -93,3 +94,8 @@ void pci_init_board(void) { pci_mpc824x_init(&hose); } + +int board_eth_init(bd_t *bis) +{ + return pci_eth_init(bis); +} |