enable MOS7720 usb-serial devices
authorFlorian Fainelli <florian@openwrt.org>
Thu, 27 Jan 2011 21:49:53 +0000 (21:49 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Thu, 27 Jan 2011 21:49:53 +0000 (21:49 +0000)
Enable build of kernel module for MOS7720 usb-serial devices.
Tested on WGT634U and WL500g running trunk @r24238.

Signed-off-by: Marc Zyngier <maz@misterjones.org>
SVN-Revision: 25174

package/kernel/modules/usb.mk

index ab7eebee312817a9e88fc56dfb4d7cdf017c14bc..439d02299d000b68e48d8ba40504901446fdf701 100644 (file)
@@ -346,6 +346,21 @@ endef
 $(eval $(call KernelPackage,usb-serial-mct))
 
 
+define KernelPackage/usb-serial-mos7720
+  TITLE:=Support for Moschip MOS7720 devices
+  KCONFIG:=CONFIG_USB_SERIAL_MOS7720
+  FILES:=$(LINUX_DIR)/drivers/usb/serial/mos7720.ko
+  AUTOLOAD:=$(call AutoLoad,65,mos7720)
+  $(call AddDepends/usb-serial)
+endef
+
+define KernelPackage/usb-serial-mos7720/description
+ Kernel support for Moschip MOS7720 USB-to-Serial converters
+endef
+
+$(eval $(call KernelPackage,usb-serial-mos7720))
+
+
 define KernelPackage/usb-serial-pl2303
   TITLE:=Support for Prolific PL2303 devices
   KCONFIG:=CONFIG_USB_SERIAL_PL2303