| From 6dbd46c849e071e6afc1e0cad489b0175bca9318 Mon Sep 17 00:00:00 2001 |
| From: Joerg Dorchain <joerg@dorchain.net> |
| Date: Fri, 21 Feb 2014 20:29:33 +0100 |
| Subject: USB: ftdi_sio: add Cressi Leonardo PID |
| |
| From: Joerg Dorchain <joerg@dorchain.net> |
| |
| commit 6dbd46c849e071e6afc1e0cad489b0175bca9318 upstream. |
| |
| Hello, |
| |
| the following patch adds an entry for the PID of a Cressi Leonardo |
| diving computer interface to kernel 3.13.0. |
| It is detected as FT232RL. |
| Works with subsurface. |
| |
| Signed-off-by: Joerg Dorchain <joerg@dorchain.net> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| |
| --- |
| drivers/usb/serial/ftdi_sio.c | 2 ++ |
| drivers/usb/serial/ftdi_sio_ids.h | 6 ++++++ |
| 2 files changed, 8 insertions(+) |
| |
| --- a/drivers/usb/serial/ftdi_sio.c |
| +++ b/drivers/usb/serial/ftdi_sio.c |
| @@ -908,6 +908,8 @@ static struct usb_device_id id_table_com |
| /* Crucible Devices */ |
| { USB_DEVICE(FTDI_VID, FTDI_CT_COMET_PID) }, |
| { USB_DEVICE(FTDI_VID, FTDI_Z3X_PID) }, |
| + /* Cressi Devices */ |
| + { USB_DEVICE(FTDI_VID, FTDI_CRESSI_PID) }, |
| { } /* Terminating entry */ |
| }; |
| |
| --- a/drivers/usb/serial/ftdi_sio_ids.h |
| +++ b/drivers/usb/serial/ftdi_sio_ids.h |
| @@ -1320,3 +1320,9 @@ |
| * Manufacturer: Smart GSM Team |
| */ |
| #define FTDI_Z3X_PID 0x0011 |
| + |
| +/* |
| + * Product: Cressi PC Interface |
| + * Manufacturer: Cressi |
| + */ |
| +#define FTDI_CRESSI_PID 0x87d0 |