Project

General

Profile

Bug #402 » est.c.patch

qhwt+dfly, 12/17/2006 07:02 AM

View differences:

est.c 17 Dec 2006 06:21:51 -0000
/* $NetBSD: est.c,v 1.24 2006/03/15 22:56:38 dogcow Exp $ */
/* $NetBSD: est.c,v 1.25 2006/06/18 16:39:56 nonaka Exp $ */
/*
* Copyright (c) 2003 Michael Eriksson.
* All rights reserved.
......
*
* ACPI objects: _PCT is MSR location, _PSS is freq/voltage, _PPC is caps.
*
* $NetBSD: est.c,v 1.24 2006/03/15 22:56:38 dogcow Exp $
* $NetBSD: est.c,v 1.25 2006/06/18 16:39:56 nonaka Exp $
* $DragonFly: src/sys/machine/pc32/i386/est.c,v 1.2 2006/06/30 07:34:59 y0netan1 Exp $
*/
......
{ 600, 956 },
};
/* Low Voltage Intel Pentium M processor 1.30 GHz */
static const struct fq_info pentium_m_1300_lv[] = {
{ 1300, 1180 },
{ 1200, 1164 },
{ 1100, 1100 },
{ 1000, 1020 },
{ 900, 1004 },
{ 800, 988 },
{ 600, 956 },
};
/* Intel Pentium M processor 1.30 GHz */
static const struct fq_info pentium_m_1300[] = {
{ 1300, 1388 },
......
{ 800, 988 }
};
static const struct fq_info pentium_m_n750_2[] = {
{ 1867, 1356 },
{ 1600, 1228 },
{ 1333, 1148 },
{ 1067, 1068 },
{ 800, 988 }
};
/* Intel Pentium M processor 755 2.0 GHz */
static const struct fq_info pentium_m_n755[] = {
{ 2000, 1340 },
......
{ 800, 988 }
};
/* Intel Pentium M processor 760 2.0 GHz */
static const struct fq_info pentium_m_n760_2[] = {
{ 2000, 1308 },
{ 1600, 1244 },
{ 1333, 1164 },
{ 1067, 1084 },
{ 800, 988 }
};
/* Intel Pentium M processor 765 2.1 GHz */
static const struct fq_info pentium_m_n765[] = {
{ 2100, 1340 },
......
{ 600, 988 }
};
/* Intel Pentium M processor 770 2.13 GHz */
static const struct fq_info pentium_m_n770_2[] = {
{ 2133, 1356 },
{ 1867, 1292 },
{ 1600, 1212 },
{ 1333, 1148 },
{ 1067, 1068 },
{ 800, 988 }
};
struct fqlist {
const char *brand_tag;
const u_int cpu_id;
......
ENTRY("1100", 0x0695, pentium_m_1100, 3),
ENTRY("1200", 0x0695, pentium_m_1200, 3),
ENTRY("1300", 0x0695, pentium_m_1300, 3),
ENTRY("1300", 0x0695, pentium_m_1300_lv, 3),
ENTRY("1400", 0x0695, pentium_m_1400, 3),
ENTRY("1500", 0x0695, pentium_m_1500, 3),
ENTRY("1600", 0x0695, pentium_m_1600, 3),
......
/* 'regular' 400 MHz FSB CPUs */
ENTRY("1.40", 0x06d6, pentium_m_n710, 3),
ENTRY("1.50", 0x06d6, pentium_m_n715, 3),
ENTRY("1.50", 0x06d8, pentium_m_n715, 3),
ENTRY("1.60", 0x06d6, pentium_m_n725, 3),
ENTRY("1.70", 0x06d6, pentium_m_n735, 3),
ENTRY("1.80", 0x06d6, pentium_m_n745, 3),
......
ENTRY("1.73", 0x06d8, pentium_m_n740, 4),
ENTRY("1.73", 0x06d8, pentium_m_n740_2, 4),
ENTRY("1.86", 0x06d8, pentium_m_n750, 4),
ENTRY("1.86", 0x06d8, pentium_m_n750_2, 4),
ENTRY("2.00", 0x06d8, pentium_m_n760, 4),
ENTRY("2.00", 0x06d8, pentium_m_n760_2, 4),
ENTRY("2.13", 0x06d8, pentium_m_n770, 4),
ENTRY("2.13", 0x06d8, pentium_m_n770_2, 4),
};
#undef ENTRY
(2-2/2)