net: dsa: allow XAUI phy interface mode
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 12 Dec 2017 09:29:46 +0000 (09:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Dec 2017 19:59:15 +0000 (14:59 -0500)
commit2e51a8dc7fdc9d06c52a0a0e442cc813357ea44d
treef37d7afea449a257511dee47bad0bd8b5a43496d
parent6e266610eb6553cfb7e7eb5d11914bd01509c406
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>
drivers/net/dsa/mv88e6xxx/port.c