]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
net: macb: add support for mdio phy nodes
authorKedareswara rao Appana <appanad@xilinx.com>
Fri, 19 Aug 2016 13:01:13 +0000 (18:31 +0530)
committerMichal Simek <monstr@monstr.eu>
Tue, 3 Oct 2017 15:26:11 +0000 (17:26 +0200)
commitc17a049e2dae6bc3fc234294cd69e2ce278ca2c9
tree582e489d13b27c7cff3be1425cba7988dea38393
parentd8ce296552f79f2a32676ed3c38690b29901dccc
net: macb: add support for mdio phy nodes

This patch adds support for mdio phy nodes.

With this patch the macb driver first tries to find
the mdio node.
If it is available will create the phy/mdio devices for the
phy/mdio nodes available in the mdio.

If the mdio node is not available it will try to probe the phy nodes
available in the mac nodes as the driver does earlier.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
drivers/net/ethernet/cadence/macb.c