From adccbaa77d4ffc0804c7f21d79c5574723ef2e7e Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 13 Apr 2001 17:14:53 +0000 Subject: [PATCH] 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 --- sys/amd64/amd64/fpu.c | 2 +- sys/amd64/isa/npx.c | 2 +- sys/i386/isa/npx.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/amd64/amd64/fpu.c b/sys/amd64/amd64/fpu.c index 56e23a02d6d2..6ec273857214 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 56e23a02d6d2..6ec273857214 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 56e23a02d6d2..6ec273857214 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) {