blob: 8b3a922bdad3415e8831e83901fa2fd81426f40e [file] [log] [blame]
Thomas Gleixner2874c5f2019-05-27 08:55:01 +02001// SPDX-License-Identifier: GPL-2.0-or-later
Jiri Slaby78a849a682008-06-20 21:26:11 +02002/*
3 * HID driver for some microsoft "special" devices
4 *
5 * Copyright (c) 1999 Andreas Gal
6 * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz>
7 * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc
8 * Copyright (c) 2006-2007 Jiri Kosina
Jiri Slaby78a849a682008-06-20 21:26:11 +02009 * Copyright (c) 2008 Jiri Slaby
10 */
11
12/*
Jiri Slaby78a849a682008-06-20 21:26:11 +020013 */
14
15#include <linux/device.h>
16#include <linux/input.h>
17#include <linux/hid.h>
18#include <linux/module.h>
19
20#include "hid-ids.h"
21
Benjamin Tissoires30576c52018-07-13 16:13:51 +020022#define MS_HIDINPUT BIT(0)
23#define MS_ERGONOMY BIT(1)
24#define MS_PRESENTER BIT(2)
25#define MS_RDESC BIT(3)
26#define MS_NOGET BIT(4)
27#define MS_DUPLICATE_USAGES BIT(5)
28#define MS_SURFACE_DIAL BIT(6)
Andrey Smirnov73c5b252018-08-15 19:44:10 -070029#define MS_QUIRK_FF BIT(7)
Jiri Slaby78a849a682008-06-20 21:26:11 +020030
Andrey Smirnovf2d3b622018-08-15 19:44:09 -070031struct ms_data {
32 unsigned long quirks;
Andrey Smirnov73c5b252018-08-15 19:44:10 -070033 struct hid_device *hdev;
34 struct work_struct ff_worker;
35 __u8 strong;
36 __u8 weak;
37 void *output_report_dmabuf;
Andrey Smirnovf2d3b622018-08-15 19:44:09 -070038};
39
Andrey Smirnov73c5b252018-08-15 19:44:10 -070040#define XB1S_FF_REPORT 3
41#define ENABLE_WEAK BIT(0)
42#define ENABLE_STRONG BIT(1)
43
44enum {
45 MAGNITUDE_STRONG = 2,
46 MAGNITUDE_WEAK,
47 MAGNITUDE_NUM
48};
49
50struct xb1s_ff_report {
51 __u8 report_id;
52 __u8 enable;
53 __u8 magnitude[MAGNITUDE_NUM];
54 __u8 duration_10ms;
55 __u8 start_delay_10ms;
56 __u8 loop_count;
57} __packed;
58
Nikolai Kondrashov73e40082010-08-06 23:03:06 +040059static __u8 *ms_report_fixup(struct hid_device *hdev, __u8 *rdesc,
60 unsigned int *rsize)
Jiri Slaby78a849a682008-06-20 21:26:11 +020061{
Andrey Smirnovf2d3b622018-08-15 19:44:09 -070062 struct ms_data *ms = hid_get_drvdata(hdev);
63 unsigned long quirks = ms->quirks;
Jiri Slaby78a849a682008-06-20 21:26:11 +020064
Jiri Slaby3ccc60f2012-10-19 13:28:46 +020065 /*
66 * Microsoft Wireless Desktop Receiver (Model 1028) has
67 * 'Usage Min/Max' where it ought to have 'Physical Min/Max'
68 */
Nikolai Kondrashov73e40082010-08-06 23:03:06 +040069 if ((quirks & MS_RDESC) && *rsize == 571 && rdesc[557] == 0x19 &&
Jiri Slaby78a849a682008-06-20 21:26:11 +020070 rdesc[559] == 0x29) {
Joe Perches4291ee32010-12-09 19:29:03 -080071 hid_info(hdev, "fixing up Microsoft Wireless Receiver Model 1028 report descriptor\n");
Jiri Kosina0fb21de2009-01-14 03:03:21 +010072 rdesc[557] = 0x35;
73 rdesc[559] = 0x45;
Jiri Slaby78a849a682008-06-20 21:26:11 +020074 }
Nikolai Kondrashov73e40082010-08-06 23:03:06 +040075 return rdesc;
Jiri Slaby78a849a682008-06-20 21:26:11 +020076}
77
78#define ms_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
79 EV_KEY, (c))
80static int ms_ergonomy_kb_quirk(struct hid_input *hi, struct hid_usage *usage,
81 unsigned long **bit, int *max)
82{
83 struct input_dev *input = hi->input;
84
Hans de Goede34e75dc2014-01-29 17:57:44 +010085 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_CONSUMER) {
86 switch (usage->hid & HID_USAGE) {
87 /*
88 * Microsoft uses these 2 reserved usage ids for 2 keys on
89 * the MS office kb labelled "Office Home" and "Task Pane".
90 */
91 case 0x29d:
92 ms_map_key_clear(KEY_PROG1);
93 return 1;
94 case 0x29e:
95 ms_map_key_clear(KEY_PROG2);
96 return 1;
97 }
98 return 0;
99 }
100
Hans de Goedeaac59f62014-01-29 17:57:42 +0100101 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_MSVENDOR)
102 return 0;
103
Jiri Slaby78a849a682008-06-20 21:26:11 +0200104 switch (usage->hid & HID_USAGE) {
105 case 0xfd06: ms_map_key_clear(KEY_CHAT); break;
106 case 0xfd07: ms_map_key_clear(KEY_PHONE); break;
Hans de Goede3faed1a2014-01-29 17:57:43 +0100107 case 0xff00:
108 /* Special keypad keys */
109 ms_map_key_clear(KEY_KPEQUAL);
110 set_bit(KEY_KPLEFTPAREN, input->keybit);
111 set_bit(KEY_KPRIGHTPAREN, input->keybit);
112 break;
113 case 0xff01:
114 /* Scroll wheel */
115 hid_map_usage_clear(hi, usage, bit, max, EV_REL, REL_WHEEL);
116 break;
117 case 0xff02:
118 /*
119 * This byte contains a copy of the modifier keys byte of a
120 * standard hid keyboard report, as send by interface 0
121 * (this usage is found on interface 1).
122 *
123 * This byte only gets send when another key in the same report
124 * changes state, and as such is useless, ignore it.
125 */
126 return -1;
Jiri Slaby78a849a682008-06-20 21:26:11 +0200127 case 0xff05:
128 set_bit(EV_REP, input->evbit);
129 ms_map_key_clear(KEY_F13);
130 set_bit(KEY_F14, input->keybit);
131 set_bit(KEY_F15, input->keybit);
132 set_bit(KEY_F16, input->keybit);
133 set_bit(KEY_F17, input->keybit);
134 set_bit(KEY_F18, input->keybit);
Jiri Kosinab2b98ea2013-12-15 18:25:26 +0100135 break;
Jiri Slaby78a849a682008-06-20 21:26:11 +0200136 default:
137 return 0;
138 }
139 return 1;
140}
141
142static int ms_presenter_8k_quirk(struct hid_input *hi, struct hid_usage *usage,
143 unsigned long **bit, int *max)
144{
Hans de Goedeaac59f62014-01-29 17:57:42 +0100145 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_MSVENDOR)
146 return 0;
147
Jiri Slaby78a849a682008-06-20 21:26:11 +0200148 set_bit(EV_REP, hi->input->evbit);
149 switch (usage->hid & HID_USAGE) {
150 case 0xfd08: ms_map_key_clear(KEY_FORWARD); break;
151 case 0xfd09: ms_map_key_clear(KEY_BACK); break;
152 case 0xfd0b: ms_map_key_clear(KEY_PLAYPAUSE); break;
153 case 0xfd0e: ms_map_key_clear(KEY_CLOSE); break;
154 case 0xfd0f: ms_map_key_clear(KEY_PLAY); break;
155 default:
156 return 0;
157 }
158 return 1;
159}
160
Benjamin Tissoires30576c52018-07-13 16:13:51 +0200161static int ms_surface_dial_quirk(struct hid_input *hi, struct hid_field *field,
162 struct hid_usage *usage, unsigned long **bit, int *max)
163{
164 switch (usage->hid & HID_USAGE_PAGE) {
165 case 0xff070000:
166 /* fall-through */
167 case HID_UP_DIGITIZER:
168 /* ignore those axis */
169 return -1;
170 case HID_UP_GENDESK:
171 switch (usage->hid) {
172 case HID_GD_X:
173 /* fall-through */
174 case HID_GD_Y:
175 /* fall-through */
176 case HID_GD_RFKILL_BTN:
177 /* ignore those axis */
178 return -1;
179 }
180 }
181
182 return 0;
183}
184
Jiri Slaby78a849a682008-06-20 21:26:11 +0200185static int ms_input_mapping(struct hid_device *hdev, struct hid_input *hi,
186 struct hid_field *field, struct hid_usage *usage,
187 unsigned long **bit, int *max)
188{
Andrey Smirnovf2d3b622018-08-15 19:44:09 -0700189 struct ms_data *ms = hid_get_drvdata(hdev);
190 unsigned long quirks = ms->quirks;
Jiri Slaby78a849a682008-06-20 21:26:11 +0200191
Jiri Slaby78a849a682008-06-20 21:26:11 +0200192 if (quirks & MS_ERGONOMY) {
193 int ret = ms_ergonomy_kb_quirk(hi, usage, bit, max);
194 if (ret)
195 return ret;
196 }
197
198 if ((quirks & MS_PRESENTER) &&
199 ms_presenter_8k_quirk(hi, usage, bit, max))
200 return 1;
201
Benjamin Tissoires30576c52018-07-13 16:13:51 +0200202 if (quirks & MS_SURFACE_DIAL) {
203 int ret = ms_surface_dial_quirk(hi, field, usage, bit, max);
204
205 if (ret)
206 return ret;
207 }
208
Jiri Slaby78a849a682008-06-20 21:26:11 +0200209 return 0;
210}
211
Ari Savolainen23c10be2011-07-11 21:42:52 +0300212static int ms_input_mapped(struct hid_device *hdev, struct hid_input *hi,
213 struct hid_field *field, struct hid_usage *usage,
214 unsigned long **bit, int *max)
215{
Andrey Smirnovf2d3b622018-08-15 19:44:09 -0700216 struct ms_data *ms = hid_get_drvdata(hdev);
217 unsigned long quirks = ms->quirks;
Ari Savolainen23c10be2011-07-11 21:42:52 +0300218
219 if (quirks & MS_DUPLICATE_USAGES)
220 clear_bit(usage->code, *bit);
221
222 return 0;
223}
224
Jiri Slaby78a849a682008-06-20 21:26:11 +0200225static int ms_event(struct hid_device *hdev, struct hid_field *field,
226 struct hid_usage *usage, __s32 value)
227{
Andrey Smirnovf2d3b622018-08-15 19:44:09 -0700228 struct ms_data *ms = hid_get_drvdata(hdev);
229 unsigned long quirks = ms->quirks;
Hans de Goede3faed1a2014-01-29 17:57:43 +0100230 struct input_dev *input;
Jiri Slaby78a849a682008-06-20 21:26:11 +0200231
232 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput ||
233 !usage->type)
234 return 0;
235
Hans de Goede3faed1a2014-01-29 17:57:43 +0100236 input = field->hidinput->input;
237
Jiri Slaby78a849a682008-06-20 21:26:11 +0200238 /* Handling MS keyboards special buttons */
Hans de Goede3faed1a2014-01-29 17:57:43 +0100239 if (quirks & MS_ERGONOMY && usage->hid == (HID_UP_MSVENDOR | 0xff00)) {
240 /* Special keypad keys */
241 input_report_key(input, KEY_KPEQUAL, value & 0x01);
242 input_report_key(input, KEY_KPLEFTPAREN, value & 0x02);
243 input_report_key(input, KEY_KPRIGHTPAREN, value & 0x04);
244 return 1;
245 }
246
247 if (quirks & MS_ERGONOMY && usage->hid == (HID_UP_MSVENDOR | 0xff01)) {
248 /* Scroll wheel */
249 int step = ((value & 0x60) >> 5) + 1;
250
251 switch (value & 0x1f) {
252 case 0x01:
253 input_report_rel(input, REL_WHEEL, step);
254 break;
255 case 0x1f:
256 input_report_rel(input, REL_WHEEL, -step);
257 break;
258 }
259 return 1;
260 }
261
Jiri Slaby78a849a682008-06-20 21:26:11 +0200262 if (quirks & MS_ERGONOMY && usage->hid == (HID_UP_MSVENDOR | 0xff05)) {
Jiri Slaby78a849a682008-06-20 21:26:11 +0200263 static unsigned int last_key = 0;
264 unsigned int key = 0;
265 switch (value) {
266 case 0x01: key = KEY_F14; break;
267 case 0x02: key = KEY_F15; break;
268 case 0x04: key = KEY_F16; break;
269 case 0x08: key = KEY_F17; break;
270 case 0x10: key = KEY_F18; break;
271 }
272 if (key) {
273 input_event(input, usage->type, key, 1);
274 last_key = key;
275 } else
276 input_event(input, usage->type, last_key, 0);
277
278 return 1;
279 }
280
281 return 0;
282}
283
Andrey Smirnov73c5b252018-08-15 19:44:10 -0700284static void ms_ff_worker(struct work_struct *work)
285{
286 struct ms_data *ms = container_of(work, struct ms_data, ff_worker);
287 struct hid_device *hdev = ms->hdev;
288 struct xb1s_ff_report *r = ms->output_report_dmabuf;
289 int ret;
290
291 memset(r, 0, sizeof(*r));
292
293 r->report_id = XB1S_FF_REPORT;
294 r->enable = ENABLE_WEAK | ENABLE_STRONG;
295 /*
296 * Specifying maximum duration and maximum loop count should
297 * cover maximum duration of a single effect, which is 65536
298 * ms
299 */
300 r->duration_10ms = U8_MAX;
301 r->loop_count = U8_MAX;
302 r->magnitude[MAGNITUDE_STRONG] = ms->strong; /* left actuator */
303 r->magnitude[MAGNITUDE_WEAK] = ms->weak; /* right actuator */
304
305 ret = hid_hw_output_report(hdev, (__u8 *)r, sizeof(*r));
306 if (ret)
307 hid_warn(hdev, "failed to send FF report\n");
308}
309
310static int ms_play_effect(struct input_dev *dev, void *data,
311 struct ff_effect *effect)
312{
313 struct hid_device *hid = input_get_drvdata(dev);
314 struct ms_data *ms = hid_get_drvdata(hid);
315
316 if (effect->type != FF_RUMBLE)
317 return 0;
318
319 /*
320 * Magnitude is 0..100 so scale the 16-bit input here
321 */
322 ms->strong = ((u32) effect->u.rumble.strong_magnitude * 100) / U16_MAX;
323 ms->weak = ((u32) effect->u.rumble.weak_magnitude * 100) / U16_MAX;
324
325 schedule_work(&ms->ff_worker);
326 return 0;
327}
328
329static int ms_init_ff(struct hid_device *hdev)
330{
331 struct hid_input *hidinput = list_entry(hdev->inputs.next,
332 struct hid_input, list);
333 struct input_dev *input_dev = hidinput->input;
334 struct ms_data *ms = hid_get_drvdata(hdev);
335
336 if (!(ms->quirks & MS_QUIRK_FF))
337 return 0;
338
339 ms->hdev = hdev;
340 INIT_WORK(&ms->ff_worker, ms_ff_worker);
341
342 ms->output_report_dmabuf = devm_kzalloc(&hdev->dev,
343 sizeof(struct xb1s_ff_report),
344 GFP_KERNEL);
345 if (ms->output_report_dmabuf == NULL)
346 return -ENOMEM;
347
348 input_set_capability(input_dev, EV_FF, FF_RUMBLE);
349 return input_ff_create_memless(input_dev, NULL, ms_play_effect);
350}
351
352static void ms_remove_ff(struct hid_device *hdev)
353{
354 struct ms_data *ms = hid_get_drvdata(hdev);
355
356 if (!(ms->quirks & MS_QUIRK_FF))
357 return;
358
359 cancel_work_sync(&ms->ff_worker);
360}
361
Jiri Slaby78a849a682008-06-20 21:26:11 +0200362static int ms_probe(struct hid_device *hdev, const struct hid_device_id *id)
363{
364 unsigned long quirks = id->driver_data;
Andrey Smirnovf2d3b622018-08-15 19:44:09 -0700365 struct ms_data *ms;
Jiri Slaby78a849a682008-06-20 21:26:11 +0200366 int ret;
367
Andrey Smirnovf2d3b622018-08-15 19:44:09 -0700368 ms = devm_kzalloc(&hdev->dev, sizeof(*ms), GFP_KERNEL);
369 if (ms == NULL)
370 return -ENOMEM;
371
372 ms->quirks = quirks;
373
374 hid_set_drvdata(hdev, ms);
Jiri Slaby78a849a682008-06-20 21:26:11 +0200375
Jiri Slaby78a849a682008-06-20 21:26:11 +0200376 if (quirks & MS_NOGET)
377 hdev->quirks |= HID_QUIRK_NOGET;
378
Benjamin Tissoires30576c52018-07-13 16:13:51 +0200379 if (quirks & MS_SURFACE_DIAL)
380 hdev->quirks |= HID_QUIRK_INPUT_PER_APP;
381
Jiri Slaby78a849a682008-06-20 21:26:11 +0200382 ret = hid_parse(hdev);
383 if (ret) {
Joe Perches4291ee32010-12-09 19:29:03 -0800384 hid_err(hdev, "parse failed\n");
Jiri Slaby78a849a682008-06-20 21:26:11 +0200385 goto err_free;
386 }
387
Jiri Slaby93c10132008-06-27 00:04:24 +0200388 ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT | ((quirks & MS_HIDINPUT) ?
389 HID_CONNECT_HIDINPUT_FORCE : 0));
Jiri Slaby78a849a682008-06-20 21:26:11 +0200390 if (ret) {
Joe Perches4291ee32010-12-09 19:29:03 -0800391 hid_err(hdev, "hw start failed\n");
Jiri Slaby78a849a682008-06-20 21:26:11 +0200392 goto err_free;
393 }
394
Andrey Smirnov73c5b252018-08-15 19:44:10 -0700395 ret = ms_init_ff(hdev);
396 if (ret)
397 hid_err(hdev, "could not initialize ff, continuing anyway");
398
Jiri Slaby78a849a682008-06-20 21:26:11 +0200399 return 0;
400err_free:
401 return ret;
402}
403
Andrey Smirnov73c5b252018-08-15 19:44:10 -0700404static void ms_remove(struct hid_device *hdev)
405{
406 hid_hw_stop(hdev);
407 ms_remove_ff(hdev);
408}
409
Jiri Slaby78a849a682008-06-20 21:26:11 +0200410static const struct hid_device_id ms_devices[] = {
411 { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_SIDEWINDER_GV),
412 .driver_data = MS_HIDINPUT },
Hans de Goede3faed1a2014-01-29 17:57:43 +0100413 { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_OFFICE_KB),
414 .driver_data = MS_ERGONOMY },
Jiri Slaby78a849a682008-06-20 21:26:11 +0200415 { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_NE4K),
416 .driver_data = MS_ERGONOMY },
Adam Jiang89759e22013-04-29 13:27:31 +0900417 { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_NE4K_JP),
418 .driver_data = MS_ERGONOMY },
Jakub Sitnickief567cf2015-02-21 20:51:08 +0100419 { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_NE7K),
420 .driver_data = MS_ERGONOMY },
Jiri Slaby78a849a682008-06-20 21:26:11 +0200421 { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_LK6K),
422 .driver_data = MS_ERGONOMY | MS_RDESC },
423 { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_PRESENTER_8K_USB),
424 .driver_data = MS_PRESENTER },
Jiri Kosinaf3b83d72011-06-13 23:08:18 +0300425 { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_DIGITAL_MEDIA_3K),
Michel Hermier52dc0852016-09-20 19:50:51 +0200426 .driver_data = MS_ERGONOMY },
Alistair Leslie-Hughesc847a892016-04-04 20:51:40 +1000427 { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_DIGITAL_MEDIA_7K),
428 .driver_data = MS_ERGONOMY },
429 { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_DIGITAL_MEDIA_600),
430 .driver_data = MS_ERGONOMY },
431 { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_DIGITAL_MEDIA_3KV1),
432 .driver_data = MS_ERGONOMY },
Jiri Slaby78a849a682008-06-20 21:26:11 +0200433 { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_WIRELESS_OPTICAL_DESKTOP_3_0),
434 .driver_data = MS_NOGET },
Ari Savolainen23c10be2011-07-11 21:42:52 +0300435 { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_COMFORT_MOUSE_4500),
436 .driver_data = MS_DUPLICATE_USAGES },
Raimund Roth18eec2c2015-06-08 11:11:38 +0200437 { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_POWER_COVER),
438 .driver_data = MS_HIDINPUT },
Slava Bacherikovf9a82c22016-03-11 18:57:24 +0200439 { HID_USB_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_COMFORT_KEYBOARD),
440 .driver_data = MS_ERGONOMY},
Jiri Slaby78a849a682008-06-20 21:26:11 +0200441
442 { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_PRESENTER_8K_BT),
443 .driver_data = MS_PRESENTER },
Benjamin Tissoires30576c52018-07-13 16:13:51 +0200444 { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_MICROSOFT, 0x091B),
445 .driver_data = MS_SURFACE_DIAL },
Andrey Smirnov73c5b252018-08-15 19:44:10 -0700446 { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_XBOX_ONE_S_CONTROLLER),
447 .driver_data = MS_QUIRK_FF },
Jiri Slaby78a849a682008-06-20 21:26:11 +0200448 { }
449};
450MODULE_DEVICE_TABLE(hid, ms_devices);
451
452static struct hid_driver ms_driver = {
453 .name = "microsoft",
454 .id_table = ms_devices,
455 .report_fixup = ms_report_fixup,
456 .input_mapping = ms_input_mapping,
Ari Savolainen23c10be2011-07-11 21:42:52 +0300457 .input_mapped = ms_input_mapped,
Jiri Slaby78a849a682008-06-20 21:26:11 +0200458 .event = ms_event,
459 .probe = ms_probe,
Andrey Smirnov73c5b252018-08-15 19:44:10 -0700460 .remove = ms_remove,
Jiri Slaby78a849a682008-06-20 21:26:11 +0200461};
H Hartley Sweetenf4254582012-12-17 15:28:26 -0700462module_hid_driver(ms_driver);
Jiri Slaby78a849a682008-06-20 21:26:11 +0200463
Jiri Slaby78a849a682008-06-20 21:26:11 +0200464MODULE_LICENSE("GPL");