]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit33c5056cb4e7c4c1269f4f32b8232e78de777562
tree1aeab13179c124113d22529834f0c60ae6e86330
parent880cd16278efa905f0a9827c7fd8727c7de7e2cc
bcm63xx-enet: fix PHY name to match MDIO bus name

Commit 671aee74: 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