Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys ACPICA 20091112:
details: https://anonhg.NetBSD.org/src/rev/daafea2ad768
branches: trunk
changeset: 753722:daafea2ad768
user: jruoho <jruoho%NetBSD.org@localhost>
date: Thu Apr 08 04:40:51 2010 +0000
description:
ACPICA 20091112:
Implemented a post-order callback to AcpiWalkNamespace. The existing
interface only has a pre-order callback. This change adds an
additional parameter for a post-order callback which will be more
useful for bus scans. ACPICA BZ 779. Lin Ming. Updated the ACPICA
Programmer Reference.
We will use the old "pre-order callback" for the time being.
diffstat:
sys/arch/i386/acpi/vald_acpi.c | 6 +++---
sys/arch/x86/x86/mpacpi.c | 6 +++---
sys/dev/acpi/acpi.c | 6 +++---
sys/dev/acpi/sony_acpi.c | 8 ++++----
4 files changed, 13 insertions(+), 13 deletions(-)
diffs (117 lines):
diff -r 5dc4cf8d53e0 -r daafea2ad768 sys/arch/i386/acpi/vald_acpi.c
--- a/sys/arch/i386/acpi/vald_acpi.c Thu Apr 08 04:37:14 2010 +0000
+++ b/sys/arch/i386/acpi/vald_acpi.c Thu Apr 08 04:40:51 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vald_acpi.c,v 1.32 2010/03/04 21:54:35 jruoho Exp $ */
+/* $NetBSD: vald_acpi.c,v 1.33 2010/04/08 04:40:51 jruoho Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -74,7 +74,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vald_acpi.c,v 1.32 2010/03/04 21:54:35 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vald_acpi.c,v 1.33 2010/04/08 04:40:51 jruoho Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -501,7 +501,7 @@
return;
AcpiWalkNamespace(ACPI_TYPE_DEVICE, parent, 100,
- vald_acpi_libright_get_bus, sc, NULL);
+ vald_acpi_libright_get_bus, NULL, sc, NULL);
}
/*
diff -r 5dc4cf8d53e0 -r daafea2ad768 sys/arch/x86/x86/mpacpi.c
--- a/sys/arch/x86/x86/mpacpi.c Thu Apr 08 04:37:14 2010 +0000
+++ b/sys/arch/x86/x86/mpacpi.c Thu Apr 08 04:40:51 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mpacpi.c,v 1.84 2010/01/09 20:56:17 cegger Exp $ */
+/* $NetBSD: mpacpi.c,v 1.85 2010/04/08 04:40:51 jruoho Exp $ */
/*
* Copyright (c) 2003 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mpacpi.c,v 1.84 2010/01/09 20:56:17 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mpacpi.c,v 1.85 2010/04/08 04:40:51 jruoho Exp $");
#include "acpica.h"
#include "opt_acpi.h"
@@ -505,7 +505,7 @@
return ENOENT;
TAILQ_INIT(&mpacpi_pcibusses);
AcpiWalkNamespace(ACPI_TYPE_DEVICE, sbhandle, 100,
- mpacpi_pcibus_cb, acpi, NULL);
+ mpacpi_pcibus_cb, NULL, acpi, NULL);
return 0;
}
diff -r 5dc4cf8d53e0 -r daafea2ad768 sys/dev/acpi/acpi.c
--- a/sys/dev/acpi/acpi.c Thu Apr 08 04:37:14 2010 +0000
+++ b/sys/dev/acpi/acpi.c Thu Apr 08 04:40:51 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi.c,v 1.163 2010/03/29 16:35:59 dyoung Exp $ */
+/* $NetBSD: acpi.c,v 1.164 2010/04/08 04:40:51 jruoho Exp $ */
/*-
* Copyright (c) 2003, 2007 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.163 2010/03/29 16:35:59 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.164 2010/04/08 04:40:51 jruoho Exp $");
#include "opt_acpi.h"
#include "opt_pcifixup.h"
@@ -695,7 +695,7 @@
if (ACPI_SUCCESS(rv))
(void)AcpiWalkNamespace(ACPI_TYPE_ANY, parent, 100,
- acpi_make_devnode, sc, NULL);
+ acpi_make_devnode, NULL, sc, NULL);
}
acpi_rescan1(sc, NULL, NULL);
diff -r 5dc4cf8d53e0 -r daafea2ad768 sys/dev/acpi/sony_acpi.c
--- a/sys/dev/acpi/sony_acpi.c Thu Apr 08 04:37:14 2010 +0000
+++ b/sys/dev/acpi/sony_acpi.c Thu Apr 08 04:40:51 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sony_acpi.c,v 1.15 2010/03/05 14:00:17 jruoho Exp $ */
+/* $NetBSD: sony_acpi.c,v 1.16 2010/04/08 04:40:51 jruoho Exp $ */
/*-
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sony_acpi.c,v 1.15 2010/03/05 14:00:17 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sony_acpi.c,v 1.16 2010/04/08 04:40:51 jruoho Exp $");
#include <sys/param.h>
#include <sys/sysctl.h>
@@ -248,7 +248,7 @@
sc->sc_dev = self;
rv = AcpiWalkNamespace(ACPI_TYPE_DEVICE, ACPI_ROOT_OBJECT, 100,
- sony_acpi_find_pic, sc, NULL);
+ sony_acpi_find_pic, NULL, sc, NULL);
if (ACPI_FAILURE(rv))
aprint_error_dev(self, "couldn't walk namespace: %s\n",
AcpiFormatException(rv));
@@ -289,7 +289,7 @@
/* Install sysctl handler */
rv = AcpiWalkNamespace(ACPI_TYPE_METHOD,
- sc->sc_node->ad_handle, 1, sony_walk_cb, sc, NULL);
+ sc->sc_node->ad_handle, 1, sony_walk_cb, NULL, sc, NULL);
#ifdef DIAGNOSTIC
if (ACPI_FAILURE(rv))
aprint_error_dev(self, "Cannot walk ACPI namespace (%u)\n",
Home |
Main Index |
Thread Index |
Old Index