bcm63xx-enet: fix PHY name to match MDIO bus name
authorFlorian Fainelli <florian@openwrt.org>
Mon, 13 Feb 2012 01:23:21 +0000 (01:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Feb 2012 21:04:08 +0000 (16:04 -0500)
commitc56e9e2ae766b687ed66c3c9c3bb6b2ee15405b2
tree1aeab13179c124113d22529834f0c60ae6e86330
parenta19c5d68410a90c19521d966c88939700c4a1b3d
bcm63xx-enet: fix PHY name to match MDIO bus name

Commit 3e617506: bcm63xx_enet: use an unique MDIO bus name introduced
a regression in the PHY connection logic, since the PHY name was formatted
to expect the bus name to be "0" or "1", whereas it is now "bcm63xx-enet-0"
or "bcm63xx-enet-1".

Reported-by: Joel EJC <joel_ejc@yahoofr>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcm63xx_enet.c