aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Schleusener <thomas@be-schl.de>2007-02-28 16:50:52 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2007-03-09 22:52:24 -0500
commit4eaf60e0114946d82ef523e8c0718831cbdd3414 (patch)
tree388a12f7d90c927beb8270e03cff8949160272c6
parentef31fec01a558538a696a21ef9ecf5f1a6d4a53b (diff)
USB: add Additional PIDs in ftdi_sio
I've developed some devices with FTDI chips (FT232xx). FTDI was so kind to give some own PID's which I can use together with their VID. Some of the devices are already very popular here and I have customers from universities, institutes ..... I use the FTDI VID 0x0403. My PID's are: 0xff38 - IBS US485 (USB<-->RS422/485 interface) 0xff39 - IBS PIC-Programmer 0xff3a - IBS Card reader for PCMCIA SRAM-cards 0xff3b - IBS PK1 - Particel counter 0xff3c - IBS RS232 - Monitor 0xff3d - APP 70 (dust monitoring system) 0xff3e - IBS PEDO-Modem (RF modem 868.35 MHz) 0xff3f - future device The company is "IBS Ing.-Buero Schleusener". From: Thomas Schleusener <thomas@be-schl.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/usb/serial/ftdi_sio.c8
-rw-r--r--drivers/usb/serial/ftdi_sio.h13
2 files changed, 21 insertions, 0 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index 1665f5d4bf29..07884e0803b9 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -420,6 +420,14 @@ static struct usb_device_id id_table_combined [] = {
420 { USB_DEVICE(FTDI_VID, FTDI_ELV_ALC8500_PID) }, 420 { USB_DEVICE(FTDI_VID, FTDI_ELV_ALC8500_PID) },
421 { USB_DEVICE(FTDI_VID, FTDI_PYRAMID_PID) }, 421 { USB_DEVICE(FTDI_VID, FTDI_PYRAMID_PID) },
422 { USB_DEVICE(FTDI_VID, FTDI_ELV_FHZ1000PC_PID) }, 422 { USB_DEVICE(FTDI_VID, FTDI_ELV_FHZ1000PC_PID) },
423 { USB_DEVICE(FTDI_VID, FTDI_IBS_US485_PID) },
424 { USB_DEVICE(FTDI_VID, FTDI_IBS_PICPRO_PID) },
425 { USB_DEVICE(FTDI_VID, FTDI_IBS_PCMCIA_PID) },
426 { USB_DEVICE(FTDI_VID, FTDI_IBS_PK1_PID) },
427 { USB_DEVICE(FTDI_VID, FTDI_IBS_RS232MON_PID) },
428 { USB_DEVICE(FTDI_VID, FTDI_IBS_APP70_PID) },
429 { USB_DEVICE(FTDI_VID, FTDI_IBS_PEDO_PID) },
430 { USB_DEVICE(FTDI_VID, FTDI_IBS_PROD_PID) },
423 /* 431 /*
424 * These will probably use user-space drivers. Uncomment them if 432 * These will probably use user-space drivers. Uncomment them if
425 * you need them or use the user-specified vendor/product module 433 * you need them or use the user-specified vendor/product module
diff --git a/drivers/usb/serial/ftdi_sio.h b/drivers/usb/serial/ftdi_sio.h
index 9f5cb912f0df..cf9a01a0f328 100644
--- a/drivers/usb/serial/ftdi_sio.h
+++ b/drivers/usb/serial/ftdi_sio.h
@@ -503,6 +503,19 @@
503#define TELLDUS_VID 0x1781 /* Vendor ID */ 503#define TELLDUS_VID 0x1781 /* Vendor ID */
504#define TELLDUS_TELLSTICK_PID 0x0C30 /* RF control dongle 433 MHz using FT232RL */ 504#define TELLDUS_TELLSTICK_PID 0x0C30 /* RF control dongle 433 MHz using FT232RL */
505 505
506/*
507 * IBS elektronik product ids
508 * Submitted by Thomas Schleusener
509 */
510#define FTDI_IBS_US485_PID 0xff38 /* IBS US485 (USB<-->RS422/485 interface) */
511#define FTDI_IBS_PICPRO_PID 0xff39 /* IBS PIC-Programmer */
512#define FTDI_IBS_PCMCIA_PID 0xff3a /* IBS Card reader for PCMCIA SRAM-cards */
513#define FTDI_IBS_PK1_PID 0xff3b /* IBS PK1 - Particel counter */
514#define FTDI_IBS_RS232MON_PID 0xff3c /* IBS RS232 - Monitor */
515#define FTDI_IBS_APP70_PID 0xff3d /* APP 70 (dust monitoring system) */
516#define FTDI_IBS_PEDO_PID 0xff3e /* IBS PEDO-Modem (RF modem 868.35 MHz) */
517#define FTDI_IBS_PROD_PID 0xff3f /* future device */
518
506/* Commands */ 519/* Commands */
507#define FTDI_SIO_RESET 0 /* Reset the port */ 520#define FTDI_SIO_RESET 0 /* Reset the port */
508#define FTDI_SIO_MODEM_CTRL 1 /* Set the modem control register */ 521#define FTDI_SIO_MODEM_CTRL 1 /* Set the modem control register */