freebsd-nq/sys/powerpc/powermac
Justin Hibbits 7f745b2b49 Make the PowerMac fan control nonlinear
Summary:
Currently, fan control is linear between the target temperature and max
temperature, which is far from ideal.  This changes it to be proportional to the
distance between the current temperature and the two endpoints (target and max
temp).  This also adds a hysteresis, so that fans keep going when the
temperature drops, for about 10 seconds, before slowing down.

Reviewers: nwhitehorn

Reviewed By: nwhitehorn

Differential Revision: https://reviews.freebsd.org/D1549

MFC after:	3 weeks
2015-02-20 06:19:23 +00:00
..
ata_dbdma.c
ata_dbdma.h
ata_kauai.c Move the resource allocation from the ata_*_probe section to the ata_*_attach 2013-10-15 18:59:32 +00:00
ata_macio.c Add suspend/resume to DBDMA and ATA on PowerMacs. 2013-12-21 00:07:56 +00:00
atibl.c Match the right backlight driver. 2015-02-18 07:34:32 +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 Add suspend/resume to DBDMA and ATA on PowerMacs. 2013-12-21 00:07:56 +00:00
dbdmavar.h Add suspend/resume to DBDMA and ATA on PowerMacs. 2013-12-21 00:07:56 +00:00
fcu.c Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
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 Return EIO iso -1, the kiic_transfer has an signed return. 2013-08-23 20:39:41 +00:00
macgpio.c Save and restore the GPIOs on the macio for suspend/resume. 2014-01-11 06:35:29 +00:00
macgpiovar.h Save and restore the GPIOs on the macio for suspend/resume. 2014-01-11 06:35:29 +00:00
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 Fix the resource information for the i2s-a node on certain G5 PowerMacs. 2014-01-20 21:54:05 +00:00
nvbl.c Match the right backlight driver. 2015-02-18 07:34:32 +00:00
platform_powermac.c Unbreak non-SMP builds. This was broken by r259284. Also, reorganize the 2014-01-31 03:55:34 +00:00
pmu.c Add support for Power Button PMU events on non-ADB macs, such as aluminum 2014-11-20 03:23:33 +00:00
pmuvar.h Add support for Power Button PMU events on non-ADB macs, such as aluminum 2014-11-20 03:23:33 +00:00
powermac_thermal.c Make the PowerMac fan control nonlinear 2015-02-20 06:19:23 +00:00
powermac_thermal.h
pswitch.c
smu.c Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +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 Add PMU-based CPU frequency scaling. This method is used on most Titanium 2013-12-13 02:37:35 +00:00
vcoregpio.c
viareg.h Add PMU-based CPU frequency scaling. This method is used on most Titanium 2013-12-13 02:37:35 +00:00