[net-next,0/3] net: dsa: microchip: add KSZ9893 switch support
mbox series

Message ID 1551224265-9304-1-git-send-email-Tristram.Ha@microchip.com
Headers show
Series
  • net: dsa: microchip: add KSZ9893 switch support
Related show

Message

Tristram.Ha@microchip.com Feb. 26, 2019, 11:37 p.m. UTC
From: Tristram Ha <Tristram.Ha@microchip.com>

This series of patches is to modify the KSZ9477 DSA driver to support
running KSZ9893 and other switches in the KSZ9477 family.

The KSZ9893 switch is similar to KSZ9477 except the ingress tail tag has
1 byte instead of 2 bytes.  The XMII register that governs the MAC
communication also has different register definitions.

Tristram Ha (3):
  dt-bindings: net: dsa: document additional Microchip KSZ9477 family
    switches
  net: dsa: microchip: add KSZ9893 switch support
  net: dsa: microchip: add other KSZ9477 switch variants

 Documentation/devicetree/bindings/net/dsa/ksz.txt |  43 +++
 drivers/net/dsa/microchip/ksz9477.c               | 337 +++++++++++++++++++++-
 drivers/net/dsa/microchip/ksz9477_spi.c           |   7 +-
 drivers/net/dsa/microchip/ksz_common.c            |   8 +-
 include/net/dsa.h                                 |   1 +
 net/dsa/dsa.c                                     |   2 +
 net/dsa/dsa_priv.h                                |   1 +
 net/dsa/tag_ksz.c                                 |  34 +++
 8 files changed, 415 insertions(+), 18 deletions(-)