]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/3.4.51/usb-serial-ti_usb_3410_5052-new-device-id-for-abbot-strip-port-cable.patch
4.14-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 3.4.51 / usb-serial-ti_usb_3410_5052-new-device-id-for-abbot-strip-port-cable.patch
CommitLineData
9fdceb84
GKH
1From 35a2fbc941accd0e9f1bfadd669311786118d874 Mon Sep 17 00:00:00 2001
2From: Anders Hammarquist <iko@iko.pp.se>
3Date: Wed, 19 Jun 2013 01:45:48 +0200
4Subject: USB: serial: ti_usb_3410_5052: new device id for Abbot strip port cable
5
6From: Anders Hammarquist <iko@iko.pp.se>
7
8commit 35a2fbc941accd0e9f1bfadd669311786118d874 upstream.
9
10Add product id for Abbott strip port cable for Precision meter which
11uses the TI 3410 chip.
12
13Signed-off-by: Anders Hammarquist <iko@iko.pp.se>
14Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
15
16---
17 drivers/usb/serial/ti_usb_3410_5052.c | 3 ++-
18 drivers/usb/serial/ti_usb_3410_5052.h | 4 +++-
19 2 files changed, 5 insertions(+), 2 deletions(-)
20
21--- a/drivers/usb/serial/ti_usb_3410_5052.c
22+++ b/drivers/usb/serial/ti_usb_3410_5052.c
23@@ -179,7 +179,8 @@ static struct usb_device_id ti_id_table_
24 { USB_DEVICE(IBM_VENDOR_ID, IBM_4543_PRODUCT_ID) },
25 { USB_DEVICE(IBM_VENDOR_ID, IBM_454B_PRODUCT_ID) },
26 { USB_DEVICE(IBM_VENDOR_ID, IBM_454C_PRODUCT_ID) },
27- { USB_DEVICE(ABBOTT_VENDOR_ID, ABBOTT_PRODUCT_ID) },
28+ { USB_DEVICE(ABBOTT_VENDOR_ID, ABBOTT_STEREO_PLUG_ID) },
29+ { USB_DEVICE(ABBOTT_VENDOR_ID, ABBOTT_STRIP_PORT_ID) },
30 { USB_DEVICE(TI_VENDOR_ID, FRI2_PRODUCT_ID) },
31 };
32
33--- a/drivers/usb/serial/ti_usb_3410_5052.h
34+++ b/drivers/usb/serial/ti_usb_3410_5052.h
35@@ -52,7 +52,9 @@
36
37 /* Abbott Diabetics vendor and product ids */
38 #define ABBOTT_VENDOR_ID 0x1a61
39-#define ABBOTT_PRODUCT_ID 0x3410
40+#define ABBOTT_STEREO_PLUG_ID 0x3410
41+#define ABBOTT_PRODUCT_ID ABBOTT_STEREO_PLUG_ID
42+#define ABBOTT_STRIP_PORT_ID 0x3420
43
44 /* Commands */
45 #define TI_GET_VERSION 0x01