net: macb: Fix 64 bit addressing support for GEM
authorRafal Ozieblo <rafalo@cadence.com>
Fri, 27 Jan 2017 15:08:20 +0000 (15:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Jan 2017 23:26:23 +0000 (18:26 -0500)
commitdc97a89e726c4e1830320d1db8215ef77ecebae0
tree00d66e9ec706f832079a3b981922891cf4c2d2fd
parent0a764db103376cf69d04449b10688f3516cc0b88
net: macb: Fix 64 bit addressing support for GEM

This patch adds support for 32 bit GEM in
64 bit system. It checks capability at runtime
and uses appropriate buffer descriptor.

Signed-off-by: Rafal Ozieblo <rafalo@cadence.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c
drivers/net/ethernet/cadence/macb.h