Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

USB: serial: ftdi_sio: add support for GMC Z216C Adapter IR-USB

The GMC IR-USB adapter cable utilizes a FTDI FT232R chip.

Add VID/PID for this adapter so it can be used as serial device via
ftdi_sio.

Signed-off-by: Daniel Vogelbacher <daniel@chaospixel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>

authored by

Daniel Vogelbacher and committed by
Johan Hovold
3fb7bc4f d206a76d

+8
+2
drivers/usb/serial/ftdi_sio.c
··· 1077 1077 .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, 1078 1078 { USB_DEVICE(FTDI_VID, FTDI_FALCONIA_JTAG_UNBUF_PID), 1079 1079 .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, 1080 + /* GMC devices */ 1081 + { USB_DEVICE(GMC_VID, GMC_Z216C_PID) }, 1080 1082 { } /* Terminating entry */ 1081 1083 }; 1082 1084
+6
drivers/usb/serial/ftdi_sio_ids.h
··· 1606 1606 #define UBLOX_VID 0x1546 1607 1607 #define UBLOX_C099F9P_ZED_PID 0x0502 1608 1608 #define UBLOX_C099F9P_ODIN_PID 0x0503 1609 + 1610 + /* 1611 + * GMC devices 1612 + */ 1613 + #define GMC_VID 0x1cd7 1614 + #define GMC_Z216C_PID 0x0217 /* GMC Z216C Adapter IR-USB */