]> git.baikalelectronics.ru Git - kernel.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)
commitc5fc40fe4efb251daaac058adcc178f09feb652e
tree71f08fac64c20d505414c81ac432a18a82270a00
parent3d9ee58271bd230aba38d4e59ba70ac8746caf15
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