stmmac: add fixed-link device-tree support
authorMathieu Olivari <mathieu@codeaurora.org>
Wed, 27 May 2015 18:02:48 +0000 (11:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 31 May 2015 00:04:36 +0000 (17:04 -0700)
commit277323814e495616dd76409bec855f5c68f54988
treeba0b25feef23b9ea1bbd54a8193c292b5886aacf
parent5790cf3c00c2f92aacba348e13f8a9a8f5dd96bd
stmmac: add fixed-link device-tree support

In case DT is used, this change adds the ability to the stmmac driver to
detect a fixed-link PHY, instanciate it, and use it during
phy_connect().

Fixed link PHYs DT usage is described in:
Documentation/devicetree/bindings/net/fixed-link.txt

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c