aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil \"Superna\" ARMSTRONG <superna@na-prod.com>2007-04-25 14:34:28 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2007-05-23 02:45:49 -0400
commit762e92fa1742007dedd90ff6b1ea74842f0cd34b (patch)
tree2f0a8017c721fdcd9ac7973772990550d8b8eccc
parentbf87ce5a06ed2cb13ad04f065706cf36ab021549 (diff)
USB: New device PID for ftdi_sio driver
Hello, I need to use MaxStream's PKG-U modules which includes a ftdi sio chipset for usb2serial communication, here are the patches for handling Maxstream's modules. The VID & PID to use with the open-source driver are provided on the CD-ROM bundled with the modules. From: Neil Superna ARMSTRONG <superna@na-prod.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/usb/serial/ftdi_sio.c1
-rw-r--r--drivers/usb/serial/ftdi_sio.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index 95a1805b064f..9200edc8f0fd 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -525,6 +525,7 @@ static struct usb_device_id id_table_combined [] = {
525 { USB_DEVICE(FTDI_VID, FTDI_TACTRIX_OPENPORT_13U_PID) }, 525 { USB_DEVICE(FTDI_VID, FTDI_TACTRIX_OPENPORT_13U_PID) },
526 { USB_DEVICE(ELEKTOR_VID, ELEKTOR_FT323R_PID) }, 526 { USB_DEVICE(ELEKTOR_VID, ELEKTOR_FT323R_PID) },
527 { USB_DEVICE(TELLDUS_VID, TELLDUS_TELLSTICK_PID) }, 527 { USB_DEVICE(TELLDUS_VID, TELLDUS_TELLSTICK_PID) },
528 { USB_DEVICE(FTDI_VID, FTDI_MAXSTREAM_PID) },
528 { }, /* Optional parameter entry */ 529 { }, /* Optional parameter entry */
529 { } /* Terminating entry */ 530 { } /* Terminating entry */
530}; 531};
diff --git a/drivers/usb/serial/ftdi_sio.h b/drivers/usb/serial/ftdi_sio.h
index 77ad0a09b384..c85c1fae0cb8 100644
--- a/drivers/usb/serial/ftdi_sio.h
+++ b/drivers/usb/serial/ftdi_sio.h
@@ -518,6 +518,11 @@
518#define FTDI_IBS_PEDO_PID 0xff3e /* IBS PEDO-Modem (RF modem 868.35 MHz) */ 518#define FTDI_IBS_PEDO_PID 0xff3e /* IBS PEDO-Modem (RF modem 868.35 MHz) */
519#define FTDI_IBS_PROD_PID 0xff3f /* future device */ 519#define FTDI_IBS_PROD_PID 0xff3f /* future device */
520 520
521/*
522 * MaxStream devices www.maxstream.net
523 */
524#define FTDI_MAXSTREAM_PID 0xEE18 /* Xbee PKG-U Module */
525
521/* Commands */ 526/* Commands */
522#define FTDI_SIO_RESET 0 /* Reset the port */ 527#define FTDI_SIO_RESET 0 /* Reset the port */
523#define FTDI_SIO_MODEM_CTRL 1 /* Set the modem control register */ 528#define FTDI_SIO_MODEM_CTRL 1 /* Set the modem control register */