svn commit: r248796 - stable/9/sys/dev/acpica

Alexander Motin mav at FreeBSD.org
Wed Mar 27 14:23:51 UTC 2013


Author: mav
Date: Wed Mar 27 14:23:50 2013
New Revision: 248796
URL: http://svnweb.freebsd.org/changeset/base/248796

Log:
  MFC r245266:
  Remove not very useful printf, that can be too chatty.
  
  ASUS P8Z77-V board reports _AC2, _AC3 and _AC4 setpoints as 0C.  With active
  cooling already automatically set to _AC2, that still caused driver to print
  two useless lines about temperature above _AC3 and _AC4 every ten seconds.
  Three setponts of 0C is probably a board bug, but the same spam could happen
  also in correct case if system is runnign not with the lowest cooling level.

Modified:
  stable/9/sys/dev/acpica/acpi_thermal.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/acpica/acpi_thermal.c
==============================================================================
--- stable/9/sys/dev/acpica/acpi_thermal.c	Wed Mar 27 11:58:08 2013	(r248795)
+++ stable/9/sys/dev/acpica/acpi_thermal.c	Wed Mar 27 14:23:50 2013	(r248796)
@@ -509,15 +509,8 @@ acpi_tz_monitor(void *Context)
      */
     newactive = TZ_ACTIVE_NONE;
     for (i = TZ_NUMLEVELS - 1; i >= 0; i--) {
-	if (sc->tz_zone.ac[i] != -1 && temp >= sc->tz_zone.ac[i]) {
+	if (sc->tz_zone.ac[i] != -1 && temp >= sc->tz_zone.ac[i])
 	    newactive = i;
-	    if (sc->tz_active != newactive) {
-		ACPI_VPRINT(sc->tz_dev,
-			    acpi_device_get_parent_softc(sc->tz_dev),
-			    "_AC%d: temperature %d.%d >= setpoint %d.%d\n", i,
-			    TZ_KELVTOC(temp), TZ_KELVTOC(sc->tz_zone.ac[i]));
-	    }
-	}
     }
 
     /*


More information about the svn-src-stable-9 mailing list