net/ngbe: identify and reset PHY
authorJiawen Wu <jiawenwu@trustnetic.com>
Thu, 8 Jul 2021 09:32:28 +0000 (17:32 +0800)
committerAndrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru>
Mon, 12 Jul 2021 15:55:21 +0000 (17:55 +0200)
commit44e97550ca68785ee3a5af9dbc11c2a932a6e777
tree66ac3dfa66b0526968d54fb7935afd6cf22eb4cd
parent78710873c2f376d69c5078e0fd07159e0444efc5
net/ngbe: identify and reset PHY

Identify PHY to get the PHY type, and perform a PHY reset.

Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
13 files changed:
drivers/net/ngbe/base/meson.build
drivers/net/ngbe/base/ngbe_dummy.h
drivers/net/ngbe/base/ngbe_hw.c
drivers/net/ngbe/base/ngbe_hw.h
drivers/net/ngbe/base/ngbe_phy.c [new file with mode: 0644]
drivers/net/ngbe/base/ngbe_phy.h [new file with mode: 0644]
drivers/net/ngbe/base/ngbe_phy_mvl.c [new file with mode: 0644]
drivers/net/ngbe/base/ngbe_phy_mvl.h [new file with mode: 0644]
drivers/net/ngbe/base/ngbe_phy_rtl.c [new file with mode: 0644]
drivers/net/ngbe/base/ngbe_phy_rtl.h [new file with mode: 0644]
drivers/net/ngbe/base/ngbe_phy_yt.c [new file with mode: 0644]
drivers/net/ngbe/base/ngbe_phy_yt.h [new file with mode: 0644]
drivers/net/ngbe/base/ngbe_type.h