freebsd-nq/sys/powerpc/powermac
Justin Hibbits d49c6f029c Add an AC line monitor so power_profile can work
Summary:
Add a polling loop (1Hz) to monitor the battery and AC status, to notify devd
like ACPI does for power monitoring.  This allows /etc/rc.d/power_profile to
work on PowerPC laptops

Test Plan:
Tested on a Titanium PowerBook, configuring economy_cpu_freq and
performance_cpu_freq, disabling powerd.

Reviewers: #powerpc, nwhitehorn

Reviewed By: nwhitehorn

Subscribers: rpaulo

Differential Revision: https://reviews.freebsd.org/D937
2014-10-12 19:12:48 +00:00
..
ata_dbdma.c
ata_dbdma.h
ata_kauai.c
ata_macio.c
atibl.c Clear the backlight level when it's turned off. Also, reduce the delay times to 2014-04-06 23:57:19 +00:00
cpcht.c Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00
cuda.c
cudavar.h
dbdma.c
dbdmavar.h
fcu.c
grackle.c Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00
gracklevar.h
hrowpic.c
hrowpicvar.h
kiic.c
macgpio.c
macgpiovar.h
macio.c Rename OF_xref_phandle() to OF_node_from_xref() and add a new function 2014-09-01 18:51:01 +00:00
maciovar.h
nvbl.c
platform_powermac.c
pmu.c Add an AC line monitor so power_profile can work 2014-10-12 19:12:48 +00:00
pmuvar.h
powermac_thermal.c
powermac_thermal.h
pswitch.c
smu.c Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00
smusat.c
uninorth.c Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00
uninorthpci.c Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00
uninorthvar.h
vcoregpio.c
viareg.h
windtunnel.c