diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-12-08 14:06:09 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-12-08 14:06:09 +0000 |
commit | b9c2e351d580abd4a18ad632920535c691542a83 (patch) | |
tree | ea2a42c9f6a37b76513d340a64ed9ad478df15ae /target/linux/generic-2.6/files/drivers/net/phy/adm6996.c | |
parent | 2417cf679167fc778c0a77ff2e1f0ade2c797306 (diff) |
fix link status detection in various switch drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18698 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/files/drivers/net/phy/adm6996.c')
-rw-r--r-- | target/linux/generic-2.6/files/drivers/net/phy/adm6996.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic-2.6/files/drivers/net/phy/adm6996.c b/target/linux/generic-2.6/files/drivers/net/phy/adm6996.c index 972d20c6d9..bc40be067a 100644 --- a/target/linux/generic-2.6/files/drivers/net/phy/adm6996.c +++ b/target/linux/generic-2.6/files/drivers/net/phy/adm6996.c @@ -96,7 +96,7 @@ static int adm6996_read_status(struct phy_device *phydev) { phydev->speed = SPEED_100; phydev->duplex = DUPLEX_FULL; - phydev->state = PHY_UP; + phydev->link = 1; return 0; } |