Date: Thu, 1 Nov 2001 08:34:08 -0800 (PST) From: Mitsuru IWASAKI <iwasaki@FreeBSD.org> 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 Message-ID: <200111011634.fA1GY8M18688@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111011634.fA1GY8M18688>
