]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: genphy_c45_pma_baset1_read_master_slave: read actual configuration
authorOleksij Rempel <o.rempel@pengutronix.de>
Fri, 6 May 2022 04:23:55 +0000 (06:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 May 2022 11:09:29 +0000 (12:09 +0100)
commit901d224bb624cc87d74211d227e70d3cd4ba1e16
treeba692b33a5900b8121c4a3e2c6c085e35f7a6019
parent63d60da989b471297517aa6162e91e2b2e0cb5d0
net: phy: genphy_c45_pma_baset1_read_master_slave: read actual configuration

Since MDIO_PMA_PMD_BT1_CTRL register shows actual configuration (and
forced state configuration is equal to the state), we should show
this configuration for ethtool.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy-c45.c