]> git.baikalelectronics.ru Git - kernel.git/commit
net: eth: cpsw: Correctly attach to GPIO bitbang MDIO driver
authorStefan Roese <sr@denx.de>
Wed, 29 Jan 2014 10:32:37 +0000 (11:32 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Jan 2014 00:25:48 +0000 (16:25 -0800)
commit705a89c20a4d6335d6e0f5732e4b43474e4b9bae
treee7b8f7217e8d5c7ecdfdf1cdc795f01fb1d6fdf2
parentc26f394471802145ad8c13005bac6e7100fb2590
net: eth: cpsw: Correctly attach to GPIO bitbang MDIO driver

When the GPIO bitbang MDIO driver is used instead of the Davinci MDIO driver
we need to configure the phy_id string differently. Otherwise this string
looks like this "gpio.6" instead of "gpio-0" and the PHY is not found when
phy_connect() is called.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Lukas Stockmann <lukas.stockmann@siemens.com>
Cc: Mugunthan V N <mugunthanvnm@ti.com>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c