net: txgbe: Add software nodes to support phylink
authorJiawen Wu <jiawenwu@trustnetic.com>
Tue, 6 Jun 2023 09:21:00 +0000 (17:21 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 8 Jun 2023 11:25:10 +0000 (13:25 +0200)
commitc3e382ad6d15a8041ab8a168ad3ff90137ee8a45
tree737bb75413bfdb81de17a0f86cff396b0a94f4ef
parent4a56212774acf71a7356026fb11b78228a7ad24d
net: txgbe: Add software nodes to support phylink

Register software nodes for GPIO, I2C, SFP and PHYLINK. Define the
device properties.

Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Piotr Raczynski <piotr.raczynski@intel.com>
Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/wangxun/libwx/wx_type.h
drivers/net/ethernet/wangxun/txgbe/Makefile
drivers/net/ethernet/wangxun/txgbe/txgbe_main.c
drivers/net/ethernet/wangxun/txgbe/txgbe_phy.c [new file with mode: 0644]
drivers/net/ethernet/wangxun/txgbe/txgbe_phy.h [new file with mode: 0644]
drivers/net/ethernet/wangxun/txgbe/txgbe_type.h