View | Details | Raw Unified | Return to bug 7607 | Differences between
and this patch

Collapse All | Expand All

(-)linux-2.6.23.1.bak/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c (-2 / +91 lines)
Line 47 Link Here
47
	CPU_DOTHAN_C0,
Line 56 Link Here
57
	[CPU_DOTHAN_C0]	= { 6, 13, 8 },
Line 205 Link Here
207
#define OPEX(mhz, base, mva, mvb, mvc, mvd)			\
208
{								\
209
	.frequency = (mhz) * 1000,				\
210
	.index = (((mhz)/(base)) << 8) | ((mva - 700) / 16)	\
211
}
212
213
/* Intel Pentium M processor 730 / 1.60 GHz (Sonoma) */
214
static struct cpufreq_frequency_table sonoma_1596[] =
215
{
216
	OPEX( 798, 133,  988,  988,  988,  988),
217
	OPEX(1064, 133, 1116, 1111, 1084, 1079),
218
	OPEX(1330, 133, 1244, 1233, 1180, 1169),
219
	OPEX(1596, 133, 1356, 1356, 1260, 1260),
220
	{ .frequency = CPUFREQ_TABLE_END }
221
};
222
223
/* Intel Pentium M processor 740 / 1.73 GHz (Sonoma) */
224
static struct cpufreq_frequency_table sonoma_1729[] =
225
{
226
	OPEX( 798, 133,  988,  988,  988,  988),
227
	OPEX(1064, 133, 1100, 1093, 1068, 1066),
228
	OPEX(1330, 133, 1212, 1198, 1148, 1143),
229
	OPEX(1729, 133, 1356, 1356, 1260, 1260),
230
	{ .frequency = CPUFREQ_TABLE_END }
231
};
232
233
/* Intel Pentium M processor 750 / 1.86 GHz (Sonoma) */
234
static struct cpufreq_frequency_table sonoma_1862[] =
235
{
236
	OPEX( 798, 133,  988,  988,  988,  988),
237
	OPEX(1064, 133, 1084, 1080, 1068, 1056),
238
	OPEX(1330, 133, 1180, 1172, 1132, 1124),
239
	OPEX(1596, 133, 1276, 1264, 1196, 1192),
240
	OPEX(1862, 133, 1356, 1356, 1260, 1260),
241
	{ .frequency = CPUFREQ_TABLE_END }
242
};
243
244
/* Intel Pentium M processor 760 / 2.00 GHz (Sonoma) */
245
static struct cpufreq_frequency_table sonoma_1995[] =
246
{
247
	OPEX( 798, 133, 988, 988, 988, 988),
248
	OPEX(1064, 133, 1084, 1070, 1052, 1048),
249
	OPEX(1330, 133, 1164, 1152, 1116, 1109),
250
	OPEX(1596, 133, 1244, 1233, 1180, 1169),
251
	OPEX(1995, 133, 1356, 1356, 1260, 1260),
252
	{ .frequency = CPUFREQ_TABLE_END }
253
};
254
255
/* Intel Pentium M processor 770 / 2.13 GHz (Sonoma) */
256
static struct cpufreq_frequency_table sonoma_2128[] =
257
{
258
	OPEX( 798, 133, 988, 988, 988, 988),
259
	OPEX(1064, 133, 1068, 1065, 1052, 1042),
260
	OPEX(1330, 133, 1148, 1142, 1100, 1097),
261
	OPEX(1596, 133, 1228, 1218, 1164, 1151),
262
	OPEX(1862, 133, 1308, 1295, 1212, 1206),
263
	OPEX(2128, 133, 1372, 1372, 1260, 1260),
264
	{ .frequency = CPUFREQ_TABLE_END }
265
};
266
267
/* Intel Pentium M processor 780 / 2.26 GHz (Sonoma) */
268
static struct cpufreq_frequency_table sonoma_2261[] =
269
{
270
	OPEX( 798, 133, 988, 988, 988, 988),
271
	OPEX(1064, 133, 1068, 1064, 1052, 1037),
272
	OPEX(1330, 133, 1148, 1139, 1100, 1087),
273
	OPEX(1596, 133, 1228, 1215, 1148, 1136),
274
	OPEX(1862, 133, 1292, 1291, 1196, 1186),
275
	OPEX(2261, 133, 1404, 1404, 1260, 1260),
276
	{ .frequency = CPUFREQ_TABLE_END }
277
};
278
279
#undef OPEX
280
281
#define SONOMA(cpuid, max, base, name)	\
282
{	.cpu_id		= cpuid,	\
283
	.model_name	= "Intel(R) Pentium(R) M processor " name "GHz", \
284
	.max_freq	= (max)*1000,	\
285
	.op_points	= sonoma_##max,	\
286
}
287
Line 218 Link Here
218
302
	/* Builtin tables for Dothan C0 CPUs, a.k.a Sonoma */
219
--
303
	SONOMA(&cpu_ids[CPU_DOTHAN_C0], 1596, 133, "1.60"),
304
	SONOMA(&cpu_ids[CPU_DOTHAN_C0], 1729, 133, "1.73"),
305
	SONOMA(&cpu_ids[CPU_DOTHAN_C0], 1862, 133, "1.86"),
306
	SONOMA(&cpu_ids[CPU_DOTHAN_C0], 1995, 133, "2.00"),
307
	SONOMA(&cpu_ids[CPU_DOTHAN_C0], 2128, 133, "2.13"),
308
	SONOMA(&cpu_ids[CPU_DOTHAN_C0], 2261, 133, "2.26"),
Line 230 Link Here
320
#undef SONOMA

Return to bug 7607