diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2022-05-06 06:23:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-05-09 12:09:29 +0100 |
commit | 90532850eb210dff70423eaf20e323a91ef542d8 (patch) | |
tree | a785ffa7912d5573d219c1188c3d88ec79a4f271 /include/linux/phy.h | |
parent | a7f0e4bea8eda1d286f4e99176bcb88f53aa703b (diff) | |
download | lwn-90532850eb210dff70423eaf20e323a91ef542d8.tar.gz lwn-90532850eb210dff70423eaf20e323a91ef542d8.zip |
net: phy: introduce genphy_c45_pma_baset1_setup_master_slave()
Move baset1 specific part of genphy_c45_pma_setup_forced() code to
separate function to make it reusable by PHY drivers.
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>
Diffstat (limited to 'include/linux/phy.h')
-rw-r--r-- | include/linux/phy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index 2d12054932ba..d3f924d3b235 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -1614,6 +1614,7 @@ int genphy_c45_read_link(struct phy_device *phydev); int genphy_c45_read_lpa(struct phy_device *phydev); int genphy_c45_read_pma(struct phy_device *phydev); int genphy_c45_pma_setup_forced(struct phy_device *phydev); +int genphy_c45_pma_baset1_setup_master_slave(struct phy_device *phydev); int genphy_c45_an_config_aneg(struct phy_device *phydev); int genphy_c45_an_disable_aneg(struct phy_device *phydev); int genphy_c45_read_mdix(struct phy_device *phydev); |