net: ngbe: Initialize sw info and register netdev
authorMengyuan Lou <mengyuanlou@net-swift.com>
Mon, 31 Oct 2022 07:07:57 +0000 (15:07 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Nov 2022 12:31:23 +0000 (12:31 +0000)
commit02338c484ab6250b81f0266ffb40d53c3efe0f47
tree7f3f4274eb8031ff57138cdbe18be97209780809
parent049fe5365324c879f26842d44291a5042bbd6cbc
net: ngbe: Initialize sw info and register netdev

Initialize ngbe mac/phy type.
Check whether the firmware is initialized.
Initialize ngbe hw and register netdev.

Signed-off-by: Mengyuan Lou <mengyuanlou@net-swift.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/wangxun/Kconfig
drivers/net/ethernet/wangxun/libwx/wx_hw.c
drivers/net/ethernet/wangxun/libwx/wx_hw.h
drivers/net/ethernet/wangxun/libwx/wx_type.h
drivers/net/ethernet/wangxun/ngbe/Makefile
drivers/net/ethernet/wangxun/ngbe/ngbe.h
drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c [new file with mode: 0644]
drivers/net/ethernet/wangxun/ngbe/ngbe_hw.h [new file with mode: 0644]
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c
drivers/net/ethernet/wangxun/ngbe/ngbe_type.h