Skip to content

RFC Add SGMII port support to KSZ9477 switch

[email protected] lkml netdev 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 RFC Latest2 patches 0 repliesNew
  2. v2 RFC3 patches 3 repliesSuperseded
  3. v1 RFC2 patches 37 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: pcs: xpcs: Activate DW_XPCS_SGMII_MODE_MAC_MANUAL for KSZ9477drivers/net/pcs/pcs-xpcs.c include/linux/pcs/pcs-xpcs.h+3 -00 replies
2/2net: dsa: microchip: Add SGMII port support to KSZ9477 switchdrivers/net/dsa/microchip/Kconfig drivers/net/dsa/microchip/ksz9477.c drivers/net/dsa/microchip/ksz9477.h +2 more+154 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH RFC net-next v3 0/2] Add SGMII port support to KSZ9477 switch

From: Tristram Ha <[email protected]>

The KSZ9477 switch DSA driver uses XPCS driver to operate its SGMII port. After the previous XPCS driver updates are added the XPCS patch can be used to activate DW_XPCS_SGMII_MODE_MAC_MANUAL for KSZ9477.

The KSZ9477 driver will generate a special value for PMA device ids to activate the new code.

This will require the previous 4 patches from Russell King about "net: xpcs: cleanups and partial support for KSZ9477."

Tristram Ha (2):
net: pcs: xpcs: Activate DW_XPCS_SGMII_MODE_MAC_MANUAL for KSZ9477
net: dsa: microchip: Add SGMII port support to KSZ9477 switch

 drivers/net/dsa/microchip/Kconfig      |  1 +
 drivers/net/dsa/microchip/ksz9477.c    | 98 +++++++++++++++++++++++++-
 drivers/net/dsa/microchip/ksz9477.h    |  4 +-
 drivers/net/dsa/microchip/ksz_common.c | 36 ++++++++--
 drivers/net/dsa/microchip/ksz_common.h | 22 +++++-
 drivers/net/pcs/pcs-xpcs.c             |  2 +
 include/linux/pcs/pcs-xpcs.h           |  1 +
 7 files changed, 157 insertions(+), 7 deletions(-)
Signature · 1 line
2.34.1