Commit 7e8d5755 authored by Moritz Fischer's avatar Moritz Fischer Committed by David S. Miller

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: default avatarMoritz Fischer <mdf@kernel.org>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 02c7f38b
...@@ -18,8 +18,9 @@ if NET_VENDOR_NI ...@@ -18,8 +18,9 @@ if NET_VENDOR_NI
config NI_XGE_MANAGEMENT_ENET config NI_XGE_MANAGEMENT_ENET
tristate "National Instruments XGE management enet support" tristate "National Instruments XGE management enet support"
depends on ARCH_ZYNQ depends on HAS_IOMEM && HAS_DMA
select PHYLIB select PHYLIB
select OF_MDIO
help help
Simple LAN device for debug or management purposes. Can Simple LAN device for debug or management purposes. Can
support either 10G or 1G PHYs via SFP+ ports. support either 10G or 1G PHYs via SFP+ ports.
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment