Commit cff9c2339a6d5105d7f6b1f9a96dd1d239cc76ac

Authored by Johan Hovold
1 parent c5cd24d7b1

USB: serial: add Medtronic CareLink USB driver

Add simple driver for Medtronic CareLink USB devices.

Reported-by: Benjamin West <bewest@gmail.com>
Tested-by: Benjamin West <bewest@gmail.com>
Signed-off-by: Johan Hovold <johan@kernel.org>

Showing 2 changed files with 8 additions and 0 deletions Side-by-side Diff

drivers/usb/serial/Kconfig
... ... @@ -58,6 +58,7 @@
58 58 handles a wide range of very simple devices, all in one
59 59 driver. Specifically, it supports:
60 60 - Suunto ANT+ USB device.
  61 + - Medtronic CareLink USB device
61 62 - Fundamental Software dongle.
62 63 - HP4x calculators
63 64 - a number of Motorola phones
drivers/usb/serial/usb-serial-simple.c
... ... @@ -36,6 +36,11 @@
36 36  
37 37 #define DEVICE(vendor, IDS) DEVICE_N(vendor, IDS, 1)
38 38  
  39 +/* Medtronic CareLink USB driver */
  40 +#define CARELINK_IDS() \
  41 + { USB_DEVICE(0x0a21, 0x8001) } /* MMT-7305WW */
  42 +DEVICE(carelink, CARELINK_IDS);
  43 +
39 44 /* ZIO Motherboard USB driver */
40 45 #define ZIO_IDS() \
41 46 { USB_DEVICE(0x1CBE, 0x0103) }
... ... @@ -88,6 +93,7 @@
88 93  
89 94 /* All of the above structures mushed into two lists */
90 95 static struct usb_serial_driver * const serial_drivers[] = {
  96 + &carelink_device,
91 97 &zio_device,
92 98 &funsoft_device,
93 99 &flashloader_device,
... ... @@ -101,6 +107,7 @@
101 107 };
102 108  
103 109 static const struct usb_device_id id_table[] = {
  110 + CARELINK_IDS(),
104 111 ZIO_IDS(),
105 112 FUNSOFT_IDS(),
106 113 FLASHLOADER_IDS(),