]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: Differentiate between 6390 and 6390X cmodes
authorAndrew Lunn <andrew@lunn.ch>
Sat, 10 Nov 2018 23:32:15 +0000 (00:32 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Nov 2018 18:17:46 +0000 (10:17 -0800)
commit86e9ab1cdee69bc7efc2c299932dad51522bc205
tree9cce69d90f3becd63709886140d3e3032fe48293
parent2a980ae3c2cac0ca4954cce620966e25a2509158
net: dsa: mv88e6xxx: Differentiate between 6390 and 6390X cmodes

The X family variants support additional ports modes, for 10G
operation, which the non-X variants don't have. Add a port_set_cmode()
for non-X variants to enforce this.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/port.c
drivers/net/dsa/mv88e6xxx/port.h