kernel: add Marvell FastLinQ 41xxx 10/25/40/100Gb Ethernet NIC device support

This commit is contained in:
lean 2022-02-27 12:34:43 +08:00
parent 98375d3b03
commit 9b1a3e1cf8
2 changed files with 27 additions and 0 deletions

View File

@ -70,3 +70,11 @@ define Package/libertas-spi-firmware/install
endef
$(eval $(call BuildPackage,libertas-spi-firmware))
Package/qed-firmware = $(call Package/firmware-default,=QLogic FastLinQ 41xxx firmware)
define Package/qed-firmware/install
$(INSTALL_DIR) $(1)/lib/firmware/qed
$(INSTALL_DATA) \
$(PKG_BUILD_DIR)/qed/* \
$(1)/lib/firmware/qed/
endef
$(eval $(call BuildPackage,qed-firmware))

View File

@ -1233,6 +1233,25 @@ endef
$(eval $(call KernelPackage,qlcnic))
define KernelPackage/qede
SUBMENU:=$(NETWORK_DEVICES_MENU)
DEPENDS:=@PCI_SUPPORT +kmod-ptp
TITLE:=QLogic FastLinQ 10/25/40/100Gb Ethernet NIC device support
KCONFIG:= \
CONFIG_QLCNIC \
CONFIG_QED=y \
CONFIG_QEDE=y
FILES:=$(LINUX_DIR)/drivers/net/ethernet/qlogic/qede/qede.ko
AUTOLOAD:=$(call AutoProbe,qede)
endef
define KernelPackage/qede/description
This driver supports QLogic FastLinQ 25/40/100Gb Ethernet NIC
devices.
endef
$(eval $(call KernelPackage,qede))
define KernelPackage/sfp
SUBMENU:=$(NETWORK_DEVICES_MENU)