kmod-bnxt: Fix package definition
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 25 Mar 2020 22:46:08 +0000 (23:46 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 26 Mar 2020 22:29:26 +0000 (23:29 +0100)
Select some configuration options for the new options and fix the
module name.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/linux/modules/netdevices.mk

index 7d04d56f6a049eb0ab0b539881f157e635ca8984..1f0b6d2f48e4cce55514cc873c69a82ed21e85e5 100644 (file)
@@ -1095,10 +1095,14 @@ $(eval $(call KernelPackage,be2net))
 define KernelPackage/bnxt
   TITLE:=Broadcom NetXtreme-C/E driver
   DEPENDS:=+kmod-hwmon-core
-  KCONFIG:=CONFIG_BNXT
+  KCONFIG:= \
+       CONFIG_BNXT \
+       CONFIG_BNXT_SRIOV=y \
+       CONFIG_BNXT_FLOWER_OFFLOAD=y \
+       CONFIG_BNXT_HWMON=y
   SUBMENU:=$(NETWORK_DEVICES_MENU)
   FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/bnxt/bnxt_en.ko
-  AUTOLOAD:=$(call AutoProbe,bnxt)
+  AUTOLOAD:=$(call AutoProbe,bnxt_en)
 endef
 
 define KernelPackage/bnxt/description