diff options
author | Major Hayden <major@mhtx.net> | 2018-02-23 15:29:54 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-23 07:17:40 -0400 |
commit | 9608e5c0f079390473b484ef92334dfd3431bb89 (patch) | |
tree | d9af665117ddfdace34eb1628c63b1568d5cc258 | |
parent | 29bca25e1bc4745b021e40b81b294b319693bde0 (diff) |
USB: serial: ftdi_sio: add RT Systems VX-8 cable
This patch adds a device ID for the RT Systems cable used to
program Yaesu VX-8R/VX-8DR handheld radios. It uses the main
FTDI VID instead of the common RT Systems VID.
Signed-off-by: Major Hayden <major@mhtx.net>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/usb/serial/ftdi_sio.c | 1 | ||||
-rw-r--r-- | drivers/usb/serial/ftdi_sio_ids.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index f58c4ff6b387..368891c58120 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
@@ -769,6 +769,7 @@ static const struct usb_device_id id_table_combined[] = { | |||
769 | .driver_info = (kernel_ulong_t)&ftdi_NDI_device_quirk }, | 769 | .driver_info = (kernel_ulong_t)&ftdi_NDI_device_quirk }, |
770 | { USB_DEVICE(TELLDUS_VID, TELLDUS_TELLSTICK_PID) }, | 770 | { USB_DEVICE(TELLDUS_VID, TELLDUS_TELLSTICK_PID) }, |
771 | { USB_DEVICE(NOVITUS_VID, NOVITUS_BONO_E_PID) }, | 771 | { USB_DEVICE(NOVITUS_VID, NOVITUS_BONO_E_PID) }, |
772 | { USB_DEVICE(FTDI_VID, RTSYSTEMS_USB_VX8_PID) }, | ||
772 | { USB_DEVICE(RTSYSTEMS_VID, RTSYSTEMS_USB_S03_PID) }, | 773 | { USB_DEVICE(RTSYSTEMS_VID, RTSYSTEMS_USB_S03_PID) }, |
773 | { USB_DEVICE(RTSYSTEMS_VID, RTSYSTEMS_USB_59_PID) }, | 774 | { USB_DEVICE(RTSYSTEMS_VID, RTSYSTEMS_USB_59_PID) }, |
774 | { USB_DEVICE(RTSYSTEMS_VID, RTSYSTEMS_USB_57A_PID) }, | 775 | { USB_DEVICE(RTSYSTEMS_VID, RTSYSTEMS_USB_57A_PID) }, |
diff --git a/drivers/usb/serial/ftdi_sio_ids.h b/drivers/usb/serial/ftdi_sio_ids.h index 8b4ecd2bd297..598c2317c3d4 100644 --- a/drivers/usb/serial/ftdi_sio_ids.h +++ b/drivers/usb/serial/ftdi_sio_ids.h | |||
@@ -923,6 +923,9 @@ | |||
923 | /* | 923 | /* |
924 | * RT Systems programming cables for various ham radios | 924 | * RT Systems programming cables for various ham radios |
925 | */ | 925 | */ |
926 | /* This device uses the VID of FTDI */ | ||
927 | #define RTSYSTEMS_USB_VX8_PID 0x9e50 /* USB-VX8 USB to 7 pin modular plug for Yaesu VX-8 radio */ | ||
928 | |||
926 | #define RTSYSTEMS_VID 0x2100 /* Vendor ID */ | 929 | #define RTSYSTEMS_VID 0x2100 /* Vendor ID */ |
927 | #define RTSYSTEMS_USB_S03_PID 0x9001 /* RTS-03 USB to Serial Adapter */ | 930 | #define RTSYSTEMS_USB_S03_PID 0x9001 /* RTS-03 USB to Serial Adapter */ |
928 | #define RTSYSTEMS_USB_59_PID 0x9e50 /* USB-59 USB to 8 pin plug */ | 931 | #define RTSYSTEMS_USB_59_PID 0x9e50 /* USB-59 USB to 8 pin plug */ |