summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-12-05 20:43:45 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-12-05 20:43:45 +0000
commitc03459abc1c335817e45e682baa4b3b5eeefaf4e (patch)
tree6cb4bb42ec3c1b08c0802099916f997babcdbceb /package
parent5d6fe3e144b517ecf98b6d1caa8f6792615edb83 (diff)
kernel: add kmod-usb-serial-wwan
This package is needed by kmod-usb-serial-option Thank you raver (closes #7731) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24271 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 781568f78..693e6ea98 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)