]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
net: ethernet: xilinx: Fix issues with the phy-node
authorKedareswara rao Appana <appanad@xilinx.com>
Mon, 18 Sep 2017 10:00:54 +0000 (15:30 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 15 Mar 2018 14:17:53 +0000 (15:17 +0100)
commit119c018337a17d19fda93c15e479d669e80375d7
treea30a44aef8005ccc3d2ff4929cbadf6861f22b5d
parentbdabc3197561eb70c46aee17ad7770698e050eef
net: ethernet: xilinx: Fix issues with the phy-node

In the existing driver of_mdiobus_register()
is expecting the phy node should contain a name
cpu which is wrong.

This patch fixes this issue by traversing from the
parent node (i.e from the MAC node).

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c