net: dsa: mv88e6xxx: Fix typ0 when configuring 2.5Gbps
authorAndrew Lunn <andrew@lunn.ch>
Wed, 1 Feb 2017 23:46:16 +0000 (00:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Feb 2017 03:06:43 +0000 (22:06 -0500)
commit740117a8e2b0e89c5fd6f1d5bbc12f87c46c80d7
tree3c46b3c7cb7b643ae1ad76f86b2904d0a1f7bcd6
parentb91e055c57e45131470d4935e4a726bd65b14580
net: dsa: mv88e6xxx: Fix typ0 when configuring 2.5Gbps

In order to enable 2.5Gbps mode, we need the base speed of 10G, plus
the Alt bit setting. Fix a typ0 that used 1Gb base speed.

Signed-off-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/port.c