mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-29 05:16:23 +04:00
assume the link is up and full-duplex by default
SVN-Revision: 32940
This commit is contained in:
1 parent
56aac45139
commit
5133a44785
1 file changed
+2
-2
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user