mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
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>
This commit is contained in:
parent
3ae071e442
commit
02d69891d9
5 changed files with 17 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue