Messages in this thread Patch in this message | | | From | Florian Fainelli <> | Subject | [PATCH 15/21] cpmac: use an unique MDIO bus name. | Date | Tue, 10 Jan 2012 10:59:21 +0100 |
| |
Signed-off-by: Florian Fainelli <florian@openwrt.org> --- 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 aaac0c7..4d9a28f 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) -- 1.7.5.4
| |