diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-12-12 09:29:46 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-13 14:59:15 -0500 |
commit | 2e51a8dc7fdc9d06c52a0a0e442cc813357ea44d (patch) | |
tree | f37d7afea449a257511dee47bad0bd8b5a43496d /drivers/net/dsa/mv88e6xxx | |
parent | 6e266610eb6553cfb7e7eb5d11914bd01509c406 (diff) | |
download | op-kernel-dev-2e51a8dc7fdc9d06c52a0a0e442cc813357ea44d.zip op-kernel-dev-2e51a8dc7fdc9d06c52a0a0e442cc813357ea44d.tar.gz |
net: dsa: allow XAUI phy interface mode
XGMII is a 32-bit bus plus two clock signals per direction. XAUI is
four serial lanes per direction. The 88e6190 supports XAUI but not
XGMII as it doesn't have enough pins. The same is true of 88e6176.
Match on PHY_INTERFACE_MODE_XAUI for the XAUI port type, but keep
accepting XGMII for backwards compatibility.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx')
-rw-r--r-- | drivers/net/dsa/mv88e6xxx/port.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/port.c b/drivers/net/dsa/mv88e6xxx/port.c index a7801f6..6315774 100644 --- a/drivers/net/dsa/mv88e6xxx/port.c +++ b/drivers/net/dsa/mv88e6xxx/port.c @@ -338,6 +338,7 @@ int mv88e6390x_port_set_cmode(struct mv88e6xxx_chip *chip, int port, cmode = MV88E6XXX_PORT_STS_CMODE_2500BASEX; break; case PHY_INTERFACE_MODE_XGMII: + case PHY_INTERFACE_MODE_XAUI: cmode = MV88E6XXX_PORT_STS_CMODE_XAUI; break; case PHY_INTERFACE_MODE_RXAUI: |