ar71xx: make the rtl8306 switch attach to eth0 instead of eth1 on the wrt160nl, fixes...
[openwrt.git] / target / linux / generic-2.6 / files / drivers / net / phy / ar8216.c
index 93e4b33..92cc9f3 100644 (file)
@@ -546,7 +546,7 @@ ar8216_read_status(struct phy_device *phydev)
 
        phydev->speed = SPEED_100;
        phydev->duplex = DUPLEX_FULL;
-       phydev->state = PHY_UP;
+       phydev->link = 1;
 
        /* flush the address translation unit */
        if (ar8216_wait_bit(priv, AR8216_REG_ATU, AR8216_ATU_ACTIVE, 0))
This page took 0.022608 seconds and 4 git commands to generate.