diff options
Diffstat (limited to 'sys/i386/cpufreq')
-rw-r--r-- | sys/i386/cpufreq/p4tcc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/i386/cpufreq/p4tcc.c b/sys/i386/cpufreq/p4tcc.c index 44c1d96..7a2eea1 100644 --- a/sys/i386/cpufreq/p4tcc.c +++ b/sys/i386/cpufreq/p4tcc.c @@ -150,6 +150,7 @@ static int p4tcc_attach(device_t dev) { struct p4tcc_softc *sc; + struct cf_setting set; sc = device_get_softc(dev); sc->dev = dev; @@ -188,6 +189,13 @@ p4tcc_attach(device_t dev) } sc->lowest_val = TCC_NUM_SETTINGS - sc->set_count + 1; + /* + * Before we finish attach, switch to 100%. It's possible the BIOS + * set us to a lower rate. The user can override this after boot. + */ + set.freq = 10000; + p4tcc_set(dev, &set); + cpufreq_register(dev); return (0); } |