]>
Commit | Line | Data |
---|---|---|
ad8f07cc MG |
1 | /* |
2 | * Driver for Dell laptop extras | |
3 | * | |
4 | * Copyright (c) Red Hat <[email protected]> | |
5 | * | |
6 | * Based on documentation in the libsmbios package, Copyright (C) 2005 Dell | |
7 | * Inc. | |
8 | * | |
9 | * This program is free software; you can redistribute it and/or modify | |
10 | * it under the terms of the GNU General Public License version 2 as | |
11 | * published by the Free Software Foundation. | |
12 | */ | |
13 | ||
14 | #include <linux/module.h> | |
15 | #include <linux/kernel.h> | |
16 | #include <linux/init.h> | |
17 | #include <linux/platform_device.h> | |
18 | #include <linux/backlight.h> | |
19 | #include <linux/err.h> | |
20 | #include <linux/dmi.h> | |
21 | #include <linux/io.h> | |
22 | #include <linux/rfkill.h> | |
23 | #include <linux/power_supply.h> | |
24 | #include <linux/acpi.h> | |
116ee77b | 25 | #include <linux/mm.h> |
814cb8ad | 26 | #include <linux/i8042.h> |
cad73120 | 27 | #include "../../firmware/dcdbas.h" |
ad8f07cc MG |
28 | |
29 | #define BRIGHTNESS_TOKEN 0x7d | |
30 | ||
31 | /* This structure will be modified by the firmware when we enter | |
32 | * system management mode, hence the volatiles */ | |
33 | ||
34 | struct calling_interface_buffer { | |
35 | u16 class; | |
36 | u16 select; | |
37 | volatile u32 input[4]; | |
38 | volatile u32 output[4]; | |
39 | } __packed; | |
40 | ||
41 | struct calling_interface_token { | |
42 | u16 tokenID; | |
43 | u16 location; | |
44 | union { | |
45 | u16 value; | |
46 | u16 stringlength; | |
47 | }; | |
48 | }; | |
49 | ||
50 | struct calling_interface_structure { | |
51 | struct dmi_header header; | |
52 | u16 cmdIOAddress; | |
53 | u8 cmdIOCode; | |
54 | u32 supportedCmds; | |
55 | struct calling_interface_token tokens[]; | |
56 | } __packed; | |
57 | ||
58 | static int da_command_address; | |
59 | static int da_command_code; | |
60 | static int da_num_tokens; | |
61 | static struct calling_interface_token *da_tokens; | |
62 | ||
ada3248a AJ |
63 | static struct platform_driver platform_driver = { |
64 | .driver = { | |
65 | .name = "dell-laptop", | |
66 | .owner = THIS_MODULE, | |
67 | } | |
68 | }; | |
69 | ||
70 | static struct platform_device *platform_device; | |
ad8f07cc MG |
71 | static struct backlight_device *dell_backlight_device; |
72 | static struct rfkill *wifi_rfkill; | |
73 | static struct rfkill *bluetooth_rfkill; | |
74 | static struct rfkill *wwan_rfkill; | |
75 | ||
76 | static const struct dmi_system_id __initdata dell_device_table[] = { | |
77 | { | |
78 | .ident = "Dell laptop", | |
79 | .matches = { | |
80 | DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), | |
81 | DMI_MATCH(DMI_CHASSIS_TYPE, "8"), | |
82 | }, | |
83 | }, | |
84 | { } | |
85 | }; | |
86 | ||
e5fefd0c ML |
87 | static struct dmi_system_id __devinitdata dell_blacklist[] = { |
88 | /* Supported by compal-laptop */ | |
89 | { | |
90 | .ident = "Dell Mini 9", | |
91 | .matches = { | |
92 | DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), | |
93 | DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 910"), | |
94 | }, | |
95 | }, | |
96 | { | |
97 | .ident = "Dell Mini 10", | |
98 | .matches = { | |
99 | DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), | |
100 | DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 1010"), | |
101 | }, | |
102 | }, | |
103 | { | |
104 | .ident = "Dell Mini 10v", | |
105 | .matches = { | |
106 | DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), | |
107 | DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 1011"), | |
108 | }, | |
109 | }, | |
110 | { | |
111 | .ident = "Dell Inspiron 11z", | |
112 | .matches = { | |
113 | DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), | |
114 | DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 1110"), | |
115 | }, | |
116 | }, | |
117 | { | |
118 | .ident = "Dell Mini 12", | |
119 | .matches = { | |
120 | DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), | |
121 | DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 1210"), | |
122 | }, | |
123 | }, | |
124 | {} | |
125 | }; | |
126 | ||
116ee77b SH |
127 | static struct calling_interface_buffer *buffer; |
128 | struct page *bufferpage; | |
129 | DEFINE_MUTEX(buffer_mutex); | |
130 | ||
131 | static void get_buffer(void) | |
132 | { | |
133 | mutex_lock(&buffer_mutex); | |
134 | memset(buffer, 0, sizeof(struct calling_interface_buffer)); | |
135 | } | |
136 | ||
137 | static void release_buffer(void) | |
138 | { | |
139 | mutex_unlock(&buffer_mutex); | |
140 | } | |
141 | ||
4788df4c | 142 | static void __init parse_da_table(const struct dmi_header *dm) |
ad8f07cc MG |
143 | { |
144 | /* Final token is a terminator, so we don't want to copy it */ | |
145 | int tokens = (dm->length-11)/sizeof(struct calling_interface_token)-1; | |
146 | struct calling_interface_structure *table = | |
147 | container_of(dm, struct calling_interface_structure, header); | |
148 | ||
149 | /* 4 bytes of table header, plus 7 bytes of Dell header, plus at least | |
150 | 6 bytes of entry */ | |
151 | ||
152 | if (dm->length < 17) | |
153 | return; | |
154 | ||
155 | da_command_address = table->cmdIOAddress; | |
156 | da_command_code = table->cmdIOCode; | |
157 | ||
158 | da_tokens = krealloc(da_tokens, (da_num_tokens + tokens) * | |
159 | sizeof(struct calling_interface_token), | |
160 | GFP_KERNEL); | |
161 | ||
162 | if (!da_tokens) | |
163 | return; | |
164 | ||
165 | memcpy(da_tokens+da_num_tokens, table->tokens, | |
166 | sizeof(struct calling_interface_token) * tokens); | |
167 | ||
168 | da_num_tokens += tokens; | |
169 | } | |
170 | ||
4788df4c | 171 | static void __init find_tokens(const struct dmi_header *dm, void *dummy) |
ad8f07cc MG |
172 | { |
173 | switch (dm->type) { | |
174 | case 0xd4: /* Indexed IO */ | |
175 | break; | |
176 | case 0xd5: /* Protected Area Type 1 */ | |
177 | break; | |
178 | case 0xd6: /* Protected Area Type 2 */ | |
179 | break; | |
180 | case 0xda: /* Calling interface */ | |
181 | parse_da_table(dm); | |
182 | break; | |
183 | } | |
184 | } | |
185 | ||
186 | static int find_token_location(int tokenid) | |
187 | { | |
188 | int i; | |
189 | for (i = 0; i < da_num_tokens; i++) { | |
190 | if (da_tokens[i].tokenID == tokenid) | |
191 | return da_tokens[i].location; | |
192 | } | |
193 | ||
194 | return -1; | |
195 | } | |
196 | ||
197 | static struct calling_interface_buffer * | |
198 | dell_send_request(struct calling_interface_buffer *buffer, int class, | |
199 | int select) | |
200 | { | |
201 | struct smi_cmd command; | |
202 | ||
203 | command.magic = SMI_CMD_MAGIC; | |
204 | command.command_address = da_command_address; | |
205 | command.command_code = da_command_code; | |
206 | command.ebx = virt_to_phys(buffer); | |
207 | command.ecx = 0x42534931; | |
208 | ||
209 | buffer->class = class; | |
210 | buffer->select = select; | |
211 | ||
212 | dcdbas_smi_request(&command); | |
213 | ||
214 | return buffer; | |
215 | } | |
216 | ||
217 | /* Derived from information in DellWirelessCtl.cpp: | |
218 | Class 17, select 11 is radio control. It returns an array of 32-bit values. | |
219 | ||
220 | result[0]: return code | |
221 | result[1]: | |
222 | Bit 0: Hardware switch supported | |
223 | Bit 1: Wifi locator supported | |
224 | Bit 2: Wifi is supported | |
225 | Bit 3: Bluetooth is supported | |
226 | Bit 4: WWAN is supported | |
227 | Bit 5: Wireless keyboard supported | |
228 | Bits 6-7: Reserved | |
229 | Bit 8: Wifi is installed | |
230 | Bit 9: Bluetooth is installed | |
231 | Bit 10: WWAN is installed | |
232 | Bits 11-15: Reserved | |
233 | Bit 16: Hardware switch is on | |
234 | Bit 17: Wifi is blocked | |
235 | Bit 18: Bluetooth is blocked | |
236 | Bit 19: WWAN is blocked | |
237 | Bits 20-31: Reserved | |
238 | result[2]: NVRAM size in bytes | |
239 | result[3]: NVRAM format version number | |
240 | */ | |
241 | ||
19d337df | 242 | static int dell_rfkill_set(void *data, bool blocked) |
ad8f07cc | 243 | { |
624f0de4 | 244 | int disable = blocked ? 1 : 0; |
19d337df | 245 | unsigned long radio = (unsigned long)data; |
116ee77b | 246 | int ret = 0; |
ad8f07cc | 247 | |
116ee77b SH |
248 | get_buffer(); |
249 | dell_send_request(buffer, 17, 11); | |
ec1722a2 | 250 | |
116ee77b SH |
251 | if (!(buffer->output[1] & BIT(16))) { |
252 | ret = -EINVAL; | |
253 | goto out; | |
254 | } | |
ad8f07cc | 255 | |
116ee77b SH |
256 | buffer->input[0] = (1 | (radio<<8) | (disable << 16)); |
257 | dell_send_request(buffer, 17, 11); | |
258 | ||
259 | out: | |
260 | release_buffer(); | |
261 | return ret; | |
ad8f07cc MG |
262 | } |
263 | ||
19d337df | 264 | static void dell_rfkill_query(struct rfkill *rfkill, void *data) |
ad8f07cc | 265 | { |
ad8f07cc | 266 | int status; |
19d337df | 267 | int bit = (unsigned long)data + 16; |
ad8f07cc | 268 | |
116ee77b SH |
269 | get_buffer(); |
270 | dell_send_request(buffer, 17, 11); | |
271 | status = buffer->output[1]; | |
272 | release_buffer(); | |
ad8f07cc | 273 | |
e1fbf346 MG |
274 | rfkill_set_sw_state(rfkill, !!(status & BIT(bit))); |
275 | rfkill_set_hw_state(rfkill, !(status & BIT(16))); | |
ad8f07cc MG |
276 | } |
277 | ||
19d337df JB |
278 | static const struct rfkill_ops dell_rfkill_ops = { |
279 | .set_block = dell_rfkill_set, | |
280 | .query = dell_rfkill_query, | |
281 | }; | |
ad8f07cc | 282 | |
814cb8ad MG |
283 | static void dell_update_rfkill(struct work_struct *ignored) |
284 | { | |
285 | if (wifi_rfkill) | |
286 | dell_rfkill_query(wifi_rfkill, (void *)1); | |
287 | if (bluetooth_rfkill) | |
288 | dell_rfkill_query(bluetooth_rfkill, (void *)2); | |
289 | if (wwan_rfkill) | |
290 | dell_rfkill_query(wwan_rfkill, (void *)3); | |
291 | } | |
292 | static DECLARE_DELAYED_WORK(dell_rfkill_work, dell_update_rfkill); | |
293 | ||
294 | ||
4788df4c | 295 | static int __init dell_setup_rfkill(void) |
ad8f07cc | 296 | { |
ad8f07cc MG |
297 | int status; |
298 | int ret; | |
299 | ||
e5fefd0c ML |
300 | if (dmi_check_system(dell_blacklist)) { |
301 | printk(KERN_INFO "dell-laptop: Blacklisted hardware detected - " | |
302 | "not enabling rfkill\n"); | |
303 | return 0; | |
304 | } | |
305 | ||
116ee77b SH |
306 | get_buffer(); |
307 | dell_send_request(buffer, 17, 11); | |
308 | status = buffer->output[1]; | |
309 | release_buffer(); | |
ad8f07cc MG |
310 | |
311 | if ((status & (1<<2|1<<8)) == (1<<2|1<<8)) { | |
ada3248a AJ |
312 | wifi_rfkill = rfkill_alloc("dell-wifi", &platform_device->dev, |
313 | RFKILL_TYPE_WLAN, | |
19d337df JB |
314 | &dell_rfkill_ops, (void *) 1); |
315 | if (!wifi_rfkill) { | |
316 | ret = -ENOMEM; | |
ad8f07cc | 317 | goto err_wifi; |
19d337df | 318 | } |
ad8f07cc MG |
319 | ret = rfkill_register(wifi_rfkill); |
320 | if (ret) | |
321 | goto err_wifi; | |
322 | } | |
323 | ||
324 | if ((status & (1<<3|1<<9)) == (1<<3|1<<9)) { | |
ada3248a AJ |
325 | bluetooth_rfkill = rfkill_alloc("dell-bluetooth", |
326 | &platform_device->dev, | |
19d337df JB |
327 | RFKILL_TYPE_BLUETOOTH, |
328 | &dell_rfkill_ops, (void *) 2); | |
329 | if (!bluetooth_rfkill) { | |
330 | ret = -ENOMEM; | |
ad8f07cc | 331 | goto err_bluetooth; |
19d337df | 332 | } |
ad8f07cc MG |
333 | ret = rfkill_register(bluetooth_rfkill); |
334 | if (ret) | |
335 | goto err_bluetooth; | |
336 | } | |
337 | ||
338 | if ((status & (1<<4|1<<10)) == (1<<4|1<<10)) { | |
ada3248a AJ |
339 | wwan_rfkill = rfkill_alloc("dell-wwan", |
340 | &platform_device->dev, | |
341 | RFKILL_TYPE_WWAN, | |
19d337df JB |
342 | &dell_rfkill_ops, (void *) 3); |
343 | if (!wwan_rfkill) { | |
344 | ret = -ENOMEM; | |
ad8f07cc | 345 | goto err_wwan; |
19d337df | 346 | } |
ad8f07cc MG |
347 | ret = rfkill_register(wwan_rfkill); |
348 | if (ret) | |
349 | goto err_wwan; | |
350 | } | |
351 | ||
352 | return 0; | |
353 | err_wwan: | |
19d337df JB |
354 | rfkill_destroy(wwan_rfkill); |
355 | if (bluetooth_rfkill) | |
ad8f07cc | 356 | rfkill_unregister(bluetooth_rfkill); |
ad8f07cc | 357 | err_bluetooth: |
19d337df JB |
358 | rfkill_destroy(bluetooth_rfkill); |
359 | if (wifi_rfkill) | |
ad8f07cc | 360 | rfkill_unregister(wifi_rfkill); |
ad8f07cc | 361 | err_wifi: |
19d337df | 362 | rfkill_destroy(wifi_rfkill); |
ad8f07cc MG |
363 | |
364 | return ret; | |
365 | } | |
366 | ||
4311bb23 AJ |
367 | static void dell_cleanup_rfkill(void) |
368 | { | |
369 | if (wifi_rfkill) { | |
370 | rfkill_unregister(wifi_rfkill); | |
371 | rfkill_destroy(wifi_rfkill); | |
372 | } | |
373 | if (bluetooth_rfkill) { | |
374 | rfkill_unregister(bluetooth_rfkill); | |
375 | rfkill_destroy(bluetooth_rfkill); | |
376 | } | |
377 | if (wwan_rfkill) { | |
378 | rfkill_unregister(wwan_rfkill); | |
379 | rfkill_destroy(wwan_rfkill); | |
380 | } | |
381 | } | |
382 | ||
ad8f07cc MG |
383 | static int dell_send_intensity(struct backlight_device *bd) |
384 | { | |
116ee77b | 385 | int ret = 0; |
ad8f07cc | 386 | |
116ee77b SH |
387 | get_buffer(); |
388 | buffer->input[0] = find_token_location(BRIGHTNESS_TOKEN); | |
389 | buffer->input[1] = bd->props.brightness; | |
ad8f07cc | 390 | |
116ee77b SH |
391 | if (buffer->input[0] == -1) { |
392 | ret = -ENODEV; | |
393 | goto out; | |
394 | } | |
ad8f07cc MG |
395 | |
396 | if (power_supply_is_system_supplied() > 0) | |
116ee77b | 397 | dell_send_request(buffer, 1, 2); |
ad8f07cc | 398 | else |
116ee77b | 399 | dell_send_request(buffer, 1, 1); |
ad8f07cc | 400 | |
116ee77b SH |
401 | out: |
402 | release_buffer(); | |
ad8f07cc MG |
403 | return 0; |
404 | } | |
405 | ||
406 | static int dell_get_intensity(struct backlight_device *bd) | |
407 | { | |
116ee77b | 408 | int ret = 0; |
ad8f07cc | 409 | |
116ee77b SH |
410 | get_buffer(); |
411 | buffer->input[0] = find_token_location(BRIGHTNESS_TOKEN); | |
ad8f07cc | 412 | |
116ee77b SH |
413 | if (buffer->input[0] == -1) { |
414 | ret = -ENODEV; | |
415 | goto out; | |
416 | } | |
ad8f07cc MG |
417 | |
418 | if (power_supply_is_system_supplied() > 0) | |
116ee77b | 419 | dell_send_request(buffer, 0, 2); |
ad8f07cc | 420 | else |
116ee77b | 421 | dell_send_request(buffer, 0, 1); |
ad8f07cc | 422 | |
116ee77b SH |
423 | out: |
424 | release_buffer(); | |
425 | if (ret) | |
426 | return ret; | |
427 | return buffer->output[1]; | |
ad8f07cc MG |
428 | } |
429 | ||
430 | static struct backlight_ops dell_ops = { | |
431 | .get_brightness = dell_get_intensity, | |
432 | .update_status = dell_send_intensity, | |
433 | }; | |
434 | ||
814cb8ad MG |
435 | bool dell_laptop_i8042_filter(unsigned char data, unsigned char str, |
436 | struct serio *port) | |
437 | { | |
438 | static bool extended; | |
439 | ||
440 | if (str & 0x20) | |
441 | return false; | |
442 | ||
443 | if (unlikely(data == 0xe0)) { | |
444 | extended = true; | |
445 | return false; | |
446 | } else if (unlikely(extended)) { | |
447 | switch (data) { | |
448 | case 0x8: | |
449 | schedule_delayed_work(&dell_rfkill_work, | |
450 | round_jiffies_relative(HZ)); | |
451 | break; | |
452 | } | |
453 | extended = false; | |
454 | } | |
455 | ||
456 | return false; | |
457 | } | |
458 | ||
ad8f07cc MG |
459 | static int __init dell_init(void) |
460 | { | |
ad8f07cc MG |
461 | int max_intensity = 0; |
462 | int ret; | |
463 | ||
464 | if (!dmi_check_system(dell_device_table)) | |
465 | return -ENODEV; | |
466 | ||
e7a19c56 | 467 | dmi_walk(find_tokens, NULL); |
ad8f07cc MG |
468 | |
469 | if (!da_tokens) { | |
470 | printk(KERN_INFO "dell-laptop: Unable to find dmi tokens\n"); | |
471 | return -ENODEV; | |
472 | } | |
473 | ||
ada3248a AJ |
474 | ret = platform_driver_register(&platform_driver); |
475 | if (ret) | |
476 | goto fail_platform_driver; | |
477 | platform_device = platform_device_alloc("dell-laptop", -1); | |
478 | if (!platform_device) { | |
479 | ret = -ENOMEM; | |
480 | goto fail_platform_device1; | |
481 | } | |
482 | ret = platform_device_add(platform_device); | |
483 | if (ret) | |
484 | goto fail_platform_device2; | |
485 | ||
116ee77b SH |
486 | /* |
487 | * Allocate buffer below 4GB for SMI data--only 32-bit physical addr | |
488 | * is passed to SMI handler. | |
489 | */ | |
490 | bufferpage = alloc_page(GFP_KERNEL | GFP_DMA32); | |
491 | ||
492 | if (!bufferpage) | |
493 | goto fail_buffer; | |
494 | buffer = page_address(bufferpage); | |
495 | mutex_init(&buffer_mutex); | |
496 | ||
ad8f07cc MG |
497 | ret = dell_setup_rfkill(); |
498 | ||
499 | if (ret) { | |
500 | printk(KERN_WARNING "dell-laptop: Unable to setup rfkill\n"); | |
71e9dc73 | 501 | goto fail_rfkill; |
ad8f07cc MG |
502 | } |
503 | ||
814cb8ad MG |
504 | ret = i8042_install_filter(dell_laptop_i8042_filter); |
505 | if (ret) { | |
506 | printk(KERN_WARNING | |
507 | "dell-laptop: Unable to install key filter\n"); | |
508 | goto fail_filter; | |
509 | } | |
510 | ||
ad8f07cc MG |
511 | #ifdef CONFIG_ACPI |
512 | /* In the event of an ACPI backlight being available, don't | |
513 | * register the platform controller. | |
514 | */ | |
515 | if (acpi_video_backlight_support()) | |
516 | return 0; | |
517 | #endif | |
518 | ||
116ee77b SH |
519 | get_buffer(); |
520 | buffer->input[0] = find_token_location(BRIGHTNESS_TOKEN); | |
521 | if (buffer->input[0] != -1) { | |
522 | dell_send_request(buffer, 0, 2); | |
523 | max_intensity = buffer->output[3]; | |
ad8f07cc | 524 | } |
116ee77b | 525 | release_buffer(); |
ad8f07cc MG |
526 | |
527 | if (max_intensity) { | |
528 | dell_backlight_device = backlight_device_register( | |
529 | "dell_backlight", | |
ada3248a | 530 | &platform_device->dev, NULL, |
ad8f07cc MG |
531 | &dell_ops); |
532 | ||
533 | if (IS_ERR(dell_backlight_device)) { | |
534 | ret = PTR_ERR(dell_backlight_device); | |
535 | dell_backlight_device = NULL; | |
71e9dc73 | 536 | goto fail_backlight; |
ad8f07cc MG |
537 | } |
538 | ||
539 | dell_backlight_device->props.max_brightness = max_intensity; | |
540 | dell_backlight_device->props.brightness = | |
541 | dell_get_intensity(dell_backlight_device); | |
542 | backlight_update_status(dell_backlight_device); | |
543 | } | |
544 | ||
545 | return 0; | |
71e9dc73 AJ |
546 | |
547 | fail_backlight: | |
814cb8ad MG |
548 | i8042_remove_filter(dell_laptop_i8042_filter); |
549 | fail_filter: | |
4311bb23 | 550 | dell_cleanup_rfkill(); |
71e9dc73 | 551 | fail_rfkill: |
116ee77b SH |
552 | free_page((unsigned long)bufferpage); |
553 | fail_buffer: | |
ada3248a AJ |
554 | platform_device_del(platform_device); |
555 | fail_platform_device2: | |
556 | platform_device_put(platform_device); | |
557 | fail_platform_device1: | |
558 | platform_driver_unregister(&platform_driver); | |
559 | fail_platform_driver: | |
ad8f07cc MG |
560 | kfree(da_tokens); |
561 | return ret; | |
562 | } | |
563 | ||
564 | static void __exit dell_exit(void) | |
565 | { | |
814cb8ad MG |
566 | cancel_delayed_work_sync(&dell_rfkill_work); |
567 | i8042_remove_filter(dell_laptop_i8042_filter); | |
ad8f07cc | 568 | backlight_device_unregister(dell_backlight_device); |
4311bb23 | 569 | dell_cleanup_rfkill(); |
facd61d7 MG |
570 | if (platform_device) { |
571 | platform_device_del(platform_device); | |
572 | platform_driver_unregister(&platform_driver); | |
573 | } | |
e551260b | 574 | kfree(da_tokens); |
116ee77b | 575 | free_page((unsigned long)buffer); |
ad8f07cc MG |
576 | } |
577 | ||
578 | module_init(dell_init); | |
579 | module_exit(dell_exit); | |
580 | ||
581 | MODULE_AUTHOR("Matthew Garrett <[email protected]>"); | |
582 | MODULE_DESCRIPTION("Dell laptop driver"); | |
583 | MODULE_LICENSE("GPL"); | |
584 | MODULE_ALIAS("dmi:*svnDellInc.:*:ct8:*"); |