From: Vieno Hakkerinen Date: Tue, 20 Apr 2021 13:37:44 +0000 (+0200) Subject: kernel: netdev: add qlcnic X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f88c64d28ccf6a9616188b424649001fcc0344ee;p=openwrt%2Fstaging%2F981213.git kernel: netdev: add qlcnic Add driver for QLogic QLE8240 and QLE8242 Converged Ethernet devices. Signed-off-by: Vieno Hakkerinen --- 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