diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-01-10 00:59:21 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-11 01:35:01 +0100 |
commit | d1733f078b1b3777fed8e8fe598e7f10f28f59fb (patch) | |
tree | 75e886c49a037e3c331e3b33c859155379a939cb | |
parent | stmmac: use an unique MDIO bus name. (diff) | |
download | linux-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>
-rw-r--r-- | drivers/net/ethernet/ti/cpmac.c | 2 |
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) |