Subject: CVS commit: src/sys/dev/acpi
To: None <source-changes@netbsd.org>
From: Takuya SHIOZAKI <tshiozak@netbsd.org>
List: source-changes
Date: 02/17/2003 16:37:57
Module Name:	src
Committed By:	tshiozak
Date:		Mon Feb 17 14:37:57 UTC 2003

Modified Files:
	src/sys/dev/acpi: acpi_bat.c

Log Message:
fix a few problems in the last commit:
  - make sure that the driver checks the battery presence at acpibat_update()
    if the battery has been not present, because the driver sometimes
    (i.e. boot time or resuming time) miss to sense the presence.
  - make sure that the driver always update the status at acpibat_gtredata();
    I misunderstood about ACPI_NOTIFY_BatteryStatusChanged event.


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 src/sys/dev/acpi/acpi_bat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.