Hi all, On Sat, 4 Jan 2003 17:55:25 +0000 Trent Nelson <[EMAIL PROTECTED]> wrote: > No. However, it happened to me today shorty after I issued a sysctl > -w hw.acpi.cpu.economy_speed=8. (Why does it default to 4 anyway?)
It reminded me of my tiny local patch. --- src/sys/dev/acpica/acpi_cpu.c.orig Thu Oct 17 02:28:52 2002 +++ src/sys/dev/acpica/acpi_cpu.c Mon Dec 23 12:58:28 2002 @@ -328,7 +328,7 @@ if (speed < CPU_MAX_SPEED) { /* mask the old CLK_VAL off and or-in the new value */ - clk_val = CPU_MAX_SPEED << cpu_duty_offset; + clk_val = (CPU_MAX_SPEED - 1) << cpu_duty_offset; p_cnt &= ~clk_val; p_cnt |= (speed << cpu_duty_offset); Virtually yours, Taku -- YAMAMOTO, Taku <[EMAIL PROTECTED]> Digital circuits are made from analog parts. -- Don Vonada To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message