summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/npx.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-02-17 19:38:13 +0000
committerbde <bde@FreeBSD.org>1995-02-17 19:38:13 +0000
commit8ea5243ca1093c8b4228fbcf903a6e17ef8afe34 (patch)
tree927546508533ebba1b31ade732d3871477ff052a /sys/i386/isa/npx.c
parent3627490c74c66d13e7a26ddcb8886f9f3963b8b2 (diff)
downloadFreeBSD-src-8ea5243ca1093c8b4228fbcf903a6e17ef8afe34.zip
FreeBSD-src-8ea5243ca1093c8b4228fbcf903a6e17ef8afe34.tar.gz
Undo the busy latch changes made in the previous revision. They broke
some 386/387 systems. Don't print the IRQ number twice in the boot diagnostics.
Diffstat (limited to 'sys/i386/isa/npx.c')
-rw-r--r--sys/i386/isa/npx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/isa/npx.c b/sys/i386/isa/npx.c
index b9dfbf9..95d34bd 100644
--- a/sys/i386/isa/npx.c
+++ b/sys/i386/isa/npx.c
@@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* from: @(#)npx.c 7.2 (Berkeley) 5/12/91
- * $Id: npx.c,v 1.17 1994/11/14 14:59:06 bde Exp $
+ * $Id: npx.c,v 1.18 1995/01/03 04:00:06 bde Exp $
*/
#include "npx.h"
@@ -339,7 +339,7 @@ npxattach(dvp)
if (npx_ex16)
printf("INT 16 interface\n");
else if (npx_irq13)
- printf("IRQ 13 interface\n");
+ ; /* higher level has printed "irq 13" */
#if defined(MATH_EMULATE) || defined(GPL_MATH_EMULATE)
else if (npx_exists) {
printf("error reporting broken; using 387 emulator\n");
@@ -444,9 +444,10 @@ npxintr(frame)
panic("npxintr from non-current process");
}
+ outb(0xf0, 0);
fnstsw(&curpcb->pcb_savefpu.sv_ex_sw);
fnclex();
- outb(0xf0, 0);
+ fnop();
/*
* Pass exception to process.
@@ -562,7 +563,6 @@ npxsave(addr)
stop_emulating();
fnsave(addr);
fnop();
- outb(0xf0, 0);
start_emulating();
npxproc = NULL;
disable_intr();
OpenPOWER on IntegriCloud