* [PATCH] (resend) support for 900MHz Pentium M for speedstep-centrino.c
@ 2003-07-20 19:16 Jeremy Fitzhardinge
2003-07-20 21:34 ` Jeremy Fitzhardinge
0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Fitzhardinge @ 2003-07-20 19:16 UTC (permalink / raw)
To: linux-kernel, cpufreq list
The 900MHz Pentium M has two spaces before the frequency:
"Intel(R) Pentium(R) M processor 900MHz"
This patch adds a 2nd CPU macro (_CPU) which also takes the
stringified speed so that extra spacing can be added.
J
i386/kernel/cpu/cpufreq/speedstep-centrino.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff -puN
arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c~centrino-900MHz
arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
---
local-2.5/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c~centrino-900MHz 2003-07-12 16:38:45.000000000 -0700
+++
local-2.5-jeremy/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c 2003-07-13 00:37:31.000000000 -0700
@@ -156,14 +156,15 @@ static struct cpufreq_frequency_table op
};
#undef OP
-#define CPU(max) \
- { "Intel(R) Pentium(R) M processor " #max "MHz", (max)*1000, op_##max
}
+#define _CPU(max, name) \
+ { "Intel(R) Pentium(R) M processor " name "MHz", (max)*1000, op_##max
}
+#define CPU(max) _CPU(max, #max)
/* CPU models, their operating frequency range, and freq/voltage
operating points */
static const struct cpu_model models[] =
{
- CPU( 900),
+ _CPU( 900, " 900"),
CPU(1100),
CPU(1200),
CPU(1300),
_
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] (resend) support for 900MHz Pentium M for speedstep-centrino.c
2003-07-20 19:16 [PATCH] (resend) support for 900MHz Pentium M for speedstep-centrino.c Jeremy Fitzhardinge
@ 2003-07-20 21:34 ` Jeremy Fitzhardinge
0 siblings, 0 replies; 2+ messages in thread
From: Jeremy Fitzhardinge @ 2003-07-20 21:34 UTC (permalink / raw)
To: linux-kernel; +Cc: cpufreq list
On Sun, 2003-07-20 at 12:16, Jeremy Fitzhardinge wrote:
> The 900MHz Pentium M has two spaces before the frequency:
> "Intel(R) Pentium(R) M processor 900MHz"
Gah, Ignore this - it's in test1-mm2.
J
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-07-20 21:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-20 19:16 [PATCH] (resend) support for 900MHz Pentium M for speedstep-centrino.c Jeremy Fitzhardinge
2003-07-20 21:34 ` Jeremy Fitzhardinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).