]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitad49029cc8164c52478c598a97e77af7b5d225e8
tree5d27bf8a4116cafb82270adffef2b3ef793b6088
parent66e7a2d9919dff88c3a3564b96ad8e219f73276d
drivers: net: xilinx_emaclite: remove arch limitation

The changes made in 1f232ab 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