diff options
author | Sebastien Bourdeauducq <sebastien@milkymist.org> | 2010-11-03 06:54:12 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-11-08 15:28:32 -0500 |
commit | 7fea0f714ffb3f303d4b66933af2df2f5584c9bf (patch) | |
tree | 337d4dcd1353ba1cc6193222f7b1cd569a905ca8 /drivers/usb | |
parent | a91be2acc648f18d39b15c6eb7136b0c208e2cab (diff) |
USB: ftdi_sio: add device IDs for Milkymist One JTAG/serial
Add the USB IDs for the Milkymist One FTDI-based JTAG/serial adapter
(http://projects.qi-hardware.com/index.php/p/mmone-jtag-serial-cable/)
to the ftdi_sio driver and disable the first serial channel (used as
JTAG from userspace).
Signed-off-by: Sebastien Bourdeauducq <sebastien@milkymist.org>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/serial/ftdi_sio.c | 2 | ||||
-rw-r--r-- | drivers/usb/serial/ftdi_sio_ids.h | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 89a9a5847803..76f8b3556672 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
@@ -794,6 +794,8 @@ static struct usb_device_id id_table_combined [] = { | |||
794 | { USB_DEVICE(FTDI_VID, FTDI_SCIENCESCOPE_LOGBOOKML_PID) }, | 794 | { USB_DEVICE(FTDI_VID, FTDI_SCIENCESCOPE_LOGBOOKML_PID) }, |
795 | { USB_DEVICE(FTDI_VID, FTDI_SCIENCESCOPE_LS_LOGBOOK_PID) }, | 795 | { USB_DEVICE(FTDI_VID, FTDI_SCIENCESCOPE_LS_LOGBOOK_PID) }, |
796 | { USB_DEVICE(FTDI_VID, FTDI_SCIENCESCOPE_HS_LOGBOOK_PID) }, | 796 | { USB_DEVICE(FTDI_VID, FTDI_SCIENCESCOPE_HS_LOGBOOK_PID) }, |
797 | { USB_DEVICE(QIHARDWARE_VID, MILKYMISTONE_JTAGSERIAL_PID), | ||
798 | .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, | ||
797 | { }, /* Optional parameter entry */ | 799 | { }, /* Optional parameter entry */ |
798 | { } /* Terminating entry */ | 800 | { } /* Terminating entry */ |
799 | }; | 801 | }; |
diff --git a/drivers/usb/serial/ftdi_sio_ids.h b/drivers/usb/serial/ftdi_sio_ids.h index 7dfe02f1fb6a..263f62551197 100644 --- a/drivers/usb/serial/ftdi_sio_ids.h +++ b/drivers/usb/serial/ftdi_sio_ids.h | |||
@@ -1100,3 +1100,10 @@ | |||
1100 | #define FTDI_SCIENCESCOPE_LOGBOOKML_PID 0xFF18 | 1100 | #define FTDI_SCIENCESCOPE_LOGBOOKML_PID 0xFF18 |
1101 | #define FTDI_SCIENCESCOPE_LS_LOGBOOK_PID 0xFF1C | 1101 | #define FTDI_SCIENCESCOPE_LS_LOGBOOK_PID 0xFF1C |
1102 | #define FTDI_SCIENCESCOPE_HS_LOGBOOK_PID 0xFF1D | 1102 | #define FTDI_SCIENCESCOPE_HS_LOGBOOK_PID 0xFF1D |
1103 | |||
1104 | /* | ||
1105 | * Milkymist One JTAG/Serial | ||
1106 | */ | ||
1107 | #define QIHARDWARE_VID 0x20B7 | ||
1108 | #define MILKYMISTONE_JTAGSERIAL_PID 0x0713 | ||
1109 | |||