2427f03fb4
The LiteX driver uses devm io function API which
needs HAS_IOMEM enabled, so add the dependency on HAS_IOMEM.
Fixes: ee7da21ac4
("net: Add driver for LiteX's LiteETH network interface")
Signed-off-by: Cai Huoqing <cai.huoqing@linux.dev>
Link: https://lore.kernel.org/r/20220208013308.6563-1-cai.huoqing@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
29 lines
812 B
Plaintext
29 lines
812 B
Plaintext
#
|
|
# LiteX device configuration
|
|
#
|
|
|
|
config NET_VENDOR_LITEX
|
|
bool "LiteX devices"
|
|
default y
|
|
help
|
|
If you have a network (Ethernet) card belonging to this class, say Y.
|
|
|
|
Note that the answer to this question doesn't directly affect the
|
|
kernel: saying N will just cause the configurator to skip all
|
|
the questions about LiteX devices. If you say Y, you will be asked
|
|
for your specific card in the following questions.
|
|
|
|
if NET_VENDOR_LITEX
|
|
|
|
config LITEX_LITEETH
|
|
tristate "LiteX Ethernet support"
|
|
depends on OF && HAS_IOMEM
|
|
help
|
|
If you wish to compile a kernel for hardware with a LiteX LiteEth
|
|
device then you should answer Y to this.
|
|
|
|
LiteX is a soft system-on-chip that targets FPGAs. LiteETH is a basic
|
|
network device that is commonly used in LiteX designs.
|
|
|
|
endif # NET_VENDOR_LITEX
|