net: zynq_gem: Add support for fixed-link phy
authorMichal Simek <michal.simek@xilinx.com>
Thu, 20 Sep 2018 07:42:27 +0000 (09:42 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 27 Sep 2018 05:59:26 +0000 (07:59 +0200)
commit3888c8d1979289efe685fe29276aed4d4b685975
tree93e8de8732189f052b4e8a39b8a031a044dcef9c
parent50f56e50d05aac364be1f05e0bed78fb344cb043
net: zynq_gem: Add support for fixed-link phy

Based on dt-specs fixed-link doesn't require phy-handle to be used.
Fix driver to only read phy related setting when phy-handle is found.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/zynq_gem.c