net: macb: Add support for Xilinx Zynq SoC
authorWilson Lee <wilson.lee@ni.com>
Wed, 23 Aug 2017 03:25:07 +0000 (20:25 -0700)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 15 Jan 2018 18:05:14 +0000 (12:05 -0600)
commit4bf56913d0d3bf1e1dd9ccd54f582c034314b812
treebfeb650444798fa1aaa46b923813f23fed5f886b
parent3dde8f20377c3a051dda64497bdf0cdb23e03a2d
net: macb: Add support for Xilinx Zynq SoC

Although Xilinx Zynq SoC was using MACB similar hardware. However,
U-boot MACB driver was not supporting Xilinx Zynq SoC. This patch is
to add support for the Xilinx Zynq SoC to the existing MACB network
driver.

This patch is to add Zynq GEM DMA Config, provide callback
function for different linkspeed for case of using Xilinx Zynq
Programmable Logic as GMII to RGMII converter.

This patch convert the return value to use error codes.

Signed-off-by: Wilson Lee <wilson.lee@ni.com>
Cc: Chen Yee Chew <chen.yee.chew@ni.com>
Cc: Keng Soon Cheah <keng.soon.cheah@ni.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Wenyou Yang <wenyou.yang@atmel.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/Kconfig
drivers/net/macb.c
drivers/net/macb.h