cvs commit: src/sys/dev/acpica acpi_smbat.c acpi_smbus.h
Nate Lawson
njl at FreeBSD.org
Sat Oct 22 17:20:14 PDT 2005
njl 2005-10-23 00:20:13 UTC
FreeBSD src repository
Added files:
sys/dev/acpica acpi_smbat.c acpi_smbus.h
Log:
Import ACPI smart battery support. Newer systems (Acer, mostly) do not
support the CM-battery interface. Smart batteries can eventually be
supported without ACPI via a separate SMBus interface. The ACPI interface
uses the embedded controller for reading/writing to the SMBus, and normal
ASL definitions for locating the battery controller (since SMBus can't be
enumerated.) Also import definitions for the smart battery interface.
This was written by Hans Petter Selasky with minor cleanups from myself.
Submitted by: Hans Petter Selasky <hselasky / c2i.net>
Revision Changes Path
1.1 +402 -0 src/sys/dev/acpica/acpi_smbat.c (new)
1.1 +285 -0 src/sys/dev/acpica/acpi_smbus.h (new)
More information about the cvs-src
mailing list