aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/asus_acpi.c
diff options
context:
space:
mode:
authorKarol Kozimor <sziwan@hell.org.pl>2006-06-30 19:05:00 -0400
committerLen Brown <len.brown@intel.com>2006-06-30 20:35:01 -0400
commitc067a7899790ed4c03b00ed186c6e3b6a3964379 (patch)
treea98f6d36dd9dba8ec23659fcff407816b03a4887 /drivers/acpi/asus_acpi.c
parent42cb891295795ed9b3048c8922d93f7a71f63968 (diff)
ACPI: asus_acpi: support W3400N
This patch adds support for Asus W3400N. Signed-off-by: Karol Kozimor <sziwan@hell.org.pl> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/asus_acpi.c')
-rw-r--r--drivers/acpi/asus_acpi.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/acpi/asus_acpi.c b/drivers/acpi/asus_acpi.c
index b95b52e2932c..a497f42ccc94 100644
--- a/drivers/acpi/asus_acpi.c
+++ b/drivers/acpi/asus_acpi.c
@@ -126,7 +126,7 @@ struct asus_hotk {
126 L8L, //L8400L 126 L8L, //L8400L
127 M1A, //M1300A 127 M1A, //M1300A
128 M2E, //M2400E, L4400L 128 M2E, //M2400E, L4400L
129 M6N, //M6800N 129 M6N, //M6800N, W3400N
130 M6R, //M6700R, A3000G 130 M6R, //M6700R, A3000G
131 P30, //Samsung P30 131 P30, //Samsung P30
132 S1x, //S1300A, but also L1400B and M2400A (L84F) 132 S1x, //S1300A, but also L1400B and M2400A (L84F)
@@ -1077,7 +1077,8 @@ static int asus_hotk_get_info(void)
1077 hotk->model = L8L; 1077 hotk->model = L8L;
1078 else if (strncmp(model->string.pointer, "L4R", 3) == 0) 1078 else if (strncmp(model->string.pointer, "L4R", 3) == 0)
1079 hotk->model = L4R; 1079 hotk->model = L4R;
1080 else if (strncmp(model->string.pointer, "M6N", 3) == 0) 1080 else if (strncmp(model->string.pointer, "M6N", 3) == 0 ||
1081 strncmp(model->string.pointer, "W3N", 3) == 0)
1081 hotk->model = M6N; 1082 hotk->model = M6N;
1082 else if (strncmp(model->string.pointer, "M6R", 3) == 0 || 1083 else if (strncmp(model->string.pointer, "M6R", 3) == 0 ||
1083 strncmp(model->string.pointer, "A3G", 3) == 0) 1084 strncmp(model->string.pointer, "A3G", 3) == 0)
@@ -1130,9 +1131,10 @@ static int asus_hotk_get_info(void)
1130 hotk->methods->lcd_status = "\\BLFG"; 1131 hotk->methods->lcd_status = "\\BLFG";
1131 /* A3G is like M6R */ 1132 /* A3G is like M6R */
1132 else if (strncmp(model->string.pointer, "S5N", 3) == 0 || 1133 else if (strncmp(model->string.pointer, "S5N", 3) == 0 ||
1133 strncmp(model->string.pointer, "M5N", 3) == 0) 1134 strncmp(model->string.pointer, "M5N", 3) == 0 ||
1135 strncmp(model->string.pointer, "W3N", 3) == 0)
1134 hotk->methods->mt_mled = NULL; 1136 hotk->methods->mt_mled = NULL;
1135 /* S5N and M5N have no MLED */ 1137 /* S5N, M5N and W3N have no MLED */
1136 else if (strncmp(model->string.pointer, "M2N", 3) == 0) 1138 else if (strncmp(model->string.pointer, "M2N", 3) == 0)
1137 hotk->methods->mt_wled = "WLED"; 1139 hotk->methods->mt_wled = "WLED";
1138 /* M2N has a usable WLED */ 1140 /* M2N has a usable WLED */