From 18d725a04e4585ce833569b95d79a311e9ff34cb Mon Sep 17 00:00:00 2001 From: Philip Paeps Date: Sat, 2 Jun 2007 21:10:01 +0000 Subject: [PATCH] Add support for Asus A3N laptops. Submitted by: Holger Jorra MFC after: 1 day --- share/man/man4/man4.i386/acpi_asus.4 | 4 +++- sys/dev/acpi_support/acpi_asus.c | 12 ++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/share/man/man4/man4.i386/acpi_asus.4 b/share/man/man4/man4.i386/acpi_asus.4 index 268d9130f2c2..14fe8bc314c1 100644 --- a/share/man/man4/man4.i386/acpi_asus.4 +++ b/share/man/man4/man4.i386/acpi_asus.4 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 9, 2006 +.Dd June 2, 2007 .Dt ACPI_ASUS 4 i386 .Os .Sh NAME @@ -68,6 +68,8 @@ A1x .It A2x .It +A3N +.It A4D .It A6VM diff --git a/sys/dev/acpi_support/acpi_asus.c b/sys/dev/acpi_support/acpi_asus.c index 634ab25287d1..28d27cc1241b 100644 --- a/sys/dev/acpi_support/acpi_asus.c +++ b/sys/dev/acpi_support/acpi_asus.c @@ -145,6 +145,18 @@ static struct acpi_asus_model acpi_asus_models[] = { .disp_get = "\\INFB", .disp_set = "SDSP" }, + { + .name = "A3N", + .mled_set = "MLED", + .bled_set = "BLED", + .wled_set = "WLED", + .lcd_get = NULL, + .lcd_set = "\\_SB.PCI0.SBRG.EC0._Q10", + .brn_set = "SPLV", + .brn_get = "SDSP", + .disp_set = "SDSP", + .disp_get = "\\_SB.PCI0.P0P3.VGA.GETD" + }, { .name = "A4D", .mled_set = "MLED",