net: phy: marvell10g: check for correct supported interface mode
authorMarek Behún <kabel@kernel.org>
Wed, 7 Apr 2021 20:22:46 +0000 (22:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Apr 2021 20:15:33 +0000 (13:15 -0700)
commit261a74c64bb67fbd9795e4ece94c2579f3c866f2
tree8106eb341370bf12477827c2a9871dfaf727ea0b
parent97bbe3bd6922e7ccf8ecd308640a7da55ae3c2f9
net: phy: marvell10g: check for correct supported interface mode

The 88E2110 does not support xaui nor rxaui modes. Check for correct
interface mode for different chips.

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