summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-04-13 17:14:53 +0000
committerjhb <jhb@FreeBSD.org>2001-04-13 17:14:53 +0000
commite20549a88c4d5ced3b5cc3ba4344db52930a4486 (patch)
tree77ab945d009186c1311eb146cc7f76d9efee0390 /sys
parent21239d2a43ebc5a13d796ea8b68484eb4249d37c (diff)
downloadFreeBSD-src-e20549a88c4d5ced3b5cc3ba4344db52930a4486.zip
FreeBSD-src-e20549a88c4d5ced3b5cc3ba4344db52930a4486.tar.gz
People are still having problems with i586_* on UP machines and SMP
machines, so just hack it to disable them for now until it can be fixed. Inspired by hair pulling of: asmodai
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/fpu.c2
-rw-r--r--sys/amd64/isa/npx.c2
-rw-r--r--sys/i386/isa/npx.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/amd64/fpu.c b/sys/amd64/amd64/fpu.c
index 56e23a0..6ec2738 100644
--- a/sys/amd64/amd64/fpu.c
+++ b/sys/amd64/amd64/fpu.c
@@ -455,7 +455,7 @@ npx_attach(dev)
}
npxinit(__INITIAL_NPXCW__);
-#ifdef I586_CPU
+#ifdef I586_CPU_XXX
if (cpu_class == CPUCLASS_586 && npx_ex16 && npx_exists &&
timezero("i586_bzero()", i586_bzero) <
timezero("bzero()", bzero) * 4 / 5) {
diff --git a/sys/amd64/isa/npx.c b/sys/amd64/isa/npx.c
index 56e23a0..6ec2738 100644
--- a/sys/amd64/isa/npx.c
+++ b/sys/amd64/isa/npx.c
@@ -455,7 +455,7 @@ npx_attach(dev)
}
npxinit(__INITIAL_NPXCW__);
-#ifdef I586_CPU
+#ifdef I586_CPU_XXX
if (cpu_class == CPUCLASS_586 && npx_ex16 && npx_exists &&
timezero("i586_bzero()", i586_bzero) <
timezero("bzero()", bzero) * 4 / 5) {
diff --git a/sys/i386/isa/npx.c b/sys/i386/isa/npx.c
index 56e23a0..6ec2738 100644
--- a/sys/i386/isa/npx.c
+++ b/sys/i386/isa/npx.c
@@ -455,7 +455,7 @@ npx_attach(dev)
}
npxinit(__INITIAL_NPXCW__);
-#ifdef I586_CPU
+#ifdef I586_CPU_XXX
if (cpu_class == CPUCLASS_586 && npx_ex16 && npx_exists &&
timezero("i586_bzero()", i586_bzero) <
timezero("bzero()", bzero) * 4 / 5) {
OpenPOWER on IntegriCloud