path: root/drivers/net/phy/phy_device.c
diff options
authorAndy Fleming <afleming@freescale.com>2006-10-16 16:19:17 -0500
committerJeff Garzik <jeff@garzik.org>2006-12-02 00:12:02 -0500
commit6b655529c3d817ed1b69cf2dd29e2c3ce5148a2b (patch)
tree0217c984a2fe169634931a52b0ebde2d80ecf1ca /drivers/net/phy/phy_device.c
parent2109f89f3483ff5a05899385ee3fb04d779e9cce (diff)
[PATCH] Fixed a number of bugs in the PHY Layer
* genphy_update_link is now exported * Added a fix from ncase@xes-inc.com which changes forcing so it only updates the link. Otherwise, it never tries the lower values, since it is always overwriting the speed/duplex values with the current ones, rather than the intended ones. * Fixed a bug where bringing up a PHY with no link caused it to timeout, and enter forcing mode. Once in forcing mode, plugging in the link didn't autonegotiate. Now the AN state detects the lack of link, and enters the NO_LINK state. AN only times out if the link is up and AN fails * Cleaned up the PHY_AN case, reducing one level of indentation for the timeout code. Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/phy/phy_device.c')
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c
index 3bbd5e70c20..2a08b2b62c4 100644
--- a/drivers/net/phy/phy_device.c
+++ b/drivers/net/phy/phy_device.c
@@ -427,6 +427,7 @@ int genphy_update_link(struct phy_device *phydev)
return 0;
/* genphy_read_status