Add usb-keyspan modules (#2229)
authorFlorian Fainelli <florian@openwrt.org>
Tue, 21 Aug 2007 09:42:25 +0000 (09:42 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 21 Aug 2007 09:42:25 +0000 (09:42 +0000)
SVN-Revision: 8450

package/kernel/modules/usb.mk
target/linux/brcm-2.4/config/default

index 6d2545a..6872b89 100644 (file)
@@ -254,6 +254,29 @@ define KernelPackage/usb-serial-visor
 endef
 $(eval $(call KernelPackage,usb-serial-visor))
 
+define KernelPackage/usb-serial-keyspan
+  $(call usbdep,kmod-usb-serial)
+  TITLE:=Support for Keyspan USB-to-Serial devices
+  DESCRIPTION:=Kernel support for Keyspan USB-to-Serial devices
+  KCONFIG:= \
+               $(CONFIG_USB_SERIAL_KEYSPAN) \
+               $(CONFIG_USB_SERIAL_KEYSPAN_USA28) \
+               $(CONFIG_USB_SERIAL_KEYSPAN_USA28X) \
+               $(CONFIG_USB_SERIAL_KEYSPAN_USA28XA) \
+               $(CONFIG_USB_SERIAL_KEYSPAN_USA28XB) \
+               $(CONFIG_USB_SERIAL_KEYSPAN_USA19) \
+               $(CONFIG_USB_SERIAL_KEYSPAN_USA18X) \
+               $(CONFIG_USB_SERIAL_KEYSPAN_USA19W) \
+               $(CONFIG_USB_SERIAL_KEYSPAN_USA19QW) \
+               $(CONFIG_USB_SERIAL_KEYSPAN_USA19QI) \
+               $(CONFIG_USB_SERIAL_KEYSPAN_MPR) \
+               $(CONFIG_USB_SERIAL_KEYSPAN_USA49W) \
+               $(CONFIG_USB_SERIAL_KEYSPAN_USA49WLC)
+  FILES:=$(LINUX_DIR)/drivers/usb/serial/keyspan.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,65,keyspan)
+endef
+$(eval $(call KernelPackage,usb-serial-keyspan))
+
 define KernelPackage/usb-serial-option
   $(call usbdep,kmod-usb-serial @LINUX_2_6)
   TITLE:=Support for Option HSDPA modems
index ff3d183..72f6f86 100644 (file)
@@ -324,7 +324,19 @@ CONFIG_USB_SERIAL_FTDI_SIO=m
 CONFIG_USB_SERIAL_GENERIC=y
 # CONFIG_USB_SERIAL_IPAQ is not set
 # CONFIG_USB_SERIAL_IR is not set
-# CONFIG_USB_SERIAL_KEYSPAN is not set
+CONFIG_USB_SERIAL_KEYSPAN=m
+CONFIG_USB_SERIAL_KEYSPAN_USA28=y
+CONFIG_USB_SERIAL_KEYSPAN_USA28X=y
+CONFIG_USB_SERIAL_KEYSPAN_USA28XA=y
+CONFIG_USB_SERIAL_KEYSPAN_USA28XB=y
+CONFIG_USB_SERIAL_KEYSPAN_USA19=y
+CONFIG_USB_SERIAL_KEYSPAN_USA18X=y
+CONFIG_USB_SERIAL_KEYSPAN_USA19W=y
+CONFIG_USB_SERIAL_KEYSPAN_USA19QW=y
+CONFIG_USB_SERIAL_KEYSPAN_USA19QI=y
+CONFIG_USB_SERIAL_KEYSPAN_MPR=y
+CONFIG_USB_SERIAL_KEYSPAN_USA49W=y
+CONFIG_USB_SERIAL_KEYSPAN_USA49WLC=y
 # CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
 # CONFIG_USB_SERIAL_KLSI is not set
 # CONFIG_USB_SERIAL_KOBIL_SCT is not set