]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: dsa: mv88e6xxx: Fix phylink_validate for Topaz family
authorMarek Behún <marek.behun@nic.cz>
Mon, 25 Feb 2019 11:39:55 +0000 (12:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2019 17:47:09 +0000 (09:47 -0800)
commite3af71a36f9a68bd5d5a63d9960c9b624324784f
tree26b483edbfcf16de4399c48b269f64dccce9df76
parent65b034cf5c1766492aa107958149b440889480be
net: dsa: mv88e6xxx: Fix phylink_validate for Topaz family

The Topaz family should have different phylink_validate method from the
Peridot, since on Topaz the port supporting 2500BaseX mode is port 5,
not 9 and 10.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c