Enable build of kernel module for MOS7720 usb-serial devices.
Tested on WGT634U and WL500g running trunk @r24238.

Signed-off-by: Marc Zyngier <[email protected]>

Index: package/kernel/modules/usb.mk
===================================================================
--- package/kernel/modules/usb.mk       (revision 24240)
+++ package/kernel/modules/usb.mk       (working copy)
@@ -345,6 +345,21 @@
 $(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

-- 
I'm the slime oozin' out from your TV set...
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to