summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-01-10 00:59:21 +0100
committerDavid S. Miller <davem@davemloft.net>2012-01-11 01:35:01 +0100
commitd1733f078b1b3777fed8e8fe598e7f10f28f59fb (patch)
tree75e886c49a037e3c331e3b33c859155379a939cb /drivers/net
parentstmmac: use an unique MDIO bus name. (diff)
downloadlinux-d1733f078b1b3777fed8e8fe598e7f10f28f59fb.tar.xz
linux-d1733f078b1b3777fed8e8fe598e7f10f28f59fb.zip
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')
-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)
}
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)