lkml.org 
[lkml]   [2008]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] ACPI: add ACPI aliases to toshiba_acpi module
Date
Subject: [PATCH] ACPI: add ACPI aliases to toshiba_acpi module
From: Andrey Borzenkov < arvidjaar@mail.ru>

This adds aliases to enable autoloading of toishiba_acpi. Two aliases
are defined - TOS6200 (for \\_SB_.VALD.GHCI) and TSO1900 (for
\\_SB_.VALZ.GHCI). This allows toishiba_acpi to be autoloaded on
systems that provide those devices.

Signed-off-by: Andrey Borzenkov < arvidjaar@mail.ru>

---

TOS6200 case is tested by me. I do not have device with TOS1900 and gathered HID
from searching available information on Iternet.

drivers/acpi/toshiba_acpi.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)


diff --git a/drivers/acpi/toshiba_acpi.c b/drivers/acpi/toshiba_acpi.c
index 9e8c20c..0a43c8e 100644
--- a/drivers/acpi/toshiba_acpi.c
+++ b/drivers/acpi/toshiba_acpi.c
@@ -99,6 +99,13 @@ MODULE_LICENSE("GPL");
#define HCI_VIDEO_OUT_CRT 0x2
#define HCI_VIDEO_OUT_TV 0x4

+static const struct acpi_device_id toshiba_device_ids[] = {
+ {"TOS6200", 0},
+ {"TOS1900", 0},
+ {"", 0},
+};
+MODULE_DEVICE_TABLE(acpi, toshiba_device_ids);
+
/* utility
*/
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2008-02-23 15:41    [W:0.024 / U:0.992 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site