From: Hauke Mehrtens Date: Sun, 5 Dec 2010 20:43:45 +0000 (+0000) Subject: kernel: add kmod-usb-serial-wwan X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ab461fd74fdb312ddb03f8f6a4a990eae0d8b7f6;p=openwrt%2Fstaging%2F981213.git kernel: add kmod-usb-serial-wwan This package is needed by kmod-usb-serial-option Thank you raver (closes #7731) SVN-Revision: 24271 --- diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk index 781568f78e..693e6ea985 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)