projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5278fb5
)
s6gmac: use an unique MDIO bus name.
author
Florian Fainelli
<florian@openwrt.org>
Mon, 9 Jan 2012 23:59:18 +0000
(23:59 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 11 Jan 2012 00:35:01 +0000
(16:35 -0800)
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/s6gmac.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/s6gmac.c
b/drivers/net/ethernet/s6gmac.c
index
a7ff8ea
..
22e9c01
100644
(file)
--- a/
drivers/net/ethernet/s6gmac.c
+++ b/
drivers/net/ethernet/s6gmac.c
@@
-1004,7
+1004,7
@@
static int __devinit s6gmac_probe(struct platform_device *pdev)
mb->write = s6mii_write;
mb->reset = s6mii_reset;
mb->priv = pd;
- snprintf(mb->id, MII_BUS_ID_SIZE, "
0"
);
+ snprintf(mb->id, MII_BUS_ID_SIZE, "
%s-%x", pdev->name, pdev->id
);
mb->phy_mask = ~(1 << 0);
mb->irq = &pd->mii.irq[0];
for (i = 0; i < PHY_MAX_ADDR; i++) {