Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279415
b: refs/heads/master
c: 817380e
h: refs/heads/master
i:
  279413: 01e2243
  279411: 954bb89
  279407: 71a9775
v: v3
  • Loading branch information
Florian Fainelli authored and David S. Miller committed Jan 4, 2012
1 parent 2d31573 commit 87cc52a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: e6bff995f8fe78f74cbe8f14bf6a31f3560b9ce4
refs/heads/master: 817380e1d05534880a99d84a47cc5a2df111030d
3 changes: 2 additions & 1 deletion trunk/drivers/net/ethernet/rdc/r6040.c
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,8 @@ static int __devinit r6040_init_one(struct pci_dev *pdev,
lp->mii_bus->write = r6040_mdiobus_write;
lp->mii_bus->reset = r6040_mdiobus_reset;
lp->mii_bus->name = "r6040_eth_mii";
snprintf(lp->mii_bus->id, MII_BUS_ID_SIZE, "%x", card_idx);
snprintf(lp->mii_bus->id, MII_BUS_ID_SIZE, "%s-%x",
dev_name(&pdev->dev), card_idx);
lp->mii_bus->irq = kmalloc(sizeof(int)*PHY_MAX_ADDR, GFP_KERNEL);
if (!lp->mii_bus->irq) {
dev_err(&pdev->dev, "mii_bus irq allocation failed\n");
Expand Down

0 comments on commit 87cc52a

Please sign in to comment.