]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb12d31a29e2cbe0974976961a2dc4d8cc24be8a0
treeba0b25feef23b9ea1bbd54a8193c292b5886aacf
parent99452c4a1fa4336a9e25b53ae0adecc03d75c55d
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