mirror of
https://github.com/torvalds/linux.git
synced 2026-04-23 09:05:50 -04:00
As we have exposed the PCS registers via the SWMII we can now start looking at connecting the XPCS driver to those registers and let it mange the PCS instead of us doing it directly from the fbnic driver. For now this just gets us the ability to detect link. The hope is in the future to add some of the vendor specific registers to begin enabling XPCS configuration of the interface. Signed-off-by: Alexander Duyck <alexanderduyck@fb.com> Link: https://patch.msgid.link/176374325295.959489.14521115864034905277.stgit@ahduyck-xeon-server.home.arpa Signed-off-by: Paolo Abeni <pabeni@redhat.com>
39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
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 64BIT || COMPILE_TEST
|
|
depends on !S390
|
|
depends on MAX_SKB_FRAGS < 22
|
|
depends on PCI_MSI
|
|
depends on PTP_1588_CLOCK_OPTIONAL
|
|
select NET_DEVLINK
|
|
select PAGE_POOL
|
|
select PCS_XPCS
|
|
select PHYLINK
|
|
select PLDMFW
|
|
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
|