summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMadalin Bucur <madalin.bucur@freescale.com>2013-11-21 02:38:19 +0400
committerDavid S. Miller <davem@davemloft.net>2013-11-21 07:09:19 +0400
commit3fb69bcadda6263b92dbf8dd74717cba27c77ed9 (patch)
tree63c40467c4237dbf3f402d97df9a2be5aba62b8d /include
parent06ae4f848fe69ebd3c3a00d2ecbb8af22fb75418 (diff)
downloadlinux-3fb69bcadda6263b92dbf8dd74717cba27c77ed9.tar.xz
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')
-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 64ab823f7b74..48a4dc3cb8cf 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);