/[base]
ViewVC logotype

Revision 216503


Jump to revision: Previous Next
Author: avg
Date: Fri Dec 17 16:21:30 2010 UTC (13 years, 6 months ago)
Changed paths: 4
Log Message:
small cleanup of acpi battery status setting and checking

This is based on the patch submitted by Yuri Skripachov.
Overview of the changes:
- clarify double-use of some ACPI_BATT_STAT_* definitions
- clean up undefined/extended status bits returned by _BST
- warn about charging+discharging bits being set at the same time

PR:		kern/124744
Submitted by:	Yuri Skripachov <y.skripachov@gmail.com>
Tested by:	Yuri Skripachov <y.skripachov@gmail.com>
MFC after:	2 weeks


Changed paths

Path Details
Directoryhead/sys/dev/acpica/acpi_battery.c modified , text changed
Directoryhead/sys/dev/acpica/acpi_cmbat.c modified , text changed
Directoryhead/sys/dev/acpica/acpi_smbat.c modified , text changed
Directoryhead/sys/dev/acpica/acpiio.h modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27