summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2010-12-05 20:43:45 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2010-12-05 20:43:45 +0000
commitab461fd74fdb312ddb03f8f6a4a990eae0d8b7f6 (patch)
treeaedc840617eda9a08d00a346f8d79d57abff26fd /package
parent0449d92dd77cd6af3927898e7cc4c0d7c78eed60 (diff)
downloadmtk-20170518-ab461fd74fdb312ddb03f8f6a4a990eae0d8b7f6.zip
mtk-20170518-ab461fd74fdb312ddb03f8f6a4a990eae0d8b7f6.tar.gz
mtk-20170518-ab461fd74fdb312ddb03f8f6a4a990eae0d8b7f6.tar.bz2
kernel: add kmod-usb-serial-wwan
This package is needed by kmod-usb-serial-option Thank you raver (closes #7731) SVN-Revision: 24271
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/usb.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index 781568f..693e6ea 100644
--- a/package/kernel/modules/usb.mk
+++ b/package/kernel/modules/usb.mk
@@ -496,8 +496,25 @@ endef
$(eval $(call KernelPackage,usb-serial-keyspan))
+define KernelPackage/usb-serial-wwan
+ TITLE:=Support for GSM and CDMA modems
+ DEPENDS:= @LINUX_2_6_35||LINUX_2_6_36||LINUX_2_6_37
+ KCONFIG:=CONFIG_USB_SERIAL_WWAN
+ FILES:=$(LINUX_DIR)/drivers/usb/serial/usb_wwan.ko
+ AUTOLOAD:=$(call AutoLoad,61,usb_wwan)
+ $(call AddDepends/usb-serial)
+endef
+
+define KernelPackage/usb-serial-wwan/description
+ Kernel support for USB GSM and CDMA modems
+endef
+
+$(eval $(call KernelPackage,usb-serial-wwan))
+
+
define KernelPackage/usb-serial-option
TITLE:=Support for Option HSDPA modems
+ DEPENDS:=+LINUX_2_6_35||LINUX_2_6_36||LINUX_2_6_37:kmod-usb-serial-wwan
KCONFIG:=CONFIG_USB_SERIAL_OPTION
FILES:=$(LINUX_DIR)/drivers/usb/serial/option.ko
AUTOLOAD:=$(call AutoLoad,65,option)