Просмотр исходного кода

[PATCH] USB: ftdi_sio: add Icom ID1 USB product and vendor ids

The Icom ID-1 1.2 GHz band digital transceiver is a new radio
that has a USB interface. With this patch, the ftdi_sio driver
will report "Detected FT8U232AM" and provide a serial device
interface.

Signed-off-by: "A. Maitland Bottoms" <bottoms@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
A. Maitland Bottoms 19 лет назад
Родитель
Сommit
bf58fbd5e8
2 измененных файлов с 8 добавлено и 0 удалено
  1. 1 0
      drivers/usb/serial/ftdi_sio.c
  2. 7 0
      drivers/usb/serial/ftdi_sio.h

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

@@ -492,6 +492,7 @@ static struct usb_device_id id_table_combined [] = {
 	{ USB_DEVICE(FTDI_VID, FTDI_WESTREX_MODEL_777_PID) },
 	{ USB_DEVICE(FTDI_VID, FTDI_WESTREX_MODEL_8900F_PID) },
 	{ USB_DEVICE(FTDI_VID, FTDI_PCDJ_DAC2_PID) },
+	{ USB_DEVICE(ICOM_ID1_VID, ICOM_ID1_PID) },
 	{ },					/* Optional parameter entry */
 	{ }					/* Terminating entry */
 };

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

@@ -145,6 +145,13 @@
 #define KOBIL_CONV_B1_PID	0x2020	/* KOBIL Konverter for B1 */
 #define KOBIL_CONV_KAAN_PID	0x2021	/* KOBIL_Konverter for KAAN */
 
+/*
+ * Icom ID-1 digital transceiver
+ */
+
+#define ICOM_ID1_VID            0x0C26
+#define ICOM_ID1_PID            0x0004
+
 /*
  * DSS-20 Sync Station for Sony Ericsson P800
  */