mirror of
https://github.com/FUjr/gl-infra-builder.git
synced 2025-12-16 09:10:02 +00:00
36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
From 75dc11fc93e46b3c511958c0ba5c5e209dafeb49 Mon Sep 17 00:00:00 2001
|
|
From: Jianhui Zhao <jianhui.zhao@gl-inet.com>
|
|
Date: Thu, 20 Oct 2022 12:20:00 +0800
|
|
Subject: [PATCH] modules: add support lg-vl600
|
|
|
|
Signed-off-by: Jianhui Zhao <jianhui.zhao@gl-inet.com>
|
|
---
|
|
package/kernel/linux/modules/usb.mk | 11 +++++++++++
|
|
1 file changed, 11 insertions(+)
|
|
|
|
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
|
|
index 93f99f7cbe..a791a5f990 100644
|
|
--- a/package/kernel/linux/modules/usb.mk
|
|
+++ b/package/kernel/linux/modules/usb.mk
|
|
@@ -1470,6 +1470,17 @@ endef
|
|
|
|
$(eval $(call KernelPackage,usb-net-pl))
|
|
|
|
+define KernelPackage/usb-net-vl600
|
|
+ TITLE:=LG VL600 modem dongle
|
|
+ KCONFIG:=CONFIG_USB_VL600
|
|
+ FILES:=$(LINUX_DIR)/drivers/net/usb/lg-vl600.ko
|
|
+ AUTOLOAD:=$(call AutoProbe,lg-vl600)
|
|
+ DEPENDS:=+kmod-usb-net-cdc-ether
|
|
+ $(call AddDepends/usb-net)
|
|
+endef
|
|
+
|
|
+$(eval $(call KernelPackage,usb-net-vl600))
|
|
+
|
|
define KernelPackage/usb-hid
|
|
TITLE:=Support for USB Human Input Devices
|
|
KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID CONFIG_USB_HIDDEV=y
|
|
--
|
|
2.25.1
|
|
|