]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: Enable CMODE config support for 6390X
authorMartin Hundebøll <mnhu@prevas.dk>
Wed, 19 Jul 2017 06:17:02 +0000 (08:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Jul 2017 05:26:01 +0000 (22:26 -0700)
commit6e0091f1f88fc8561152872fb2d56acf919c0e80
treee8334147b064f6a30f3d84cc3c37ab6b255f4dcf
parent59be1e623cb511b7b936a43136d5d345ee1b2698
net: dsa: mv88e6xxx: Enable CMODE config support for 6390X

Commit 134a05e2380f1 ('net: dsa: mv88e6xxx: Set the CMODE for mv88e6390
ports 9 & 10') added support for setting the CMODE for the 6390X family,
but only enabled it for 9290 and 6390 - and left out 6390X.

Fix support for setting the CMODE on 6390X also by assigning
mv88e6390x_port_set_cmode() to the .port_set_cmode function pointer in
mv88e6390x_ops too.

Fixes: 134a05e2380f ("net: dsa: mv88e6xxx: Set the CMODE for mv88e6390 ports 9 & 10")
Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c