mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
[PATCH] USB: ftdi_sio: new IDs for Westrex devices
This patch adds two new devices to the ftdi_sio driver's device ID table. The device IDs were supplied by Cory Lee to support two POS printers made by Westrex International (Model 777 and Model 8900F). Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
641adaaee1
commit
a94b52ac84
2 changed files with 8 additions and 0 deletions
|
@ -481,6 +481,8 @@ static struct usb_device_id id_table_combined [] = {
|
|||
{ USB_DEVICE(KOBIL_VID, KOBIL_CONV_KAAN_PID) },
|
||||
{ USB_DEVICE(POSIFLEX_VID, POSIFLEX_PP7000_PID) },
|
||||
{ USB_DEVICE(FTDI_VID, FTDI_TTUSB_PID) },
|
||||
{ USB_DEVICE(FTDI_VID, FTDI_WESTREX_MODEL_777_PID) },
|
||||
{ USB_DEVICE(FTDI_VID, FTDI_WESTREX_MODEL_8900F_PID) },
|
||||
{ }, /* Optional parameter entry */
|
||||
{ } /* Terminating entry */
|
||||
};
|
||||
|
|
|
@ -370,6 +370,12 @@
|
|||
#define POSIFLEX_VID 0x0d3a /* Vendor ID */
|
||||
#define POSIFLEX_PP7000_PID 0x0300 /* PP-7000II thermal printer */
|
||||
|
||||
/*
|
||||
* Westrex International devices submitted by Cory Lee
|
||||
*/
|
||||
#define FTDI_WESTREX_MODEL_777_PID 0xDC00 /* Model 777 */
|
||||
#define FTDI_WESTREX_MODEL_8900F_PID 0xDC01 /* Model 8900F */
|
||||
|
||||
/* Commands */
|
||||
#define FTDI_SIO_RESET 0 /* Reset the port */
|
||||
#define FTDI_SIO_MODEM_CTRL 1 /* Set the modem control register */
|
||||
|
|
Loading…
Reference in a new issue