git: kernel/acpi: Add smart battery support.
Sascha Wildner
swildner at crater.dragonflybsd.org
Tue Aug 28 15:08:50 PDT 2012
commit bedaba59b1c344e0da7df29fe067b93537791c6d
Author: Sascha Wildner <saw at online.de>
Date: Wed Aug 29 00:08:24 2012 +0200
kernel/acpi: Add smart battery support.
I don't know which laptops have them, as far as I can tell, none of mine
do. But as some seem to have it, it's worth supporting.
https://en.wikipedia.org/wiki/Smart_Battery_System
This is the patch from the tracker with some later updates FreeBSD did.
Taken-from: FreeBSD
Dragonfly-bug: <https://bugs.dragonflybsd.org/issues/1229>
Submitted-by: Dmitry Komissaroff <aunoor at gmail.com>
Summary of changes:
sys/conf/files | 1 +
sys/dev/acpica5/Makefile | 2 +-
sys/dev/acpica5/acpi_smbat.c | 492 ++++++++++++++++++++++++++++++++++++++++++
sys/dev/acpica5/acpi_smbus.h | 285 ++++++++++++++++++++++++
4 files changed, 779 insertions(+), 1 deletions(-)
create mode 100644 sys/dev/acpica5/acpi_smbat.c
create mode 100644 sys/dev/acpica5/acpi_smbus.h
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bedaba59b1c344e0da7df29fe067b93537791c6d
--
DragonFly BSD source repository
More information about the Commits
mailing list