Skip to contentSkip to conversation

USB: serial: ftdi: handle gnICE+ JTAG adaptors

PATCH New Mike Frysinger 1 participant 1 message Sep 14, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 USB: serial: ftdi: handle gnICE+ JTAG adaptors

From: Michael Hennerich <[email protected]>

Detect the UART on interface1 and blacklist interface0 (as that is the JTAG port).

---
 drivers/usb/serial/ftdi_sio.c |    2 ++
 drivers/usb/serial/ftdi_sio.h |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)
drivers/usb/serial/ftdi_sio.c +2 -0
index 8fec5d4..de342f0 100644
@@ -694,6 +694,8 @@ static struct usb_device_id id_table_combined [] = {
 	{ USB_DEVICE(DE_VID, WHT_PID) },
 	{ USB_DEVICE(ADI_VID, ADI_GNICE_PID),
 		.driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
+	{ USB_DEVICE(ADI_VID, ADI_GNICEPLUS_PID),
+		.driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
 	{ USB_DEVICE(JETI_VID, JETI_SPC1201_PID) },
 	{ USB_DEVICE(MARVELL_VID, MARVELL_SHEEVAPLUG_PID),
 		.driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
drivers/usb/serial/ftdi_sio.h +1 -0
index 8c92b88..eb8ad1f 100644
@@ -930,6 +930,7 @@
  */
 #define ADI_VID 		0x0456
 #define ADI_GNICE_PID 		0xF000
+#define ADI_GNICEPLUS_PID 	0xF001
 
 /*
  * JETI SPECTROMETER SPECBOS 1201
Signature · 1 line
1.6.4.2