aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/phy.h
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2019-02-22 23:51:44 +0100
committerDavid S. Miller <davem@davemloft.net>2019-02-23 14:12:09 -0800
commit70fa3a9699cbc7aa1e93a5fddb9b9105d2b3acda (patch)
treee1d26b28dbb07913a608d96e9da827bf90133d6b /include/linux/phy.h
parentnet: phy: don't change modes we don't care about in genphy_c45_read_lpa (diff)
downloadlinux-dev-70fa3a9699cbc7aa1e93a5fddb9b9105d2b3acda.tar.xz
linux-dev-70fa3a9699cbc7aa1e93a5fddb9b9105d2b3acda.zip
net: phy: add genphy_c45_read_status
Similar to genphy_read_status() for Clause 22 add a generic read_status function for Clause 45. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/phy.h')
-rw-r--r--include/linux/phy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h
index 8e9fc576472b..a05ba366dae4 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -1107,6 +1107,7 @@ 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);
int genphy_c45_pma_read_abilities(struct phy_device *phydev);
+int genphy_c45_read_status(struct phy_device *phydev);
/* The gen10g_* functions are the old Clause 45 stub */
int gen10g_config_aneg(struct phy_device *phydev);