net: nixge: Add support for 64-bit platforms
Subsystems (2)
PATCH 1/1 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.
---
Hi Dave,
I'll submit the other changes for fixed_phy / non MDIO support as a separate series since I'm ironing out some issues on ARM with devicetree overlays.
Thanks,
Moritz
--- drivers/net/ethernet/ni/Kconfig | 3 +- drivers/net/ethernet/ni/nixge.c | 168 ++++++++++++++++++++++---------- 2 files changed, 116 insertions(+), 55 deletions(-)
drivers/net/ethernet/ni/Kconfig +2 -1
@@ -18,8 +18,9 @@ if NET_VENDOR_NI config NI_XGE_MANAGEMENT_ENET tristate "National Instruments XGE management enet support" - depends on ARCH_ZYNQ + depends on HAS_IOMEM && HAS_DMA select PHYLIB + select OF_MDIO help Simple LAN device for debug or management purposes. Can support either 10G or 1G PHYs via SFP+ ports.
drivers/net/ethernet/ni/nixge.c +114 -54
351 lines not on this page · raw message
Signature · 1 line
2.18.0
From: Moritz Fischer <[email protected]>
Date: Tue, 28 Aug 2018 15:16:31 -0700
Quoted 7 lines
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 <[email protected]>
Applied, thanks.