patch - VID/PID for Yaesu SCU-18 cable for ftdi-usb-sio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add PID for Yaesu SCU-18 data cable, modify definitions for RATOC products to fit general scheme.

--- ./drivers/usb/serial/ftdi_sio.c.orig	2015-11-28 00:14:58.411681897 +0100
+++ ./drivers/usb/serial/ftdi_sio.c	2015-11-28 00:15:28.112310588 +0100
@@ -823,7 +823,8 @@ static const struct usb_device_id id_tab
 		.driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
 	{ USB_DEVICE(FTDI_VID, FTDI_TURTELIZER_PID),
 		.driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
-	{ USB_DEVICE(RATOC_VENDOR_ID, RATOC_PRODUCT_ID_USB60F) },
+	{ USB_DEVICE(RATOC_VID, RATOC_USB60F_PID) },
+	{ USB_DEVICE(RATOC_VID, RATOC_YAESUSCU18_PID) },
 	{ USB_DEVICE(FTDI_VID, FTDI_REU_TINY_PID) },
 
 	/* Papouch devices based on FTDI chip */
--- ./drivers/usb/serial/ftdi_sio_ids.h.orig	2015-11-28 00:15:11.446518939 +0100
+++ ./drivers/usb/serial/ftdi_sio_ids.h	2015-11-28 00:15:33.779239742 +0100
@@ -613,8 +613,9 @@
 /*
  * RATOC REX-USB60F
  */
-#define RATOC_VENDOR_ID		0x0584
-#define RATOC_PRODUCT_ID_USB60F	0xb020
+#define RATOC_VID		0x0584
+#define RATOC_USB60F_PID	0xB020
+#define RATOC_YAESUSCU18_PID	0xB03A /* Yaesu SCU-18 data cable made by RATOC */
 
 /*
  * Infineon Technologies

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux