summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMhayk Whandson <eu@mhayk.com.br>2009-01-09 06:48:16 -0400
committerGreg Kroah-Hartman <gregkh@kvm.kroah.org>2009-01-27 16:15:36 -0800
commitca80801bfb24f7a41fe4fade4d2cf7c73f0b2f09 (patch)
tree6acc70e5f17de21cfc492ef361dbbfa9928b885a
parent45eeff848bdfac96dc77aa722dda7c6cee6184f4 (diff)
downloadlinux-3.10-ca80801bfb24f7a41fe4fade4d2cf7c73f0b2f09.tar.gz
linux-3.10-ca80801bfb24f7a41fe4fade4d2cf7c73f0b2f09.tar.bz2
linux-3.10-ca80801bfb24f7a41fe4fade4d2cf7c73f0b2f09.zip
USB: ftdi_sio driver support of bar code scanner from Diebold
Added the product id of bcs(bar code scanner) from Diebold Procomp Brazil. Signed-off-by: Mhayk Whandson <eu@mhayk.com.br> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/usb/serial/ftdi_sio.c1
-rw-r--r--drivers/usb/serial/ftdi_sio.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index a85946b212d..75597337583 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -661,6 +661,7 @@ static struct usb_device_id id_table_combined [] = {
{ USB_DEVICE(FTDI_VID, FTDI_DOMINTELL_DGQG_PID) },
{ USB_DEVICE(FTDI_VID, FTDI_DOMINTELL_DUSB_PID) },
{ USB_DEVICE(ALTI2_VID, ALTI2_N3_PID) },
+ { USB_DEVICE(FTDI_VID, DIEBOLD_BCS_SE923_PID) },
{ }, /* Optional parameter entry */
{ } /* Terminating entry */
};
diff --git a/drivers/usb/serial/ftdi_sio.h b/drivers/usb/serial/ftdi_sio.h
index e4305765198..1b62eff475d 100644
--- a/drivers/usb/serial/ftdi_sio.h
+++ b/drivers/usb/serial/ftdi_sio.h
@@ -885,6 +885,11 @@
#define RATOC_PRODUCT_ID_USB60F 0xb020
/*
+ * DIEBOLD BCS SE923
+ */
+#define DIEBOLD_BCS_SE923_PID 0xfb99
+
+/*
* BmRequestType: 1100 0000b
* bRequest: FTDI_E2_READ
* wValue: 0