Skip to contentSkip to conversation

usb/serial: ftdi: Enable UART detection on gnICE JTAG adaptors blacklist interface0

PATCH New Bryan Wu 1 participant 1 message Mar 6, 2009

Subsystems (2)
lore
Share & tools
lore

Bryan Wu

author
#0 lore raw

PATCH 1/1 usb/serial: ftdi: Enable UART detection on gnICE JTAG adaptors blacklist interface0

From: Michael Hennerich <[email protected]>

---
 drivers/usb/serial/ftdi_sio.c |    2 ++
 drivers/usb/serial/ftdi_sio.h |    7 +++++++
 2 files changed, 9 insertions(+), 0 deletions(-)
drivers/usb/serial/ftdi_sio.c +2 -0
index f92f4d7..e15ec7c 100644
@@ -663,6 +663,8 @@ static struct usb_device_id id_table_combined [] = {
 	{ USB_DEVICE(ALTI2_VID, ALTI2_N3_PID) },
 	{ USB_DEVICE(FTDI_VID, DIEBOLD_BCS_SE923_PID) },
 	{ USB_DEVICE(FTDI_VID, FTDI_NDI_HUC_PID) },
+	{ USB_DEVICE(ADI_VID, ADI_GNICE_PID),
+		.driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
 	{ },					/* Optional parameter entry */
 	{ }					/* Terminating entry */
 };
drivers/usb/serial/ftdi_sio.h +7 -0
index e300c84..1e42181 100644
@@ -893,6 +893,13 @@
 #define DIEBOLD_BCS_SE923_PID	0xfb99
 
 /*
+ * Blackfin gnICE JTAG
+ * http://docs.blackfin.uclinux.org/doku.php?id=hw:jtag:gnice
+ */
+#define ADI_VID 		0x0456
+#define ADI_GNICE_PID 		0xF000
+
+/*
  *   BmRequestType:  1100 0000b
  *   bRequest:       FTDI_E2_READ
  *   wValue:         0
Signature · 1 line
1.5.6.3