]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitfdc71eea8c0aefab80020044f8abf5c3c6814b44
tree9cce69d90f3becd63709886140d3e3032fe48293
parentb3dce4da5bb4c4c991b10c9899e6dd6ce29e8b3e
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