net: phy: at803x: support qca8081 genphy_c45_pma_read_abilities
authorLuo Jie <quic_luoj@quicinc.com>
Sun, 16 Jul 2023 08:49:19 +0000 (16:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jul 2023 09:15:13 +0000 (10:15 +0100)
commit8b8bc13d89a7d23d14b0e041c73f037c9db997b1
tree5906b7517c71180274ff0c0880ea43637564374c
parentae02f8d4c13505d16143bf46901d29d810acd84d
net: phy: at803x: support qca8081 genphy_c45_pma_read_abilities

qca8081 PHY supports to use genphy_c45_pma_read_abilities for
getting the PHY features supported except for the autoneg ability

but autoneg ability exists in MDIO_STAT1 instead of MMD7.1, add it
manually after calling genphy_c45_pma_read_abilities.

Signed-off-by: Luo Jie <quic_luoj@quicinc.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c