From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karol Kozimor Subject: [PATCH 9/10] add S1N WLED control Date: Sat, 1 Jul 2006 01:12:41 +0200 Message-ID: <20060630231241.GK31642@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]:13572 "HELO hell.org.pl") by vger.kernel.org with SMTP id S932220AbWF3XMp (ORCPT ); Fri, 30 Jun 2006 19:12:45 -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 small patch adds back WLED control for S1N models, this was accidentally removed a while ago. Signed-off-by: Karol Kozimor --- a/drivers/acpi/asus_acpi.c 2006-01-18 18:20:11.000000000 +0100 +++ b/drivers/acpi/asus_acpi.c 2006-01-18 18:24:16.000000000 +0100 @@ -1202,9 +1202,10 @@ static int __init asus_hotk_get_info(voi else if (strncmp(string, "L5D", 3) == 0) hotk->methods->mt_wled = NULL; /* L5D's WLED is not controlled by ACPI */ - else if (strncmp(string, "M2N", 3) == 0) + else if (strncmp(string, "M2N", 3) == 0 || + strncmp(string, "S1N", 3) == 0) hotk->methods->mt_wled = "WLED"; - /* M2N has a usable WLED */ + /* M2N and S1N have a usable WLED */ else if (asus_info) { if (strncmp(asus_info->oem_table_id, "L1", 2) == 0) hotk->methods->mled_status = NULL;