]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: platform: fix FIXED_PHY support.
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Tue, 14 Oct 2014 06:11:54 +0000 (08:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Oct 2014 20:39:30 +0000 (16:39 -0400)
commit9873c172ea202705383e098fe8a4a85598b47498
tree9b4e4d3ca0744f6f113523a995ffc7f75b0134e0
parent23fda644f340216589a685da265fffe3db67e717
stmmac: platform: fix FIXED_PHY support.

On several STi platforms: e.g. stihxxx-b2120 an Ethernet switch is
embedded and connected to the stmmac via RGMII mode. So this is managed
by using the FIXED_PHY. In that case, the support in the platform needs
to be fixed to allow the stmmac to dialog with the switch via fixed-link
by using phy_bus_name property.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c