Skip to content

Commit 2e51a8d

Browse files
Russell Kingdavem330
authored andcommitted
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 <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 6e26661 commit 2e51a8d

File tree

1 file changed

+1
-0
lines changed
  • drivers/net/dsa/mv88e6xxx

1 file changed

+1
-0
lines changed

drivers/net/dsa/mv88e6xxx/port.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ int mv88e6390x_port_set_cmode(struct mv88e6xxx_chip *chip, int port,
338338
cmode = MV88E6XXX_PORT_STS_CMODE_2500BASEX;
339339
break;
340340
case PHY_INTERFACE_MODE_XGMII:
341+
case PHY_INTERFACE_MODE_XAUI:
341342
cmode = MV88E6XXX_PORT_STS_CMODE_XAUI;
342343
break;
343344
case PHY_INTERFACE_MODE_RXAUI:

0 commit comments

Comments
 (0)