summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2013-05-08 15:36:31 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2013-05-08 15:36:31 +0000
commit94f98aa1ec39be17259e9d2716c35eb5c1d623b2 (patch)
treebbb3c1b44d364222fac59d3f8ddf6b26251a6297 /sys/arch/i386/isa
parentf1c6d263359139a788d0a40df475119dbab313a8 (diff)
remove stale cyrix emc support, and switch to just using intial npxcw
ok kettenis
Diffstat (limited to 'sys/arch/i386/isa')
-rw-r--r--sys/arch/i386/isa/npx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/isa/npx.c b/sys/arch/i386/isa/npx.c
index f787be75315..db34f27fb6a 100644
--- a/sys/arch/i386/isa/npx.c
+++ b/sys/arch/i386/isa/npx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: npx.c,v 1.57 2011/07/11 15:40:47 guenther Exp $ */
+/* $OpenBSD: npx.c,v 1.58 2013/05/08 15:36:30 tedu Exp $ */
/* $NetBSD: npx.c,v 1.57 1996/05/12 23:12:24 mycroft Exp $ */
#if 0
@@ -676,7 +676,7 @@ npxdna_xmm(struct cpu_info *ci)
if ((p->p_md.md_flags & MDP_USEDFPU) == 0) {
bzero(&sfp->sv_xmm, sizeof(sfp->sv_xmm));
- sfp->sv_xmm.sv_env.en_cw = __OpenBSD_NPXCW__;
+ sfp->sv_xmm.sv_env.en_cw = __INITIAL_NPXCW__;
sfp->sv_xmm.sv_env.en_mxcsr = __INITIAL_MXCSR__;
fxrstor(&sfp->sv_xmm);
p->p_md.md_flags |= MDP_USEDFPU;
@@ -757,7 +757,7 @@ npxdna_s87(struct cpu_info *ci)
if ((p->p_md.md_flags & MDP_USEDFPU) == 0) {
bzero(&sfp->sv_87, sizeof(sfp->sv_87));
- sfp->sv_87.sv_env.en_cw = __OpenBSD_NPXCW__;
+ sfp->sv_87.sv_env.en_cw = __INITIAL_NPXCW__;
sfp->sv_87.sv_env.en_tw = 0xffff;
frstor(&sfp->sv_87);
p->p_md.md_flags |= MDP_USEDFPU;