OSDN Git Service

drivers: net: xilinx_emaclite: remove arch limitation
authorGary Guo <gary@garyguo.net>
Tue, 16 Feb 2021 22:33:42 +0000 (22:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Feb 2021 22:48:59 +0000 (14:48 -0800)
commit18af77c50fede5b3fc22aa9f0a9b255a5c5285c9
tree5d27bf8a4116cafb82270adffef2b3ef793b6088
parent43d42e65699461c602abf2ee4fe5e6aad032a75b
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>
drivers/net/ethernet/xilinx/Kconfig
drivers/net/ethernet/xilinx/xilinx_emaclite.c