git: kernel/acpi: Add smart battery support.
swildner at crater.dragonflybsd.org
Tue Aug 28 15:08:50 PDT 2012
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.
This is the patch from the tracker with some later updates FreeBSD did.
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
DragonFly BSD source repository
More information about the Commits