Date: Sun, 29 May 2011 20:46:53 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/powerpc/powermac powermac_thermal.c Message-ID: <201105292047.p4TKlEkV040677@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
nwhitehorn 2011-05-29 20:46:53 UTC FreeBSD src repository Modified files: sys/powerpc/powermac powermac_thermal.c Log: SVN rev 222463 on 2011-05-29 20:46:53Z by nwhitehorn Add some error handling here: if a sensor returns an error code (a negative Kelvin temperature, which is impossible except for some contrived magnetic spin systems), use the previous measurement from that sensor instead of corrupting everything and randomly changing the fans or shutting off the machine. Revision Changes Path 1.3 +5 -1 src/sys/powerpc/powermac/powermac_thermal.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105292047.p4TKlEkV040677>