cvs commit: src/sys/dev/acpica acpi_battery.c acpi_cmbat.c acpivar.h

Nate Lawson nate at root.org
Fri Jul 16 11:22:28 PDT 2004


Kevin Oberman wrote:
>>From: Nate Lawson <njl at FreeBSD.org>
>>Date: Mon, 12 Jul 2004 20:53:04 +0000 (UTC)
>>Sender: owner-cvs-all at freebsd.org
>>
>>njl         2004-07-12 20:53:04 UTC
>>
>>  FreeBSD src repository
>>
>>  Modified files:
>>    sys/dev/acpica       acpi_battery.c acpi_cmbat.c acpivar.h 
>>  Log:
>>  Add the ability to detach a battery.  Now batteries that are detached are
>>  also removed from the battery list.
>>  
>>  Revision  Changes    Path
>>  1.9       +16 -0     src/sys/dev/acpica/acpi_battery.c
>>  1.32      +16 -1     src/sys/dev/acpica/acpi_cmbat.c
>>  1.77      +1 -0      src/sys/dev/acpica/acpivar.h
> 
> Thanks!
> 
> Any hope for adding a battery? I see acpi_battery_register routine, but
> I suspect it is only used at boot time.

Dynamic device add/remove is in my local tree.  It has a few quirks in general 
but works ok with batteries.  After some more work, it's likely I'll commit 
it.  It is the rudimentary beginnings of docking support and drive bay swapping.

-Nate


More information about the cvs-src mailing list