[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: i386/3625: NatSemi Geode SC1100, broken TSC
The following reply was made to PR i386/3625; it has been noted by GNATS.
From: Markus Friedl <markus@openbsd.org>
To: sthen@spacehopper.org
Cc: gnats@openbsd.org
Subject: Re: i386/3625: NatSemi Geode SC1100, broken TSC
Date: Fri, 2 Jan 2004 23:53:07 +0100
i'm using this patch.
Index: machdep.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/i386/machdep.c,v
retrieving revision 1.258
diff -u -1 -0 -r1.258 machdep.c
--- machdep.c 29 Dec 2003 08:14:18 -0000 1.258
+++ machdep.c 29 Dec 2003 16:31:26 -0000
@@ -1601,20 +1601,25 @@
void
natsem6x86_cpu_setup(cpu_device, model, step)
const char *cpu_device;
int model, step;
{
#if defined(I586_CPU) || defined(I686_CPU)
extern int clock_broken_latch;
clock_broken_latch = 1;
+ switch (model) {
+ case 4:
+ cpu_feature &= ~CPUID_TSC;
+ break;
+ }
#endif
}
void
intel586_cpu_setup(cpu_device, model, step)
const char *cpu_device;
int model, step;
{
#if defined(I586_CPU)
fix_f00f();