drivers: net: xilinx_emaclite: remove arch limitation
Subsystems (3)
PATCH 1/1 drivers: net: xilinx_emaclite: remove arch limitation
The changes made in eccd540 is enough for xilinx_emaclite to run without problem on 64-bit systems. I have tested it on a Xilinx FPGA with RV64 softcore. The architecture limitation in Kconfig seems no longer necessary.
A small change is included to print address with %lx instead of casting to int and print with %x.
--- drivers/net/ethernet/xilinx/Kconfig | 1 - drivers/net/ethernet/xilinx/xilinx_emaclite.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-)
drivers/net/ethernet/xilinx/Kconfig +0 -1
@@ -18,7 +18,6 @@ if NET_VENDOR_XILINX config XILINX_EMACLITE tristate "Xilinx 10/100 Ethernet Lite support" - depends on PPC32 || MICROBLAZE || ARCH_ZYNQ || MIPS || COMPILE_TEST select PHYLIB help This driver supports the 10/100 Ethernet Lite from Xilinx.
drivers/net/ethernet/xilinx/xilinx_emaclite.c +2 -2
@@ -1193,8 +1193,8 @@ static int xemaclite_of_probe(struct platform_device *ofdev) }dev_info (dev, -"Xilinx EmacLite at 0x%08X mapped to 0x%08lX, irq=%d\n" , - (unsigned int __force )ndev->mem_start, +"Xilinx EmacLite at 0x%08lX mapped to 0x%08lX, irq=%d\n" , + (unsigned long __force )ndev->mem_start, (unsigned long __force )lp->base_addr, ndev->irq);return 0 ;
Signature · 1 line
2.20.1
This patch was applied to netdev/net-next.git (refs/heads/master):
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
Quoted 9 lines · On Tue, 16 Feb 2021 22:33:42 +0000 you wrote:
The changes made in eccd540 is enough for
xilinx_emacliteto run without problem on 64-bit systems. I have tested it on a Xilinx FPGA with RV64 softcore. The architecture limitation inKconfigseems no longer necessary.A small change is included to print address with %lx instead of casting to int and print with %x.
[...]
Here is the summary with links:
- drivers: net: xilinx_emaclite: remove arch limitation
https://git.kernel.org/netdev/net-next/c/18af77c50fed
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html