mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-29 12:25:04 -04:00
In testing the recent kernel I found that the fbnic driver couldn't be
enabled on x86_64 builds. A bit of digging showed that the fbnic driver was
the only one to check for S390 to be n, all others had checked for !S390.
Since it is a boolean and not a tristate I am not sure it will be N. So
just update it to use the !S390 flag.
A quick check via "make menuconfig" verified that after making this change
there was an option to select the fbnic driver.
Fixes 0e03c643dc ("eth: fbnic: fix s390 build.")
Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
Reviewed-by: Joe Damato <jdamato@fastly.com>
Link: https://patch.msgid.link/172192698293.1903337.4255690118685300353.stgit@ahduyck-xeon-server.home.arpa
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
34 lines
964 B
Plaintext
34 lines
964 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Meta Platforms network device configuration
|
|
#
|
|
|
|
config NET_VENDOR_META
|
|
bool "Meta Platforms devices"
|
|
default y
|
|
help
|
|
If you have a network (Ethernet) card designed by Meta, say Y.
|
|
That's Meta as in the parent company of Facebook.
|
|
|
|
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 Meta cards. If you say Y, you will be asked for
|
|
your specific card in the following questions.
|
|
|
|
if NET_VENDOR_META
|
|
|
|
config FBNIC
|
|
tristate "Meta Platforms Host Network Interface"
|
|
depends on X86_64 || COMPILE_TEST
|
|
depends on !S390
|
|
depends on MAX_SKB_FRAGS < 22
|
|
depends on PCI_MSI
|
|
select PHYLINK
|
|
help
|
|
This driver supports Meta Platforms Host Network Interface.
|
|
|
|
To compile this driver as a module, choose M here. The module
|
|
will be called fbnic. MSI-X interrupt support is required.
|
|
|
|
endif # NET_VENDOR_META
|