Commit cff9c2339a6d5105d7f6b1f9a96dd1d239cc76ac
1 parent
c5cd24d7b1
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
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
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(), |