]> 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)
commit31bd4256b524ee5ba811a69f6d42f7571a75a747
tree1aeab13179c124113d22529834f0c60ae6e86330
parentc6726fddff718d3817a9412b56d53b05e97c63f5
bcm63xx-enet: fix PHY name to match MDIO bus name

Commit 1c7c00bc: 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