summaryrefslogtreecommitdiffstats
path: root/include/linux/phy.h
diff options
context:
space:
mode:
authorMadalin Bucur <madalin.bucur@freescale.com>2013-11-20 16:38:19 -0600
committerDavid S. Miller <davem@davemloft.net>2013-11-20 22:09:19 -0500
commit3fb69bcadda6263b92dbf8dd74717cba27c77ed9 (patch)
tree63c40467c4237dbf3f402d97df9a2be5aba62b8d /include/linux/phy.h
parent06ae4f848fe69ebd3c3a00d2ecbb8af22fb75418 (diff)
downloadop-kernel-dev-3fb69bcadda6263b92dbf8dd74717cba27c77ed9.zip
op-kernel-dev-3fb69bcadda6263b92dbf8dd74717cba27c77ed9.tar.gz
net/phy: Add the autocross feature for forced links on VSC82x4
Add auto-MDI/MDI-X capability for forced (autonegotiation disabled) 10/100 Mbps speeds on Vitesse VSC82x4 PHYs. Exported previously static function genphy_setup_forced() required by the new config_aneg handler in the Vitesse PHY module. Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com> Signed-off-by: Shruti Kanetkar <Shruti@freescale.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 64ab823..48a4dc3 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -559,6 +559,7 @@ static inline int phy_read_status(struct phy_device *phydev) {
return phydev->drv->read_status(phydev);
}
+int genphy_setup_forced(struct phy_device *phydev);
int genphy_restart_aneg(struct phy_device *phydev);
int genphy_config_aneg(struct phy_device *phydev);
int genphy_update_link(struct phy_device *phydev);
OpenPOWER on IntegriCloud