Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284289
b: refs/heads/master
c: 63f6783
h: refs/heads/master
i:
  284287: 9585608
v: v3
  • Loading branch information
Florian Fainelli authored and David S. Miller committed Jan 11, 2012
1 parent 43c5a3f commit 96013f2
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: 98d5e57eafce7a68d864fdb5a26542ba8b4f59ba
refs/heads/master: 63f678301fb952c2d758d9ded4ed88c1da6c0c50
3 changes: 2 additions & 1 deletion trunk/drivers/net/ethernet/dnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,8 @@ static int dnet_mii_init(struct dnet *bp)
bp->mii_bus->write = &dnet_mdio_write;
bp->mii_bus->reset = &dnet_mdio_reset;

snprintf(bp->mii_bus->id, MII_BUS_ID_SIZE, "%x", 0);
snprintf(bp->mii_bus->id, MII_BUS_ID_SIZE, "%s-%x",
bp->pdev->name, bp->pdev->id);

bp->mii_bus->priv = bp;

Expand Down

0 comments on commit 96013f2

Please sign in to comment.