提交 ed2cb07b 编写于 作者: K Karol Kozimor 提交者: Len Brown

ACPI: asus_acpi: support A3G

This patch adds support for Asus A3G.
Signed-off-by: NKarol Kozimor <sziwan@hell.org.pl>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 a170a531
...@@ -123,7 +123,7 @@ struct asus_hotk { ...@@ -123,7 +123,7 @@ struct asus_hotk {
M1A, //M1300A M1A, //M1300A
M2E, //M2400E, L4400L M2E, //M2400E, L4400L
M6N, //M6800N M6N, //M6800N
M6R, //M6700R M6R, //M6700R, A3000G
P30, //Samsung P30 P30, //Samsung P30
S1x, //S1300A, but also L1400B and M2400A (L84F) S1x, //S1300A, but also L1400B and M2400A (L84F)
S2x, //S200 (J1 reported), Victor MP-XP7210 S2x, //S200 (J1 reported), Victor MP-XP7210
...@@ -1025,7 +1025,8 @@ static int asus_hotk_get_info(void) ...@@ -1025,7 +1025,8 @@ static int asus_hotk_get_info(void)
hotk->model = L4R; hotk->model = L4R;
else if (strncmp(model->string.pointer, "M6N", 3) == 0) else if (strncmp(model->string.pointer, "M6N", 3) == 0)
hotk->model = M6N; hotk->model = M6N;
else if (strncmp(model->string.pointer, "M6R", 3) == 0) else if (strncmp(model->string.pointer, "M6R", 3) == 0 ||
strncmp(model->string.pointer, "A3G", 3) == 0)
hotk->model = M6R; hotk->model = M6R;
else if (strncmp(model->string.pointer, "M2N", 3) == 0 || else if (strncmp(model->string.pointer, "M2N", 3) == 0 ||
strncmp(model->string.pointer, "M3N", 3) == 0 || strncmp(model->string.pointer, "M3N", 3) == 0 ||
...@@ -1070,6 +1071,9 @@ static int asus_hotk_get_info(void) ...@@ -1070,6 +1071,9 @@ static int asus_hotk_get_info(void)
hotk->methods->lcd_status = NULL; hotk->methods->lcd_status = NULL;
/* L2B is similar enough to L3C to use its settings, with this only /* L2B is similar enough to L3C to use its settings, with this only
exception */ exception */
else if (strncmp(model->string.pointer, "A3G", 3) == 0)
hotk->methods->lcd_status = "\\BLFG";
/* A3G is like M6R */
else if (strncmp(model->string.pointer, "S5N", 3) == 0 || else if (strncmp(model->string.pointer, "S5N", 3) == 0 ||
strncmp(model->string.pointer, "M5N", 3) == 0) strncmp(model->string.pointer, "M5N", 3) == 0)
hotk->methods->mt_mled = NULL; hotk->methods->mt_mled = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册