1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-27 16:39:08 +00:00

Disable the check for errata AE18. On MacBooks (1,1 version) there's

no problem with coretemp and C3 state.

Approved by:	njl (mentor)
This commit is contained in:
Rui Paulo 2008-01-10 16:09:22 +00:00
parent 8c18f0d537
commit ab0b125777
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=175214

View File

@ -143,6 +143,11 @@ coretemp_attach(device_t dev)
cpu_model += ((cpu_id >> 16) & 0xf) << 4;
cpu_mask = cpu_id & 15;
#if 0 /*
* XXXrpaulo: I have this CPU model and when it returns from C3
* coretemp continues to function properly.
*/
/*
* Check for errata AE18.
* "Processor Digital Thermal Sensor (DTS) Readout stops
@ -159,6 +164,7 @@ coretemp_attach(device_t dev)
return (ENXIO);
}
}
#endif
/*
* On some Core 2 CPUs, there's an undocumented MSR that
* can tell us if Tj(max) is 100 or 85.