Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187958
b: refs/heads/master
c: 9fba1c3
h: refs/heads/master
v: v3
  • Loading branch information
Florian Fainelli authored and David S. Miller committed Mar 7, 2010
1 parent 6f82b25 commit 4af9cf6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 30765d0502905a9248e5de72fc7ac83c23422861
refs/heads/master: 9fba1c31f4f3f9f860a4afee0b409cde27d06741
5 changes: 3 additions & 2 deletions trunk/drivers/net/cpmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1137,8 +1137,9 @@ static int __devinit cpmac_probe(struct platform_device *pdev)
}

if (phy_id == PHY_MAX_ADDR) {
dev_err(&pdev->dev, "no PHY present\n");
return -ENODEV;
dev_err(&pdev->dev, "no PHY present, falling back to switch on MDIO bus 0\n");
strncpy(mdio_bus_id, "0", MII_BUS_ID_SIZE); /* fixed phys bus */
phy_id = pdev->id;
}

dev = alloc_etherdev_mq(sizeof(*priv), CPMAC_QUEUES);
Expand Down

0 comments on commit 4af9cf6

Please sign in to comment.