aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKarol Kozimor <sziwan@hell.org.pl>2006-06-30 19:08:00 -0400
committerLen Brown <len.brown@intel.com>2006-06-30 20:37:40 -0400
commitebccb84810729f0e86a83a65681ba2de45ff84d8 (patch)
tree8aec29f80fd6e81d312ffab44735a2893a3ca6b9 /drivers
parente067aaa7612c273d4bfd70d1bd8d80313a57685c (diff)
ACPI: asus_acpi: support L5D
This patch adds support for Asus L5D and thus fixes http://bugme.osdl.org/show_bug.cgi?id=4695 Signed-off-by: Karol Kozimor <sziwan@hell.org.pl> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/acpi/asus_acpi.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/acpi/asus_acpi.c b/drivers/acpi/asus_acpi.c
index f39aef109736..099f92a2c6f2 100644
--- a/drivers/acpi/asus_acpi.c
+++ b/drivers/acpi/asus_acpi.c
@@ -125,7 +125,7 @@ struct asus_hotk {
125 L2D, //L2000D 125 L2D, //L2000D
126 L3C, //L3800C 126 L3C, //L3800C
127 L3D, //L3400D 127 L3D, //L3400D
128 L3H, //L3H, but also L2000E 128 L3H, //L3H, L2000E, L5D
129 L4R, //L4500R 129 L4R, //L4500R
130 L5x, //L5800C 130 L5x, //L5800C
131 L8L, //L8400L 131 L8L, //L8400L
@@ -1119,8 +1119,9 @@ static int asus_hotk_get_info(void)
1119 hotk->model = END_MODEL; 1119 hotk->model = END_MODEL;
1120 if (strncmp(model->string.pointer, "L3D", 3) == 0) 1120 if (strncmp(model->string.pointer, "L3D", 3) == 0)
1121 hotk->model = L3D; 1121 hotk->model = L3D;
1122 else if (strncmp(model->string.pointer, "L3H", 3) == 0 || 1122 else if (strncmp(model->string.pointer, "L2E", 3) == 0 ||
1123 strncmp(model->string.pointer, "L2E", 3) == 0) 1123 strncmp(model->string.pointer, "L3H", 3) == 0 ||
1124 strncmp(model->string.pointer, "L5D", 3) == 0)
1124 hotk->model = L3H; 1125 hotk->model = L3H;
1125 else if (strncmp(model->string.pointer, "L3", 2) == 0 || 1126 else if (strncmp(model->string.pointer, "L3", 2) == 0 ||
1126 strncmp(model->string.pointer, "L2B", 3) == 0) 1127 strncmp(model->string.pointer, "L2B", 3) == 0)
@@ -1191,6 +1192,9 @@ static int asus_hotk_get_info(void)
1191 strncmp(model->string.pointer, "W3N", 3) == 0) 1192 strncmp(model->string.pointer, "W3N", 3) == 0)
1192 hotk->methods->mt_mled = NULL; 1193 hotk->methods->mt_mled = NULL;
1193 /* S5N, M5N and W3N have no MLED */ 1194 /* S5N, M5N and W3N have no MLED */
1195 else if (strncmp(model->string.pointer, "L5D", 3) == 0)
1196 hotk->methods->mt_wled = NULL;
1197 /* L5D's WLED is not controlled by ACPI */
1194 else if (strncmp(model->string.pointer, "M2N", 3) == 0) 1198 else if (strncmp(model->string.pointer, "M2N", 3) == 0)
1195 hotk->methods->mt_wled = "WLED"; 1199 hotk->methods->mt_wled = "WLED";
1196 /* M2N has a usable WLED */ 1200 /* M2N has a usable WLED */