Commit 205cbcaa authored by Duanqiang Wen's avatar Duanqiang Wen
Browse files

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: default avatarDuanqiang Wen <duanqiangwen@net-swift.com>
parent e946b0e0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2755,7 +2755,8 @@ CONFIG_I40EVF=m
CONFIG_ICE=m
CONFIG_FM10K=m
# CONFIG_IGC is not set
# CONFIG_NET_VENDOR_NETSWIFT is not set
CONFIG_NET_VENDOR_NETSWIFT=y
CONFIG_NGBE=m
# CONFIG_JME is not set
# CONFIG_NET_VENDOR_MARVELL is not set
CONFIG_NET_VENDOR_MELLANOX=y
+1 −0
Original line number Diff line number Diff line
@@ -2721,6 +2721,7 @@ CONFIG_FM10K=m
# CONFIG_IGC is not set
CONFIG_NET_VENDOR_NETSWIFT=y
CONFIG_TXGBE=m
CONFIG_NGBE=m
# CONFIG_JME is not set
# CONFIG_NET_VENDOR_MARVELL is not set
CONFIG_NET_VENDOR_MELLANOX=y
+55 −0
Original line number Diff line number Diff line
@@ -17,5 +17,60 @@ config NET_VENDOR_NETSWIFT
if NET_VENDOR_NETSWIFT

source "drivers/net/ethernet/netswift/txgbe/Kconfig"
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.
	  For more information on how to identify your adapter, go
          to <http://www.net-swift.com>

	  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.
	  For more information on how to identify your adapter, go
          to <http://www.net-swift.com>

	  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.
	  For more information on how to identify your adapter, go
          to <http://www.net-swift.com>

	  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.
	  For more information on how to identify your adapter, go
          to <http://www.net-swift.com>

	  If unsure, say N.

endif # NET_VENDOR_NETSWIFT