kernel: netdev: add qlcnic
authorVieno Hakkerinen <vieno@hakkerinen.eu>
Tue, 20 Apr 2021 13:37:44 +0000 (15:37 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 30 Apr 2021 22:37:09 +0000 (00:37 +0200)
Add driver for QLogic QLE8240 and QLE8242 Converged Ethernet devices.

Signed-off-by: Vieno Hakkerinen <vieno@hakkerinen.eu>
package/kernel/linux/modules/netdevices.mk

index 5c1f3b2ee73d60ba6e302e93b9478714249317ae..5308442003f1332dff6625f99a5d322e38b49577 100644 (file)
@@ -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