From af2cde52b3543f51792726b2de6780527f5c6730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Sat, 18 Feb 2006 16:01:07 +0000 Subject: [PATCH] Look for cpu/ichss instead of cpu/p4tcc, which is i386/amd64-only. --- usr.sbin/powerd/powerd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/powerd/powerd.c b/usr.sbin/powerd/powerd.c index 22bd1c38fd5c..f0940faba7d2 100644 --- a/usr.sbin/powerd/powerd.c +++ b/usr.sbin/powerd/powerd.c @@ -434,7 +434,7 @@ main(int argc, char * argv[]) mode = mode_none; /* Make sure the cpufreq module is loaded */ - if (!kld_isloaded("cpu/p4tcc") && kld_load("cpufreq") == -1) + if (!kld_isloaded("cpu/ichss") && kld_load("cpufreq") == -1) err(1, "failed to load cpufreq module"); /* Poll interval is in units of ms. */