net: phy: marvell10g: differentiate 88E2110 vs 88E2111
authorMarek Behún <kabel@kernel.org>
Wed, 7 Apr 2021 20:22:52 +0000 (22:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Apr 2021 20:15:34 +0000 (13:15 -0700)
commit0fca947cbb27ddb28155996e29385b4ddf5d94f3
tree6be284f8b44e7923349fe2590ece82a11a8faa71
parent53f111cbfac6f2000c604994ddf01d3299d7de6b
net: phy: marvell10g: differentiate 88E2110 vs 88E2111

88E2111 is a variant of 88E2110 which does not support 5 gigabit speeds.

Differentiate these variants via the match_phy_device() method, since
they have the same PHY ID.

Signed-off-by: Marek Behún <kabel@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell10g.c