svn commit: r267605 - stable/8/sys/dev/acpica

Marius Strobl marius at FreeBSD.org
Wed Jun 18 10:57:00 UTC 2014


Author: marius
Date: Wed Jun 18 10:56:59 2014
New Revision: 267605
URL: http://svnweb.freebsd.org/changeset/base/267605

Log:
  MFC: r220871
  
  Correctly output the entire array for hw.acpi.thermal._ACx.

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

Modified: stable/8/sys/dev/acpica/acpi_thermal.c
==============================================================================
--- stable/8/sys/dev/acpica/acpi_thermal.c	Wed Jun 18 10:38:29 2014	(r267604)
+++ stable/8/sys/dev/acpica/acpi_thermal.c	Wed Jun 18 10:56:59 2014	(r267605)
@@ -293,7 +293,8 @@ acpi_tz_attach(device_t dev)
 		    "critical temp setpoint (shutdown now)");
     SYSCTL_ADD_PROC(&sc->tz_sysctl_ctx, SYSCTL_CHILDREN(sc->tz_sysctl_tree),
 		    OID_AUTO, "_ACx", CTLTYPE_INT | CTLFLAG_RD,
-		    &sc->tz_zone.ac, 0, sysctl_handle_int, "IK", "");
+		    &sc->tz_zone.ac, sizeof(sc->tz_zone.ac),
+		    sysctl_handle_opaque, "IK", "");
     SYSCTL_ADD_PROC(&sc->tz_sysctl_ctx, SYSCTL_CHILDREN(sc->tz_sysctl_tree),
 		    OID_AUTO, "_TC1", CTLTYPE_INT | CTLFLAG_RW,
 		    sc, offsetof(struct acpi_tz_softc, tz_zone.tc1),


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