提交 95b1ccc0 编写于 作者: D Duanqiang Wen

openeuler: config: add NGBE MODODULE CONFIG

driver inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I61PSD
CVE: NA

1.add CONFIG_NETSWIFT_NGBE=m in x64/arm64 openeuler_defconfig
2.add config for ngbe module in netswift Kconfig
Signed-off-by: NDuanqiang Wen <duanqiangwen@net-swift.com>
上级 45462d25
...@@ -2758,6 +2758,7 @@ CONFIG_FM10K=m ...@@ -2758,6 +2758,7 @@ CONFIG_FM10K=m
# CONFIG_IGC is not set # CONFIG_IGC is not set
CONFIG_NET_VENDOR_NETSWIFT=y CONFIG_NET_VENDOR_NETSWIFT=y
CONFIG_TXGBE=m CONFIG_TXGBE=m
CONFIG_NGBE=m
# CONFIG_JME is not set # CONFIG_JME is not set
# CONFIG_NET_VENDOR_MARVELL is not set # CONFIG_NET_VENDOR_MARVELL is not set
CONFIG_NET_VENDOR_MELLANOX=y CONFIG_NET_VENDOR_MELLANOX=y
......
...@@ -2722,6 +2722,7 @@ CONFIG_FM10K=m ...@@ -2722,6 +2722,7 @@ CONFIG_FM10K=m
# CONFIG_IGC is not set # CONFIG_IGC is not set
CONFIG_NET_VENDOR_NETSWIFT=y CONFIG_NET_VENDOR_NETSWIFT=y
CONFIG_TXGBE=m CONFIG_TXGBE=m
CONFIG_NGBE=m
# CONFIG_JME is not set # CONFIG_JME is not set
# CONFIG_NET_VENDOR_MARVELL is not set # CONFIG_NET_VENDOR_MARVELL is not set
CONFIG_NET_VENDOR_MELLANOX=y CONFIG_NET_VENDOR_MELLANOX=y
......
...@@ -61,4 +61,53 @@ config TXGBE_SYSFS ...@@ -61,4 +61,53 @@ config TXGBE_SYSFS
Say Y if you want to setup sysfs for these devices. Say Y if you want to setup sysfs for these devices.
If unsure, say N. If unsure, say N.
config NGBE
tristate "Netswift PCI-Express Gigabit Ethernet support"
depends on PCI
imply PTP_1588_CLOCK
help
This driver supports Netswift gigabit ethernet adapters.
For more information on how to identify your adapter, go
to <http://www.net-swift.com>
To compile this driver as a module, choose M here. The module
will be called ngbe.
config NGBE_HWMON
bool "Netswift PCI-Express Gigabit adapters HWMON support"
default n
depends on NGBE && HWMON && !(NGBE=y && HWMON=m)
help
Say Y if you want to expose thermal sensor data on these devices.
If unsure, say N.
config NGBE_DEBUG_FS
bool "Netswift PCI-Express Gigabit adapters debugfs support"
default n
depends on NGBE
help
Say Y if you want to setup debugfs for these devices.
If unsure, say N.
config NGBE_POLL_LINK_STATUS
bool "Netswift PCI-Express Gigabit adapters poll mode support"
default n
depends on NGBE
help
Say Y if you want to turn these devices to poll mode instead of interrupt-trigged TX/RX.
If unsure, say N.
config NGBE_SYSFS
bool "Netswift PCI-Express Gigabit adapters sysfs support"
default n
depends on NGBE
help
Say Y if you want to setup sysfs for these devices.
If unsure, say N.
endif # NET_VENDOR_NETSWIFT endif # NET_VENDOR_NETSWIFT
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册