aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mcs814x/files-3.3
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-08-01 21:56:54 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-08-01 21:56:54 +0000
commit5133a4478508d016fea321e06eca8a64ea86cfdc (patch)
treef1f4d9c1ed35fc82b37fd37899634602db7bd46b /target/linux/mcs814x/files-3.3
parent56aac451393ab2346ead3d9aeb826dcac3d468d6 (diff)
downloadupstream-5133a4478508d016fea321e06eca8a64ea86cfdc.tar.gz
upstream-5133a4478508d016fea321e06eca8a64ea86cfdc.tar.bz2
upstream-5133a4478508d016fea321e06eca8a64ea86cfdc.zip
assume the link is up and full-duplex by default
SVN-Revision: 32940
Diffstat (limited to 'target/linux/mcs814x/files-3.3')
-rw-r--r--target/linux/mcs814x/files-3.3/drivers/net/ethernet/mcs8140/nuport_mac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/mcs814x/files-3.3/drivers/net/ethernet/mcs8140/nuport_mac.c b/target/linux/mcs814x/files-3.3/drivers/net/ethernet/mcs8140/nuport_mac.c
index c148bea94a..657fb6a646 100644
--- a/target/linux/mcs814x/files-3.3/drivers/net/ethernet/mcs8140/nuport_mac.c
+++ b/target/linux/mcs814x/files-3.3/drivers/net/ethernet/mcs8140/nuport_mac.c
@@ -885,8 +885,8 @@ static int nuport_mac_mii_probe(struct net_device *dev)
phydev->supported &= PHY_BASIC_FEATURES;
phydev->advertising = phydev->supported;
priv->phydev = phydev;
- priv->old_link = 0;
- priv->old_duplex = -1;
+ priv->old_link = 1;
+ priv->old_duplex = DUPLEX_FULL;
dev_info(&priv->pdev->dev, "attached PHY driver [%s] "
"(mii_bus:phy_addr=%d)\n",