From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karol Kozimor Subject: [PATCH 2/10] support A3G Date: Sat, 1 Jul 2006 01:03:28 +0200 Message-ID: <20060630230328.GD31642@hell.org.pl> References: <20060118212110.GA7199@hell.org.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Return-path: Received: from hell.org.pl ([62.233.239.4]:27407 "HELO hell.org.pl") by vger.kernel.org with SMTP id S1751346AbWF3XDc (ORCPT ); Fri, 30 Jun 2006 19:03:32 -0400 Content-Disposition: inline In-Reply-To: <20060630225905.GB31642@hell.org.pl> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: "Brown, Len" Cc: linux-acpi@vger.kernel.org This patch adds support for Asus A3G. Signed-off-by: Karol Kozimor --- a/drivers/acpi/asus_acpi.c 2006-01-18 17:27:23.000000000 +0100 +++ b/drivers/acpi/asus_acpi.c 2006-01-18 17:28:11.000000000 +0100 @@ -127,7 +127,7 @@ struct asus_hotk { M1A, //M1300A M2E, //M2400E, L4400L M6N, //M6800N - M6R, //M6700R + M6R, //M6700R, A3000G P30, //Samsung P30 S1x, //S1300A, but also L1400B and M2400A (L84F) S2x, //S200 (J1 reported), Victor MP-XP7210 @@ -1038,7 +1038,8 @@ static int __init asus_hotk_get_info(voi hotk->model = L4R; else if (strncmp(model->string.pointer, "M6N", 3) == 0) 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; else if (strncmp(model->string.pointer, "M2N", 3) == 0 || strncmp(model->string.pointer, "M3N", 3) == 0 || @@ -1083,6 +1084,9 @@ static int __init asus_hotk_get_info(voi hotk->methods->lcd_status = NULL; /* L2B is similar enough to L3C to use its settings, with this only 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 || strncmp(model->string.pointer, "M5N", 3) == 0) hotk->methods->mt_mled = NULL;