aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-01-09 18:59:21 -0500
committerDavid S. Miller <davem@davemloft.net>2012-01-10 19:35:01 -0500
commitd1733f078b1b3777fed8e8fe598e7f10f28f59fb (patch)
tree75e886c49a037e3c331e3b33c859155379a939cb /drivers/net/ethernet
parentdb8857bf5bd888d763e1984f9449d0b824b39ee1 (diff)
cpmac: use an unique MDIO bus name.
Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r--drivers/net/ethernet/ti/cpmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ti/cpmac.c b/drivers/net/ethernet/ti/cpmac.c
index aaac0c7ad111..4d9a28ffd3c3 100644
--- a/drivers/net/ethernet/ti/cpmac.c
+++ b/drivers/net/ethernet/ti/cpmac.c
@@ -1269,7 +1269,7 @@ int __devinit cpmac_init(void)
1269 } 1269 }
1270 1270
1271 cpmac_mii->phy_mask = ~(mask | 0x80000000); 1271 cpmac_mii->phy_mask = ~(mask | 0x80000000);
1272 snprintf(cpmac_mii->id, MII_BUS_ID_SIZE, "1"); 1272 snprintf(cpmac_mii->id, MII_BUS_ID_SIZE, "cpmac-1");
1273 1273
1274 res = mdiobus_register(cpmac_mii); 1274 res = mdiobus_register(cpmac_mii);
1275 if (res) 1275 if (res)