]> 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)
commit9e449bfb1d34ef978db215ce01b7810882e312b8
tree71f08fac64c20d505414c81ac432a18a82270a00
parent168afd9c70074fa7679fdc0300276a0f85e7a679
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