diff --git a/arch/arm64/configs/openeuler_defconfig b/arch/arm64/configs/openeuler_defconfig index e2e38cef222407373638dd86112f8b8d1bfefa68..085b1109d8796610554a3fa04e56a62f1dbf832f 100644 --- a/arch/arm64/configs/openeuler_defconfig +++ b/arch/arm64/configs/openeuler_defconfig @@ -2758,6 +2758,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 diff --git a/arch/x86/configs/openeuler_defconfig b/arch/x86/configs/openeuler_defconfig index 584a9361aa70ccb9e48fc509b75f2f4909d85f6a..ae3c9e8435d1255978d275264bb2df701d2bf66e 100644 --- a/arch/x86/configs/openeuler_defconfig +++ b/arch/x86/configs/openeuler_defconfig @@ -2722,6 +2722,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 diff --git a/drivers/net/ethernet/netswift/Kconfig b/drivers/net/ethernet/netswift/Kconfig index b51b5c0cdc66c6c4a051f24ef0c1907b76c2da23..4617b610402b59c35179d11a3131ab8162712ec8 100644 --- a/drivers/net/ethernet/netswift/Kconfig +++ b/drivers/net/ethernet/netswift/Kconfig @@ -61,4 +61,53 @@ config TXGBE_SYSFS Say Y if you want to setup sysfs for these devices. 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 + + 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