Browse Source

USB: ftdi_sio: add vendor/product id for the Marvell SheevaPlug

For reference:
http://www.marvell.com/products/embedded_processors/developer/kirkwood/sheevaplug.jsp

Signed-off-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Nicolas Pitre 16 years ago
parent
commit
1002bb77c0
2 changed files with 8 additions and 0 deletions
  1. 2 0
      drivers/usb/serial/ftdi_sio.c
  2. 6 0
      drivers/usb/serial/ftdi_sio.h

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

@@ -669,6 +669,8 @@ static struct usb_device_id id_table_combined [] = {
 	{ 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) },
 	{ USB_DEVICE(JETI_VID, JETI_SPC1201_PID) },
+	{ USB_DEVICE(MARVELL_VID, MARVELL_SHEEVAPLUG_PID),
+		.driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
 	{ },					/* Optional parameter entry */
 	{ },					/* Optional parameter entry */
 	{ }					/* Terminating entry */
 	{ }					/* Terminating entry */
 };
 };

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

@@ -919,6 +919,12 @@
 #define JETI_VID		0x0c6c
 #define JETI_VID		0x0c6c
 #define JETI_SPC1201_PID	0x04b2
 #define JETI_SPC1201_PID	0x04b2
 
 
+/*
+ * Marvell SheevaPlug
+ */
+#define MARVELL_VID		0x9e88
+#define MARVELL_SHEEVAPLUG_PID	0x9e8f
+
 /*
 /*
  *   BmRequestType:  1100 0000b
  *   BmRequestType:  1100 0000b
  *   bRequest:       FTDI_E2_READ
  *   bRequest:       FTDI_E2_READ