net: zynq_gem: Add check for 64-bit dma support by hardware
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Mon, 26 Nov 2018 10:57:39 +0000 (16:27 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 3 Dec 2018 15:22:06 +0000 (16:22 +0100)
commit5f68f44c14ab93ffc44a9285e0970cba467276c6
treec41deec8e2278d2af9eff0ac2a672fe4a788f0d4
parent9a7799f4f4426e690d8c5ab69e6ac34e51029036
net: zynq_gem: Add check for 64-bit dma support by hardware

This patch throws an error if 64-bit support is expected
but DMA hardware is not capable of 64-bit support. It also
prints a debug message if DMA is capable of 64-bit but not
using it.

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
drivers/net/zynq_gem.c