[openwrt/openwrt] kernel: modules: package driver for MediaTek T7xx PCIe 5G modem
LEDE Commits
lede-commits at lists.infradead.org
Sun Mar 17 18:53:54 PDT 2024
dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/40fce9dcb89a5b0cb179c82f11913edb004629fc
commit 40fce9dcb89a5b0cb179c82f11913edb004629fc
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Sun Mar 17 22:38:58 2024 +0000
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 at makrotopia.org>
---
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 d43866ed9b..af1d8b485e 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -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
More information about the lede-commits
mailing list