mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
![Cai Huoqing](/assets/img/avatar_default.png)
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>
28 lines
812 B
Text
28 lines
812 B
Text
#
|
|
# 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
|