mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 08:28:26 +02:00
[mcs814x] assume the link is up and full-duplex by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32940 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9a9ced9072
commit
de000e9b36
@ -885,8 +885,8 @@ static int nuport_mac_mii_probe(struct net_device *dev)
|
|||||||
phydev->supported &= PHY_BASIC_FEATURES;
|
phydev->supported &= PHY_BASIC_FEATURES;
|
||||||
phydev->advertising = phydev->supported;
|
phydev->advertising = phydev->supported;
|
||||||
priv->phydev = phydev;
|
priv->phydev = phydev;
|
||||||
priv->old_link = 0;
|
priv->old_link = 1;
|
||||||
priv->old_duplex = -1;
|
priv->old_duplex = DUPLEX_FULL;
|
||||||
|
|
||||||
dev_info(&priv->pdev->dev, "attached PHY driver [%s] "
|
dev_info(&priv->pdev->dev, "attached PHY driver [%s] "
|
||||||
"(mii_bus:phy_addr=%d)\n",
|
"(mii_bus:phy_addr=%d)\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user