net: xilinx_axi_emac: Add support for non processor mode
authorSiva Durga Prasad Paladugu <sivadur@xilinx.com>
Fri, 6 Jan 2017 10:57:15 +0000 (16:27 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 29 Nov 2017 07:02:33 +0000 (08:02 +0100)
commit89ce5a9dbed919b7b0347685cf035a844f627749
treecde7fad59615b6c2fa64765e76fe4d8aea085b1a
parentdc1fcc423c940692d8d8dd7c8240e83243b34859
net: xilinx_axi_emac: Add support for non processor mode

Add support for non processor mode, this mode doesn't have
access to some of the registers and hence this patch
bypasses it and also length has to be calculated from
status instead of app4 in this mode.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
drivers/net/xilinx_axi_emac.c