From owner-cvs-all@FreeBSD.ORG Wed Jun 30 16:08:37 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79ECA16A4CE; Wed, 30 Jun 2004 16:08:37 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72EBD43D4C; Wed, 30 Jun 2004 16:08:37 +0000 (GMT) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i5UG83OH042134; Wed, 30 Jun 2004 16:08:03 GMT (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5UG831p042133; Wed, 30 Jun 2004 16:08:03 GMT (envelope-from njl) Message-Id: <200406301608.i5UG831p042133@repoman.freebsd.org> From: Nate Lawson Date: Wed, 30 Jun 2004 16:08:03 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/acpica acpi.c acpi_button.c acpi_lid.c acpi_pci.c acpi_pcib_acpi.c acpivar.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2004 16:08:37 -0000 njl 2004-06-30 16:08:03 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi.c acpi_button.c acpi_lid.c acpi_pci.c acpi_pcib_acpi.c acpivar.h Log: Move flags into a private ivar so it can't collide with device flags. Unify the code to disable GPEs with the enable code. Shutdown is handled the same way. ACPI now does all wake/sleep prep for child devices so now they no longer need to call external functions in the suspend/resume path. Add the flags to non-ACPI busses (i.e., pci). Revision Changes Path 1.172 +92 -107 src/sys/dev/acpica/acpi.c 1.29 +0 -5 src/sys/dev/acpica/acpi_button.c 1.25 +0 -5 src/sys/dev/acpica/acpi_lid.c 1.21 +25 -2 src/sys/dev/acpica/acpi_pci.c 1.37 +10 -0 src/sys/dev/acpica/acpi_pcib_acpi.c 1.76 +10 -5 src/sys/dev/acpica/acpivar.h