浏览代码

USB: ftdi_sio: add vendor/project id for JETI specbos 1201 spectrometer

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Peter Korsgaard 16 年之前
父节点
当前提交
ae27d84351
共有 2 个文件被更改,包括 8 次插入0 次删除
  1. 1 0
      drivers/usb/serial/ftdi_sio.c
  2. 7 0
      drivers/usb/serial/ftdi_sio.h

+ 1 - 0
drivers/usb/serial/ftdi_sio.c

@@ -668,6 +668,7 @@ static struct usb_device_id id_table_combined [] = {
 	{ USB_DEVICE(DE_VID, WHT_PID) },
 	{ USB_DEVICE(DE_VID, WHT_PID) },
 	{ USB_DEVICE(ADI_VID, ADI_GNICE_PID),
 	{ USB_DEVICE(ADI_VID, ADI_GNICE_PID),
 		.driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
 		.driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
+	{ USB_DEVICE(JETI_VID, JETI_SPC1201_PID) },
 	{ },					/* Optional parameter entry */
 	{ },					/* Optional parameter entry */
 	{ }					/* Terminating entry */
 	{ }					/* Terminating entry */
 };
 };

+ 7 - 0
drivers/usb/serial/ftdi_sio.h

@@ -912,6 +912,13 @@
 #define ADI_VID 		0x0456
 #define ADI_VID 		0x0456
 #define ADI_GNICE_PID 		0xF000
 #define ADI_GNICE_PID 		0xF000
 
 
+/*
+ * JETI SPECTROMETER SPECBOS 1201
+ * http://www.jeti.com/products/sys/scb/scb1201.php
+ */
+#define JETI_VID		0x0c6c
+#define JETI_SPC1201_PID	0x04b2
+
 /*
 /*
  *   BmRequestType:  1100 0000b
  *   BmRequestType:  1100 0000b
  *   bRequest:       FTDI_E2_READ
  *   bRequest:       FTDI_E2_READ