mbox series

[net-next,0/7] support more link mode for TXGBE

Message ID 20230724102341.10401-1-jiawenwu@trustnetic.com (mailing list archive)
Headers show
Series support more link mode for TXGBE | expand

Message

Jiawen Wu July 24, 2023, 10:23 a.m. UTC
There are three new interface mode support for Wangxun 10Gb NICs:
1000BASE-X, SGMII and XAUI.

Specific configurations are added to XPCS. And external PHY attaching
is added for copper NICs. 

Jiawen Wu (7):
  net: pcs: xpcs: add specific vendor supoprt for Wangxun 10Gb NICs
  net: pcs: xpcs: support to switch mode for Wangxun NICs
  net: pcs: xpcs: add 1000BASE-X AN interrupt support
  net: pcs: xpcs: adapt Wangxun NICs for SGMII mode
  net: txgbe: support switching mode to 1000BASE-X and SGMII
  net: txgbe: support copper NIC with external PHY
  net: ngbe: move mdio access registers to wxlib

 MAINTAINERS                                   |   1 +
 drivers/net/ethernet/wangxun/Kconfig          |   1 +
 drivers/net/ethernet/wangxun/libwx/wx_type.h  |  28 +++
 drivers/net/ethernet/wangxun/ngbe/ngbe_mdio.c |  84 ++++----
 drivers/net/ethernet/wangxun/ngbe/ngbe_type.h |  19 --
 .../ethernet/wangxun/txgbe/txgbe_ethtool.c    |   9 +
 drivers/net/ethernet/wangxun/txgbe/txgbe_hw.c |  41 +++-
 drivers/net/ethernet/wangxun/txgbe/txgbe_hw.h |   2 +
 .../net/ethernet/wangxun/txgbe/txgbe_main.c   |  83 ++++++--
 .../net/ethernet/wangxun/txgbe/txgbe_phy.c    | 191 +++++++++++++++++-
 drivers/net/pcs/Makefile                      |   2 +-
 drivers/net/pcs/pcs-xpcs-wx.c                 | 190 +++++++++++++++++
 drivers/net/pcs/pcs-xpcs.c                    |  85 +++++++-
 drivers/net/pcs/pcs-xpcs.h                    |  16 ++
 include/linux/pcs/pcs-xpcs.h                  |   3 +
 15 files changed, 662 insertions(+), 93 deletions(-)
 create mode 100644 drivers/net/pcs/pcs-xpcs-wx.c