net: nixge: Add support for 64-bit platforms
authorMoritz Fischer <mdf@kernel.org>
Tue, 28 Aug 2018 22:16:31 +0000 (15:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Aug 2018 02:54:28 +0000 (19:54 -0700)
commit7e8d5755be0e6c92d3b86a85e54c6a550b1910c5
tree762c96a51b3b85a461c426247c0852fa228719e6
parent02c7f38b7ace9f1b2ddb7a88139127eef4cf8706
net: nixge: Add support for 64-bit platforms

Add support for 64-bit platforms to driver.

The hardware only supports 32-bit register accesses
so the accesses need to be split up into two writes
when setting the current and tail descriptor values.

Signed-off-by: Moritz Fischer <mdf@kernel.org>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ni/Kconfig
drivers/net/ethernet/ni/nixge.c