summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-01-28 18:20:10 +0000
committerJohn Crispin <john@openwrt.org>2013-01-28 18:20:10 +0000
commit0fb081bb5a284f36e3d81890c2150191abc9a686 (patch)
treed2918c417e3910070636cffafc740970be5f4a0a
parent756a7c5451672562ac0c301134a0886f819fb20b (diff)
downloadmtk-20170518-0fb081bb5a284f36e3d81890c2150191abc9a686.zip
mtk-20170518-0fb081bb5a284f36e3d81890c2150191abc9a686.tar.gz
mtk-20170518-0fb081bb5a284f36e3d81890c2150191abc9a686.tar.bz2
package ncm & qmi wwan
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3134/ SVN-Revision: 35360
-rw-r--r--package/kernel/modules/usb.mk46
1 files changed, 46 insertions, 0 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index 0a995d0..be9ed20 100644
--- a/package/kernel/modules/usb.mk
+++ b/package/kernel/modules/usb.mk
@@ -169,6 +169,22 @@ endef
$(eval $(call KernelPackage,usb-acm))
+define KernelPackage/usb-wdm
+ TITLE:=USB Wireless Device Management
+ KCONFIG:=CONFIG_USB_WDM
+ FILES:=$(LINUX_DIR)/drivers/usb/class/cdc-wdm.ko
+ AUTOLOAD:=$(call AutoLoad,60,cdc-wdm)
+$(call AddDepends/usb)
+$(call AddDepends/usb-net)
+endef
+
+define KernelPackage/usb-wdm/description
+ USB Wireless Device Management support
+endef
+
+$(eval $(call KernelPackage,usb-wdm))
+
+
define KernelPackage/usb-audio
TITLE:=Support for USB audio devices
KCONFIG:= \
@@ -780,6 +796,21 @@ endef
$(eval $(call KernelPackage,usb-net-cdc-ether))
+define KernelPackage/usb-net-qmi-wwan
+ TITLE:=QMI WWAN driver
+ KCONFIG:=CONFIG_USB_NET_QMI_WWAN
+ FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/qmi_wwan.ko
+ AUTOLOAD:=$(call AutoLoad,61,qmi_wwan)
+ $(call AddDepends/usb-net,+kmod-usb-wdm)
+endef
+
+define KernelPackage/usb-net-qmi-wwan/description
+ QMI WWAN driver for Qualcomm MSM based 3G and LTE modems
+endef
+
+$(eval $(call KernelPackage,usb-net-qmi-wwan))
+
+
define KernelPackage/usb-net-rndis
TITLE:=Support for RNDIS connections
KCONFIG:=CONFIG_USB_NET_RNDIS_HOST
@@ -794,6 +825,21 @@ endef
$(eval $(call KernelPackage,usb-net-rndis))
+define KernelPackage/usb-net-cdc-ncm
+ TITLE:=Support for CDC NCM connections
+ KCONFIG:=CONFIG_USB_NET_CDC_NCM
+ FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ncm.ko
+ AUTOLOAD:=$(call AutoLoad,61,cdc_ncm)
+ $(call AddDepends/usb-net)
+endef
+
+define KernelPackage/usb-net-cdc-ncm/description
+ Kernel support for CDC NCM connections
+endef
+
+$(eval $(call KernelPackage,usb-net-cdc-ncm))
+
+
define KernelPackage/usb-net-sierrawireless
TITLE:=Support for Sierra Wireless devices
KCONFIG:=CONFIG_USB_SIERRA_NET