linux-stable/drivers/net/ethernet/fungible/Kconfig
Dimitris Michailidis 40bb09c87f net/fungible: CONFIG_FUN_CORE needs SBITMAP
fun_core.ko uses sbitmaps and needs to select SBITMAP.
Fixes below errors:

ERROR: modpost: "__sbitmap_queue_get"
[drivers/net/ethernet/fungible/funcore/funcore.ko] undefined!
ERROR: modpost: "sbitmap_finish_wait"
[drivers/net/ethernet/fungible/funcore/funcore.ko] undefined!
ERROR: modpost: "sbitmap_queue_clear"
[drivers/net/ethernet/fungible/funcore/funcore.ko] undefined!
ERROR: modpost: "sbitmap_prepare_to_wait"
[drivers/net/ethernet/fungible/funcore/funcore.ko] undefined!
ERROR: modpost: "sbitmap_queue_init_node"
[drivers/net/ethernet/fungible/funcore/funcore.ko] undefined!
ERROR: modpost: "sbitmap_queue_wake_all"
[drivers/net/ethernet/fungible/funcore/funcore.ko] undefined!

v2: correct "Fixes" SHA

Fixes: 749efb1e6d ("net/fungible: Kconfig, Makefiles, and MAINTAINERS")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Dimitris Michailidis <dmichail@fungible.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-03-09 11:26:44 +00:00

28 lines
702 B
Text

# SPDX-License-Identifier: GPL-2.0-only
#
# Fungible network driver configuration
#
config NET_VENDOR_FUNGIBLE
bool "Fungible devices"
default y
help
If you have a Fungible network device, 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 Fungible cards. If you say Y, you will be asked
for your specific card in the following questions.
if NET_VENDOR_FUNGIBLE
config FUN_CORE
tristate
select SBITMAP
help
A service module offering basic common services to Fungible
device drivers.
source "drivers/net/ethernet/fungible/funeth/Kconfig"
endif # NET_VENDOR_FUNGIBLE