aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Boyett <agb@openwrt.org>2008-07-24 06:25:47 +0000
committerAndy Boyett <agb@openwrt.org>2008-07-24 06:25:47 +0000
commitba51486cc3711054c0f3f9f3c5da8426fb902555 (patch)
treed156d1b425f902c8ca7c3dac9f6f5515c4d6b7e8
parentd9103824d984d733877749d01098704c886fb8d2 (diff)
downloadmaster-187ad058-ba51486cc3711054c0f3f9f3c5da8426fb902555.tar.gz
master-187ad058-ba51486cc3711054c0f3f9f3c5da8426fb902555.tar.bz2
master-187ad058-ba51486cc3711054c0f3f9f3c5da8426fb902555.zip
[kernel] usb-serial: Add ch341 driver for 2.6.24 and later kernels. Closes #2968
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11914 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/modules/usb.mk17
1 files changed, 16 insertions, 1 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index a08fd52f77..dae1b8089e 100644
--- a/package/kernel/modules/usb.mk
+++ b/package/kernel/modules/usb.mk
@@ -256,7 +256,7 @@ $(eval $(call KernelPackage,usb-serial-airprime))
define KernelPackage/usb-serial-belkin
- $(call usbdep,kmod-usb-serial)
+ $(call usbdep,kmod-usb-serial @LINUX_2_6&&@!LINUX_2_6_23)
TITLE:=Support for Belkin devices
KCONFIG:=CONFIG_USB_SERIAL_BELKIN
FILES:=$(LINUX_DIR)/drivers/usb/serial/belkin_sa.$(LINUX_KMOD_SUFFIX)
@@ -270,6 +270,21 @@ endef
$(eval $(call KernelPackage,usb-serial-belkin))
+define KernelPackage/usb-serial-ch341
+ $(call usbdep,kmod-usb-serial)
+ TITLE:=Support for CH341 devices
+ KCONFIG:=CONFIG_USB_SERIAL_CH341
+ FILES:=$(LINUX_DIR)/drivers/usb/serial/ch341.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,65,ch341)
+endef
+
+define KernelPackage/usb-serial-belkin/description
+ Kernel support for Winchiphead CH341 USB-to-Serial converters
+endef
+
+$(eval $(call KernelPackage,usb-serial-ch341))
+
+
define KernelPackage/usb-serial-ftdi
$(call usbdep,kmod-usb-serial)
TITLE:=Support for FTDI devices