aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cpufreq
diff options
context:
space:
mode:
authorNate Lawson <njl@FreeBSD.org>2005-02-27 02:43:02 +0000
committerNate Lawson <njl@FreeBSD.org>2005-02-27 02:43:02 +0000
commit97d31723e73ab6e80b3d0d586fc9a9998c2e1b6e (patch)
treed74a00967ac027e61016fbf7128f8de321bdb358 /sys/dev/cpufreq
parent1a6d9e839f99c54bc06d87265e7961d861ce19dc (diff)
Notes
Diffstat (limited to 'sys/dev/cpufreq')
-rw-r--r--sys/dev/cpufreq/ichss.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/cpufreq/ichss.c b/sys/dev/cpufreq/ichss.c
index b8d35421583e..d38ed523482d 100644
--- a/sys/dev/cpufreq/ichss.c
+++ b/sys/dev/cpufreq/ichss.c
@@ -166,7 +166,11 @@ ichss_pci_probe(device_t dev)
if (devclass_get_device(ichss_devclass, 0))
return (ENXIO);
- /* Add a child under the CPU parent. */
+ /*
+ * Add a child under the CPU parent. It appears that ICH SpeedStep
+ * only requires a single CPU to set the value (since the chipset
+ * is shared by all CPUs.) Thus, we only add a child to cpu 0.
+ */
parent = devclass_get_device(devclass_find("cpu"), 0);
KASSERT(parent != NULL, ("cpu parent is NULL"));
child = BUS_ADD_CHILD(parent, 0, "ichss", 0);