kernel: modules: package driver for MediaTek T7xx PCIe 5G modem

Build and package driver for MediaTek PCIe 5G WWAN modem T7xx device
available in Linux 6.1 and 6.6 as kmod-mtk-t7xx.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2024-03-17 22:38:58 +00:00
parent 081cd769fc
commit 40fce9dcb8
1 changed files with 17 additions and 0 deletions

View File

@ -1706,6 +1706,23 @@ endef
$(eval $(call KernelPackage,mhi-wwan-mbim))
define KernelPackage/mtk-t7xx
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=MediaTek T7xx 5G modem
DEPENDS:=@!LINUX_5_15 @PCI_SUPPORT +kmod-wwan
KCONFIG:=CONFIG_MTK_T7XX
FILES:=$(LINUX_DIR)/drivers/net/wwan/t7xx/mtk_t7xx.ko
AUTOLOAD:=$(call AutoProbe,mtk_t7xx)
endef
define KernelPackage/mtk-t7xx/description
Driver for MediaTek PCIe 5G WWAN modem T7xx device
endef
$(eval $(call KernelPackage,mtk-t7xx))
define KernelPackage/atlantic
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Aquantia AQtion 10Gbps Ethernet NIC