mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
net: pch_gbe: Convert to driver model
This commit converts pch_gbe ethernet driver to driver model. Since this driver is only used by Intel Crown Bay board, the conversion does not keep the non-dm version. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
868767c71a
commit
ca19a79342
3 changed files with 73 additions and 66 deletions
|
@ -70,7 +70,6 @@ int natsemi_initialize(bd_t *bis);
|
|||
int ne2k_register(void);
|
||||
int npe_initialize(bd_t *bis);
|
||||
int ns8382x_initialize(bd_t *bis);
|
||||
int pch_gbe_register(bd_t *bis);
|
||||
int pcnet_initialize(bd_t *bis);
|
||||
int ppc_4xx_eth_initialize (bd_t *bis);
|
||||
int rtl8139_initialize(bd_t *bis);
|
||||
|
@ -123,9 +122,6 @@ static inline int pci_eth_init(bd_t *bis)
|
|||
#ifdef CONFIG_E1000
|
||||
num += e1000_initialize(bis);
|
||||
#endif
|
||||
#ifdef CONFIG_PCH_GBE
|
||||
num += pch_gbe_register(bis);
|
||||
#endif
|
||||
#ifdef CONFIG_PCNET
|
||||
num += pcnet_initialize(bis);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue