net: dsa: mv8e6xxx: fix number of internal PHYs for 88E6x90 family
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 2 Mar 2019 09:06:05 +0000 (10:06 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Mar 2019 05:15:42 +0000 (21:15 -0800)
commit95150f29ae480276e76368cdf8a9524b5a96c0ca
tree080652f2a84fff5c3147aa99380f435b348b96a6
parent895a5e96dbd6386c8e78e5b78e067dcc67b7f0ab
net: dsa: mv8e6xxx: fix number of internal PHYs for 88E6x90 family

Ports 9 and 10 don't have internal PHY's but are (dependent on the
version) SERDES/SGMII/XAUI/RXAUI ports.

v2:
- fix it for all 88E6x90 family members

Fixes: bc3931557d1d ("net: dsa: mv88e6xxx: Add number of internal PHYs")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c