diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2009-09-14 10:39:53 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-23 09:46:16 -0400 |
commit | 11eaf170363d264ff587f300e41c927ba5a33967 (patch) | |
tree | fe0e08e4a8b42b706e035ae440560eedda5d9f7a /drivers | |
parent | eb661bc88252e5c6dc69df732e77e42981dd4d8b (diff) |
USB: serial: ftdi: handle gnICE+ JTAG adaptors
Detect the UART on interface1 and blacklist interface0 (as that is the
JTAG port).
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/serial/ftdi_sio.c | 2 | ||||
-rw-r--r-- | drivers/usb/serial/ftdi_sio.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 7c8eb53d88eb..4f883b1773d0 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
@@ -697,6 +697,8 @@ static struct usb_device_id id_table_combined [] = { | |||
697 | { USB_DEVICE(DE_VID, WHT_PID) }, | 697 | { USB_DEVICE(DE_VID, WHT_PID) }, |
698 | { USB_DEVICE(ADI_VID, ADI_GNICE_PID), | 698 | { USB_DEVICE(ADI_VID, ADI_GNICE_PID), |
699 | .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, | 699 | .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, |
700 | { USB_DEVICE(ADI_VID, ADI_GNICEPLUS_PID), | ||
701 | .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, | ||
700 | { USB_DEVICE(JETI_VID, JETI_SPC1201_PID) }, | 702 | { USB_DEVICE(JETI_VID, JETI_SPC1201_PID) }, |
701 | { USB_DEVICE(MARVELL_VID, MARVELL_SHEEVAPLUG_PID), | 703 | { USB_DEVICE(MARVELL_VID, MARVELL_SHEEVAPLUG_PID), |
702 | .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, | 704 | .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, |
diff --git a/drivers/usb/serial/ftdi_sio.h b/drivers/usb/serial/ftdi_sio.h index 35c2c4801c4d..6f31e0d71898 100644 --- a/drivers/usb/serial/ftdi_sio.h +++ b/drivers/usb/serial/ftdi_sio.h | |||
@@ -933,6 +933,7 @@ | |||
933 | */ | 933 | */ |
934 | #define ADI_VID 0x0456 | 934 | #define ADI_VID 0x0456 |
935 | #define ADI_GNICE_PID 0xF000 | 935 | #define ADI_GNICE_PID 0xF000 |
936 | #define ADI_GNICEPLUS_PID 0xF001 | ||
936 | 937 | ||
937 | /* | 938 | /* |
938 | * JETI SPECTROMETER SPECBOS 1201 | 939 | * JETI SPECTROMETER SPECBOS 1201 |