diff options
author | Jiawen Wu <jiawenwu@trustnetic.com> | 2023-06-06 17:21:00 +0800 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-06-08 13:25:10 +0200 |
commit | c3e382ad6d15a8041ab8a168ad3ff90137ee8a45 (patch) | |
tree | 737bb75413bfdb81de17a0f86cff396b0a94f4ef /drivers/net/ethernet/wangxun/libwx | |
parent | 4a56212774acf71a7356026fb11b78228a7ad24d (diff) | |
download | linux-stable-c3e382ad6d15a8041ab8a168ad3ff90137ee8a45.tar.gz linux-stable-c3e382ad6d15a8041ab8a168ad3ff90137ee8a45.tar.bz2 linux-stable-c3e382ad6d15a8041ab8a168ad3ff90137ee8a45.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/wangxun/libwx')
-rw-r--r-- | drivers/net/ethernet/wangxun/libwx/wx_type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/wangxun/libwx/wx_type.h b/drivers/net/ethernet/wangxun/libwx/wx_type.h index 5063846e1b52..c61c18a842c4 100644 --- a/drivers/net/ethernet/wangxun/libwx/wx_type.h +++ b/drivers/net/ethernet/wangxun/libwx/wx_type.h @@ -814,6 +814,7 @@ enum wx_isb_idx { struct wx { unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; + void *priv; u8 __iomem *hw_addr; struct pci_dev *pdev; struct net_device *netdev; |