net: zynq_gem: Use max-speed property from dt
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Thu, 12 Apr 2018 10:22:17 +0000 (12:22 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Fri, 13 Apr 2018 20:47:48 +0000 (15:47 -0500)
commit69065e8ff455e470b04c439e93650e39b005535a
treed0855b6531e8bc84502ace50dff1f8bb3b36f697
parent2087eac25709071e5e4f32706db91a257160ef36
net: zynq_gem: Use max-speed property from dt

Add support to use max-speed property from dt for
determining the supported speed. Use 1000Mbps as
default.

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