[openwrt/openwrt] kernel: netdev: add qlcnic

LEDE Commits lede-commits at lists.infradead.org
Fri Apr 30 23:37:54 BST 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/f88c64d28ccf6a9616188b424649001fcc0344ee

commit f88c64d28ccf6a9616188b424649001fcc0344ee
Author: Vieno Hakkerinen <vieno at hakkerinen.eu>
AuthorDate: Tue Apr 20 15:37:44 2021 +0200

    kernel: netdev: add qlcnic
    
    Add driver for QLogic QLE8240 and QLE8242 Converged Ethernet devices.
    
    Signed-off-by: Vieno Hakkerinen <vieno at hakkerinen.eu>
---
 package/kernel/linux/modules/netdevices.mk | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 5c1f3b2ee7..5308442003 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -1193,6 +1193,23 @@ endef
 $(eval $(call KernelPackage,mlx5-core))
 
 
+define KernelPackage/qlcnic
+  SUBMENU:=$(NETWORK_DEVICES_MENU)
+  DEPENDS:=@PCI_SUPPORT
+  TITLE:=QLogic QLE8240 and QLE8242 device support
+  KCONFIG:=CONFIG_QLCNIC
+  FILES:=$(LINUX_DIR)/drivers/net/ethernet/qlogic/qlcnic/qlcnic.ko
+  AUTOLOAD:=$(call AutoProbe,qlcnic)
+endef
+
+define KernelPackage/macvlan/description
+  This driver supports QLogic QLE8240 and QLE8242 Converged Ethernet
+  devices.
+endef
+
+$(eval $(call KernelPackage,qlcnic))
+
+
 define KernelPackage/sfp
   SUBMENU:=$(NETWORK_DEVICES_MENU)
   TITLE:=SFP cage support



More information about the lede-commits mailing list