freebsd-skq/sys/powerpc
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
..
aim ddb: allow specifying the exact address of the symtab and strtab 2014-09-25 08:28:10 +00:00
booke ddb: allow specifying the exact address of the symtab and strtab 2014-09-25 08:28:10 +00:00
conf Move the PS3 framebuffer console to use vt instead of syscons and adjust 2014-05-11 05:49:35 +00:00
cpufreq Some style(9) fixes 2013-12-13 05:54:25 +00:00
fpu Fix debug printfs in FPU_EMU to compile on powerpc64 and enable it for 2013-12-05 21:49:14 +00:00
include Add arch-specific macro SFBUF_PHYS_DMAP(), which should translate the 2014-08-20 08:02:38 +00:00
mambo Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00
mpc85xx Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00
ofw Fix a paste-o commited in r272109: we need to get the interrupts for the 2014-09-26 15:16:53 +00:00
powermac Add an AC line monitor so power_profile can work 2014-10-12 19:12:48 +00:00
powerpc Migrate ie->ie_assign_cpu and associated code to use an int for CPU rather 2014-09-17 17:33:22 +00:00
ps3 Mechanically convert to if_inc_counter(). 2014-09-19 09:20:34 +00:00
pseries Replace multiple nearly-identical copies of code to walk through an FDT 2014-09-25 15:02:33 +00:00
psim Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00
wii Fix typo. 2013-12-02 22:00:15 +00:00