summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi_cpu.c
diff options
context:
space:
mode:
authoriwasaki <iwasaki@FreeBSD.org>2001-11-18 18:12:07 +0000
committeriwasaki <iwasaki@FreeBSD.org>2001-11-18 18:12:07 +0000
commitd2ab0884a69fac77b1a551e9e41c7d368e542987 (patch)
tree682f9f7f9b26eb075230189b07724195bb044a6a /sys/dev/acpica/acpi_cpu.c
parent41a88cc21ed205a347a753833646e12e0e9a03ba (diff)
downloadFreeBSD-src-d2ab0884a69fac77b1a551e9e41c7d368e542987.zip
FreeBSD-src-d2ab0884a69fac77b1a551e9e41c7d368e542987.tar.gz
Cleanups of verbose printing. All the messages for the debugging is
disabled unless verbose flag is set. Also fix some messages in terms of English. The critical messages and error messages in probe/attach routine are unchanged by this commit.
Diffstat (limited to 'sys/dev/acpica/acpi_cpu.c')
-rw-r--r--sys/dev/acpica/acpi_cpu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi_cpu.c b/sys/dev/acpica/acpi_cpu.c
index 7860d73..887a97c 100644
--- a/sys/dev/acpica/acpi_cpu.c
+++ b/sys/dev/acpica/acpi_cpu.c
@@ -333,7 +333,8 @@ acpi_cpu_set_speed(u_int32_t speed)
p_cnt |= CPU_P_CNT_THT_EN;
CPU_SET_P_CNT(sc, p_cnt);
}
- device_printf(sc->cpu_dev, "set speed to %d.%d%%\n", CPU_SPEED_PRINTABLE(speed));
+ ACPI_VPRINT(sc->cpu_dev, acpi_device_get_parent_softc(sc->cpu_dev),
+ "set speed to %d.%d%%\n", CPU_SPEED_PRINTABLE(speed));
}
cpu_current_state = speed;
}
OpenPOWER on IntegriCloud