mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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.
Signed-off-by: Gary Guo <gary@garyguo.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
43d42e6569
commit
18af77c50f
2 changed files with 2 additions and 3 deletions
|
@ -18,7 +18,6 @@ if NET_VENDOR_XILINX
|
||||||
|
|
||||||
config XILINX_EMACLITE
|
config XILINX_EMACLITE
|
||||||
tristate "Xilinx 10/100 Ethernet Lite support"
|
tristate "Xilinx 10/100 Ethernet Lite support"
|
||||||
depends on PPC32 || MICROBLAZE || ARCH_ZYNQ || MIPS || COMPILE_TEST
|
|
||||||
select PHYLIB
|
select PHYLIB
|
||||||
help
|
help
|
||||||
This driver supports the 10/100 Ethernet Lite from Xilinx.
|
This driver supports the 10/100 Ethernet Lite from Xilinx.
|
||||||
|
|
|
@ -1193,8 +1193,8 @@ static int xemaclite_of_probe(struct platform_device *ofdev)
|
||||||
}
|
}
|
||||||
|
|
||||||
dev_info(dev,
|
dev_info(dev,
|
||||||
"Xilinx EmacLite at 0x%08X mapped to 0x%08lX, irq=%d\n",
|
"Xilinx EmacLite at 0x%08lX mapped to 0x%08lX, irq=%d\n",
|
||||||
(unsigned int __force)ndev->mem_start,
|
(unsigned long __force)ndev->mem_start,
|
||||||
(unsigned long __force)lp->base_addr, ndev->irq);
|
(unsigned long __force)lp->base_addr, ndev->irq);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue