cpmac: fix PHY name to match MDIO bus name
authorFlorian Fainelli <florian@openwrt.org>
Mon, 13 Feb 2012 01:23:20 +0000 (01:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Feb 2012 21:04:08 +0000 (16:04 -0500)
Commit d1733f07: cpmac: use an unique MDIO bus name changed the MDIO bus
name from "1" to "cpmac-1", this breaks the PHY connection logic because
the PHY name still uses the old bus names "0" and "1", fix that to
always use the mdio bus id instead.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found