From owner-cvs-all Fri Oct 26 10:43:10 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 8D23837B401; Fri, 26 Oct 2001 10:43:05 -0700 (PDT) Received: (from iwasaki@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9QHh5o33409; Fri, 26 Oct 2001 10:43:05 -0700 (PDT) (envelope-from iwasaki) Message-Id: <200110261743.f9QHh5o33409@freefall.freebsd.org> From: Mitsuru IWASAKI Date: Fri, 26 Oct 2001 10:43:05 -0700 (PDT) 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 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/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