Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi Call _PDC only after AcpiInitializeObjects(ACPI...
details: https://anonhg.NetBSD.org/src/rev/6914221d5cd9
branches: trunk
changeset: 766012:6914221d5cd9
user: jruoho <jruoho%NetBSD.org@localhost>
date: Mon Jun 13 09:37:23 2011 +0000
description:
Call _PDC only after AcpiInitializeObjects(ACPI_FULL_INITIALIZATION).
diffstat:
sys/dev/acpi/acpi.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (44 lines):
diff -r d309dbc5f74b -r 6914221d5cd9 sys/dev/acpi/acpi.c
--- a/sys/dev/acpi/acpi.c Mon Jun 13 06:22:08 2011 +0000
+++ b/sys/dev/acpi/acpi.c Mon Jun 13 09:37:23 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi.c,v 1.243 2011/06/12 10:11:52 jruoho Exp $ */
+/* $NetBSD: acpi.c,v 1.244 2011/06/13 09:37:23 jruoho Exp $ */
/*-
* Copyright (c) 2003, 2007 The NetBSD Foundation, Inc.
@@ -100,7 +100,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.243 2011/06/12 10:11:52 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.244 2011/06/13 09:37:23 jruoho Exp $");
#include "opt_acpi.h"
#include "opt_pcifixup.h"
@@ -441,12 +441,6 @@
goto fail;
/*
- * Early initialization of the _PDC control method
- * that may load additional SSDT tables dynamically.
- */
- (void)acpi_md_pdc();
-
- /*
* Early initialization of acpiec(4) via ECDT.
*/
(void)config_found_ia(self, "acpiecdtbus", aa, NULL);
@@ -457,6 +451,12 @@
goto fail;
/*
+ * Early initialization of the _PDC control method
+ * that may load additional SSDT tables dynamically.
+ */
+ (void)acpi_md_pdc();
+
+ /*
* Install global notify handlers.
*/
rv = AcpiInstallNotifyHandler(ACPI_ROOT_OBJECT,
Home |
Main Index |
Thread Index |
Old Index