]> asedeno.scripts.mit.edu Git - linux.git/commit
net: phy: marvell10g: Use the generic C45 helper to read the 2110 features
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Mon, 25 Feb 2019 16:14:07 +0000 (17:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Feb 2019 05:41:40 +0000 (21:41 -0800)
commit41e2a99fb9fa3e786c3f796d502c1babd116266f
tree71f08fac64c20d505414c81ac432a18a82270a00
parent013ba864b0b55de05ec1a6f4a375a0db9130291c
net: phy: marvell10g: Use the generic C45 helper to read the 2110 features

Contrary to the 3310, the 2110 PHY correctly reports it's 2.5G/5G
abilities. We can therefore use the genphy_c45_pma_read_abilities helper
to build the list of features.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell10g.c