diff options
author | Karol Kozimor <sziwan@hell.org.pl> | 2006-06-30 19:03:00 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-30 20:33:02 -0400 |
commit | ed2cb07b2bb04f14793cdeecb0b384374e979525 (patch) | |
tree | d3cc6a250954f218bb7d0d7acc772a75bb1756d2 /drivers/acpi | |
parent | a170a5317c0298538deb170028376ec1631acc2f (diff) |
ACPI: asus_acpi: support A3G
This patch adds support for Asus A3G.
Signed-off-by: Karol Kozimor <sziwan@hell.org.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/asus_acpi.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/acpi/asus_acpi.c b/drivers/acpi/asus_acpi.c index 38b69cb69773..fdc3995b8911 100644 --- a/drivers/acpi/asus_acpi.c +++ b/drivers/acpi/asus_acpi.c | |||
@@ -123,7 +123,7 @@ struct asus_hotk { | |||
123 | M1A, //M1300A | 123 | M1A, //M1300A |
124 | M2E, //M2400E, L4400L | 124 | M2E, //M2400E, L4400L |
125 | M6N, //M6800N | 125 | M6N, //M6800N |
126 | M6R, //M6700R | 126 | M6R, //M6700R, A3000G |
127 | P30, //Samsung P30 | 127 | P30, //Samsung P30 |
128 | S1x, //S1300A, but also L1400B and M2400A (L84F) | 128 | S1x, //S1300A, but also L1400B and M2400A (L84F) |
129 | S2x, //S200 (J1 reported), Victor MP-XP7210 | 129 | S2x, //S200 (J1 reported), Victor MP-XP7210 |
@@ -1025,7 +1025,8 @@ static int asus_hotk_get_info(void) | |||
1025 | hotk->model = L4R; | 1025 | hotk->model = L4R; |
1026 | else if (strncmp(model->string.pointer, "M6N", 3) == 0) | 1026 | else if (strncmp(model->string.pointer, "M6N", 3) == 0) |
1027 | hotk->model = M6N; | 1027 | hotk->model = M6N; |
1028 | else if (strncmp(model->string.pointer, "M6R", 3) == 0) | 1028 | else if (strncmp(model->string.pointer, "M6R", 3) == 0 || |
1029 | strncmp(model->string.pointer, "A3G", 3) == 0) | ||
1029 | hotk->model = M6R; | 1030 | hotk->model = M6R; |
1030 | else if (strncmp(model->string.pointer, "M2N", 3) == 0 || | 1031 | else if (strncmp(model->string.pointer, "M2N", 3) == 0 || |
1031 | strncmp(model->string.pointer, "M3N", 3) == 0 || | 1032 | strncmp(model->string.pointer, "M3N", 3) == 0 || |
@@ -1070,6 +1071,9 @@ static int asus_hotk_get_info(void) | |||
1070 | hotk->methods->lcd_status = NULL; | 1071 | hotk->methods->lcd_status = NULL; |
1071 | /* L2B is similar enough to L3C to use its settings, with this only | 1072 | /* L2B is similar enough to L3C to use its settings, with this only |
1072 | exception */ | 1073 | exception */ |
1074 | else if (strncmp(model->string.pointer, "A3G", 3) == 0) | ||
1075 | hotk->methods->lcd_status = "\\BLFG"; | ||
1076 | /* A3G is like M6R */ | ||
1073 | else if (strncmp(model->string.pointer, "S5N", 3) == 0 || | 1077 | else if (strncmp(model->string.pointer, "S5N", 3) == 0 || |
1074 | strncmp(model->string.pointer, "M5N", 3) == 0) | 1078 | strncmp(model->string.pointer, "M5N", 3) == 0) |
1075 | hotk->methods->mt_mled = NULL; | 1079 | hotk->methods->mt_mled = NULL; |