net/txgbe: add PHY reset
authorJiawen Wu <jiawenwu@trustnetic.com>
Mon, 19 Oct 2020 08:53:28 +0000 (16:53 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:24:26 +0000 (23:24 +0100)
commit158e1a0120c9b542583dede51db39ea5c5502de1
tree8cdfcd873a0402f062836824a12bd6fad39dfb68
parent8f09fb4642fa9a46fb3b341173284652edce393e
net/txgbe: add PHY reset

Add phy reset function, support read and write phy registers.

Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/txgbe/base/txgbe_hw.c
drivers/net/txgbe/base/txgbe_phy.c
drivers/net/txgbe/base/txgbe_phy.h