netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/8] support more link mode for TXGBE
@ 2023-08-23  6:19 Jiawen Wu
  2023-08-23  6:19 ` [PATCH net-next v3 1/8] net: pcs: xpcs: add specific vendor supoprt for Wangxun 10Gb NICs Jiawen Wu
                   ` (8 more replies)
  0 siblings, 9 replies; 14+ messages in thread
From: Jiawen Wu @ 2023-08-23  6:19 UTC (permalink / raw)
  To: netdev, davem, edumazet, kuba, pabeni, andrew, hkallweit1, linux,
	Jose.Abreu, rmk+kernel
  Cc: mengyuanlou, Jiawen Wu

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. 

v2 -> v3:
- add device identifier read
- restrict pcs soft reset
- add firmware version warning

v1 -> v2:
- use the string "txgbe_pcs_mdio_bus" directly
- use dev_err() instead of pr_err()
- add device quirk flag
- add more macro definitions to explain PMA registers
- move txgbe_enable_sec_tx_path() to mac_finish()
- implement phylink for copper NICs

Jiawen Wu (8):
  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: add FW version warning
  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 libwx

 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 --
 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   |  56 ++++-
 .../net/ethernet/wangxun/txgbe/txgbe_phy.c    | 176 ++++++++++++++-
 drivers/net/pcs/Makefile                      |   2 +-
 drivers/net/pcs/pcs-xpcs-wx.c                 | 209 ++++++++++++++++++
 drivers/net/pcs/pcs-xpcs.c                    | 112 +++++++++-
 drivers/net/pcs/pcs-xpcs.h                    |  17 ++
 include/linux/pcs/pcs-xpcs.h                  |   8 +
 14 files changed, 661 insertions(+), 95 deletions(-)
 create mode 100644 drivers/net/pcs/pcs-xpcs-wx.c

-- 
2.27.0


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-08-25  7:49 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-23  6:19 [PATCH net-next v3 0/8] support more link mode for TXGBE Jiawen Wu
2023-08-23  6:19 ` [PATCH net-next v3 1/8] net: pcs: xpcs: add specific vendor supoprt for Wangxun 10Gb NICs Jiawen Wu
2023-08-23  6:19 ` [PATCH net-next v3 2/8] net: pcs: xpcs: support to switch mode for Wangxun NICs Jiawen Wu
2023-08-23  6:19 ` [PATCH net-next v3 3/8] net: pcs: xpcs: add 1000BASE-X AN interrupt support Jiawen Wu
2023-08-23  6:19 ` [PATCH net-next v3 4/8] net: pcs: xpcs: adapt Wangxun NICs for SGMII mode Jiawen Wu
2023-08-23  6:19 ` [PATCH net-next v3 5/8] net: txgbe: add FW version warning Jiawen Wu
2023-08-23  6:19 ` [PATCH net-next v3 6/8] net: txgbe: support switching mode to 1000BASE-X and SGMII Jiawen Wu
2023-08-23  6:19 ` [PATCH net-next v3 7/8] net: txgbe: support copper NIC with external PHY Jiawen Wu
2023-08-23 15:35   ` Andrew Lunn
2023-08-24  2:00     ` Jiawen Wu
2023-08-24 13:02       ` Andrew Lunn
2023-08-25  7:46         ` Jiawen Wu
2023-08-23  6:19 ` [PATCH net-next v3 8/8] net: ngbe: move mdio access registers to libwx Jiawen Wu
2023-08-25  6:50 ` [PATCH net-next v3 0/8] support more link mode for TXGBE patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).