[PATCH] kernel: netdev: add qlcnic
vieno at hakkerinen.eu
vieno at hakkerinen.eu
Tue Apr 20 14:37:44 BST 2021
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 bc6ed2c7aa..defb3c1de7 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -885,6 +885,23 @@ endef
$(eval $(call KernelPackage,macvlan))
+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/tulip
TITLE:=Tulip family network device support
DEPENDS:=@PCI_SUPPORT +kmod-mii
--
2.31.1
More information about the openwrt-devel
mailing list