Quiet coretemp probe

Only the first device will print
coretemp0: <CPU On-Die Thermal Sensors> numa-domain 0 on cpu0
instead of all hyper threads

Submitted by:	kbowling
Reviewed by:	imp, sbruno
Sponsored by:	Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D15727
This commit is contained in:
Matt Macy 2018-06-15 02:28:36 +00:00
parent 03bd1b693e
commit 2e3f84e5b7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335186

View File

@ -145,6 +145,9 @@ coretemp_probe(device_t dev)
device_set_desc(dev, "CPU On-Die Thermal Sensors");
if (!bootverbose && device_get_unit(dev) != 0)
device_quiet(dev);
return (BUS_PROBE_GENERIC);
}