projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db8857b
)
cpmac: use an unique MDIO bus name.
author
Florian Fainelli
<florian@openwrt.org>
Mon, 9 Jan 2012 23:59:21 +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/ti/cpmac.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ethernet/ti/cpmac.c
b/drivers/net/ethernet/ti/cpmac.c
index aaac0c7ad111192605075348264d1ddc38ceb2e6..4d9a28ffd3c3ac20d2764ea72ada7e70cadc04f0 100644
(file)
--- a/
drivers/net/ethernet/ti/cpmac.c
+++ b/
drivers/net/ethernet/ti/cpmac.c
@@
-1269,7
+1269,7
@@
int __devinit cpmac_init(void)
}
cpmac_mii->phy_mask = ~(mask | 0x80000000);
- snprintf(cpmac_mii->id, MII_BUS_ID_SIZE, "1");
+ snprintf(cpmac_mii->id, MII_BUS_ID_SIZE, "
cpmac-
1");
res = mdiobus_register(cpmac_mii);
if (res)