[openwrt/openwrt] kernel: add missing symbol to kmod-qlcnic

LEDE Commits lede-commits at lists.infradead.org
Fri Jul 23 02:33:43 PDT 2021


stintel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/3cb22b277a312445bfe34f5e32626c4448f95b77

commit 3cb22b277a312445bfe34f5e32626c4448f95b77
Author: Stijn Tintel <stijn at linux-ipv6.be>
AuthorDate: Thu Jul 22 16:37:12 2021 +0300

    kernel: add missing symbol to kmod-qlcnic
    
    When the kmod-qlcnic package is built on targets that have
    CONFIG_PCI_IOV enabled, the CONFIG_QLCNIC_SRIOV symbol is exposed.
    Enable this symbol in the kmod package to fix its build.
    
    Signed-off-by: Stijn Tintel <stijn at linux-ipv6.be>
---
 package/kernel/linux/modules/netdevices.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index b91442748d..6bbaf21e4a 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -1199,7 +1199,8 @@ define KernelPackage/qlcnic
   TITLE:=QLogic QLE8240 and QLE8242 device support
   KCONFIG:= \
 	CONFIG_QLCNIC \
-	CONFIG_QLCNIC_HWMON=y
+	CONFIG_QLCNIC_HWMON=y \
+	CONFIG_QLCNIC_SRIOV=y
   FILES:=$(LINUX_DIR)/drivers/net/ethernet/qlogic/qlcnic/qlcnic.ko
   AUTOLOAD:=$(call AutoProbe,qlcnic)
 endef



More information about the lede-commits mailing list