Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132555
b: refs/heads/master
c: 6580f57
h: refs/heads/master
i:
  132553: 6054bea
  132551: bbf240f
v: v3
  • Loading branch information
Stephen Rothwell authored and David S. Miller committed Mar 23, 2009
1 parent 920cec4 commit 05809b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4b97926ddf51b3919c859e2086fef3c8c3c46c61
refs/heads/master: 6580f57d485f70851218813fa053d971915f61fb
6 changes: 3 additions & 3 deletions trunk/drivers/net/dnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,11 +280,11 @@ static int dnet_mii_probe(struct net_device *dev)

/* attach the mac to the phy */
if (bp->capabilities & DNET_HAS_RMII) {
phydev = phy_connect(dev, phydev->dev.bus_id,
phydev = phy_connect(dev, dev_name(&phydev->dev),
&dnet_handle_link_change, 0,
PHY_INTERFACE_MODE_RMII);
} else {
phydev = phy_connect(dev, phydev->dev.bus_id,
phydev = phy_connect(dev, dev_name(&phydev->dev),
&dnet_handle_link_change, 0,
PHY_INTERFACE_MODE_MII);
}
Expand Down Expand Up @@ -927,7 +927,7 @@ static int __devinit dnet_probe(struct platform_device *pdev)
phydev = bp->phy_dev;
dev_info(&pdev->dev, "attached PHY driver [%s] "
"(mii_bus:phy_addr=%s, irq=%d)\n",
phydev->drv->name, phydev->dev.bus_id, phydev->irq);
phydev->drv->name, dev_name(&phydev->dev), phydev->irq);

return 0;

Expand Down

0 comments on commit 05809b0

Please sign in to comment.