opnsense-src/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 - With the demise of !ATA_CAM, ATA_STATIC_ID is the only ata(4) related 2013-04-06 19:12:49 +00:00
ata_dbdma.h Add DMA support for Apple built-in ATA controllers. 2008-09-27 15:13:44 +00:00
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 - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
cudavar.h Get nexus(4) out of the RTC business. The interface used by nexus(4) 2010-03-23 03:14:44 +00:00
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 Unify OF PCI infrastructure, including changing from parsing the device 2012-02-04 19:54:13 +00:00
hrowpic.c Remove bogus __unused attribute from hrowpic_eoi(). 2012-07-01 19:07:45 +00:00
hrowpicvar.h Revamp the interrupt handling in support of INTR_FILTER. This includes: 2007-08-11 19:25:32 +00:00
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 - Introduce a define for ZERO_C_TO_K. 2011-06-03 20:43:12 +00:00
pswitch.c Add a new 'why' argument to kdb_enter(), and a set of constants to use 2007-12-25 17:52:02 +00:00
smu.c Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
smusat.c Improve error handling in smusat(4). 2012-02-15 16:59:24 +00:00
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 Introduce support for cpufreq on PowerPC with the dynamic frequency 2009-05-31 09:01:23 +00:00
viareg.h Add PMU-based CPU frequency scaling. This method is used on most Titanium 2013-12-13 02:37:35 +00:00