From owner-cvs-all Thu Nov 1 8:34:19 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BD12137B403; Thu, 1 Nov 2001 08:34:10 -0800 (PST) Received: (from iwasaki@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA1GY8M18688; Thu, 1 Nov 2001 08:34:08 -0800 (PST) (envelope-from iwasaki) Message-Id: <200111011634.fA1GY8M18688@freefall.freebsd.org> From: Mitsuru IWASAKI Date: Thu, 1 Nov 2001 08:34:08 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf files src/sys/dev/acpica acpi.c src/sys/dev/syscons syscons.c src/sys/i386/apm apm.c src/sys/i386/isa clock.c src/sys/kern subr_power.c src/sys/sys kernel.h power.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG iwasaki 2001/11/01 08:34:08 PST Modified files: sys/conf files sys/dev/acpica acpi.c sys/dev/syscons syscons.c sys/i386/apm apm.c sys/i386/isa clock.c sys/sys kernel.h Added files: sys/kern subr_power.c sys/sys power.h Log: Some fix for the recent apm module changes. - Now that apm loadable module can inform its existence to other kernel components (e.g. i386/isa/clock.c:startrtclock()'s TCS hack). - Exchange priority of SI_SUB_CPU and SI_SUB_KLD for above purpose. - Add simple arbitration mechanism for APM vs. ACPI. This prevents the kernel enables both of them. - Remove obsolete `#ifdef DEV_APM' related code. - Add abstracted interface for Powermanagement operations. Public apm(4) functions, such as apm_suspend(), should be replaced new interfaces. Currently only power_pm_suspend (successor of apm_suspend) is implemented. Reviewed by: peter, arch@ and audit@ Revision Changes Path 1.578 +1 -0 src/sys/conf/files 1.45 +74 -1 src/sys/dev/acpica/acpi.c 1.377 +3 -11 src/sys/dev/syscons/syscons.c 1.124 +97 -3 src/sys/i386/apm/apm.c 1.178 +5 -8 src/sys/i386/isa/clock.c 1.1 +76 -0 src/sys/kern/subr_power.c (new) 1.96 +2 -2 src/sys/sys/kernel.h 1.1 +51 -0 src/sys/sys/power.h (new) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message