]> 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)
commitd61539d052116c54da6aa555d57657bea0b8fc11
treef37d7afea449a257511dee47bad0bd8b5a43496d
parent31775f5f6ab942fa7546fd6c93dc0d0d86001077
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