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)
commit8c2a7a5d2c6ec6c2a95fe22a6d3af1db07840da8
tree9b4e4d3ca0744f6f113523a995ffc7f75b0134e0
parent77b3a4dcde4f770a0f3edbe16dd423b3d0717318
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