Date: Fri, 26 Oct 2001 10:43:05 -0700 (PDT) From: Mitsuru IWASAKI <iwasaki@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf files.i386 files.ia64 src/sys/dev/acpica acpi.c acpi_acad.c acpi_battery.c acpivar.h src/sys/i386/acpica acpi_machdep.c src/sys/ia64/acpica acpi_machdep.c src/sys/modules/acpi Makefile Message-ID: <200110261743.f9QHh5o33409@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
iwasaki 2001/10/26 10:43:05 PDT Modified files: sys/conf files.i386 files.ia64 sys/dev/acpica acpi.c acpi_acad.c acpi_battery.c acpivar.h sys/modules/acpi Makefile Added files: sys/i386/acpica acpi_machdep.c sys/ia64/acpica acpi_machdep.c Log: Add APM compatibility feature to ACPI. This emulates APM device node interface APIs (mainly ioctl) and provides APM services for the applications. The goal is to support most of APM applications without any changes. Implemented ioctls in this commit are: - APMIO_SUSPEND (mapped ACPI S3 as default but changable by sysctl) - APMIO_STANDBY (mapped ACPI S1 as default but changable by sysctl) - APMIO_GETINFO and APMIO_GETINFO_OLD - APMIO_GETPWSTATUS With above, many APM applications which get batteries, ac-line info. and transition the system into suspend/standby mode (such as wmapm, xbatt) should work with ACPI enabled kernel (if ACPI works well :-) Reviewed by: arch@, audit@ and some guys Revision Changes Path 1.378 +1 -0 src/sys/conf/files.i386 1.22 +1 -0 src/sys/conf/files.ia64 1.43 +14 -3 src/sys/dev/acpica/acpi.c 1.9 +24 -5 src/sys/dev/acpica/acpi_acad.c 1.3 +4 -4 src/sys/dev/acpica/acpi_battery.c 1.19 +16 -1 src/sys/dev/acpica/acpivar.h 1.1 +335 -0 src/sys/i386/acpica/acpi_machdep.c (new) 1.1 +48 -0 src/sys/ia64/acpica/acpi_machdep.c (new) 1.15 +3 -3 src/sys/modules/acpi/Makefile 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?200110261743.f9QHh5o33409>