]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd2ac96f5b95b804c541930bc0dcf4c99d5e0d8db
treef37d7afea449a257511dee47bad0bd8b5a43496d
parente9ee6ed555fdcae957916d0d30292de8928adf79
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