OSDN Git Service

net: dsa: microchip: add KSZ9893 switch support
authorTristram Ha <Tristram.Ha@microchip.com>
Fri, 1 Mar 2019 03:57:24 +0000 (19:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Mar 2019 21:48:49 +0000 (13:48 -0800)
commit8c29bebb1f8a68556db70088fd8f5938527a7346
treeb43e6d6876f27e264c557266bbeb809780ad8b44
parent88b573af91dafd60ba35b2dc6af3f9d8d7168146
net: dsa: microchip: add KSZ9893 switch support

Add KSZ9893 switch support in KSZ9477 driver.  This switch is similar to
KSZ9477 except the ingress tail tag has 1 byte instead of 2 bytes, so
KSZ9893 tagging will be used.

The XMII register that governs how the host port communicates with the
MAC also has different register definitions.

Signed-off-by: Tristram Ha <Tristram.Ha@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/microchip/ksz9477.c
drivers/net/dsa/microchip/ksz9477_spi.c
drivers/net/dsa/microchip/ksz_common.c