aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/amd64/amd64/fpu.c10
-rw-r--r--sys/amd64/isa/npx.c10
-rw-r--r--sys/i386/isa/npx.c10
3 files changed, 15 insertions, 15 deletions
diff --git a/sys/amd64/amd64/fpu.c b/sys/amd64/amd64/fpu.c
index 9c078507a0bc..0e90bff2433f 100644
--- a/sys/amd64/amd64/fpu.c
+++ b/sys/amd64/amd64/fpu.c
@@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* from: @(#)npx.c 7.2 (Berkeley) 5/12/91
- * $Id: npx.c,v 1.3 1993/10/13 15:59:30 rgrimes Exp $
+ * $Id: npx.c,v 1.4 1993/11/03 00:29:19 paul Exp $
*/
#include "npx.h"
@@ -138,11 +138,11 @@ _probeintr:
ss
incl _npx_intrs_while_probing
pushl %eax
- movb $0x20,%al
- outb %al,$0xa0
- outb %al,$0x20
+ movb $0x20,%al # EOI (asm in strings loses cpp features)
+ outb %al,$0xa0 # IO_ICU2
+ outb %al,$0x20 #IO_ICU1
movb $0,%al
- outb %al,$0xf0
+ outb %al,$0xf0 # clear BUSY# latch
popl %eax
iret
");
diff --git a/sys/amd64/isa/npx.c b/sys/amd64/isa/npx.c
index 9c078507a0bc..0e90bff2433f 100644
--- a/sys/amd64/isa/npx.c
+++ b/sys/amd64/isa/npx.c
@@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* from: @(#)npx.c 7.2 (Berkeley) 5/12/91
- * $Id: npx.c,v 1.3 1993/10/13 15:59:30 rgrimes Exp $
+ * $Id: npx.c,v 1.4 1993/11/03 00:29:19 paul Exp $
*/
#include "npx.h"
@@ -138,11 +138,11 @@ _probeintr:
ss
incl _npx_intrs_while_probing
pushl %eax
- movb $0x20,%al
- outb %al,$0xa0
- outb %al,$0x20
+ movb $0x20,%al # EOI (asm in strings loses cpp features)
+ outb %al,$0xa0 # IO_ICU2
+ outb %al,$0x20 #IO_ICU1
movb $0,%al
- outb %al,$0xf0
+ outb %al,$0xf0 # clear BUSY# latch
popl %eax
iret
");
diff --git a/sys/i386/isa/npx.c b/sys/i386/isa/npx.c
index 9c078507a0bc..0e90bff2433f 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.3 1993/10/13 15:59:30 rgrimes Exp $
+ * $Id: npx.c,v 1.4 1993/11/03 00:29:19 paul Exp $
*/
#include "npx.h"
@@ -138,11 +138,11 @@ _probeintr:
ss
incl _npx_intrs_while_probing
pushl %eax
- movb $0x20,%al
- outb %al,$0xa0
- outb %al,$0x20
+ movb $0x20,%al # EOI (asm in strings loses cpp features)
+ outb %al,$0xa0 # IO_ICU2
+ outb %al,$0x20 #IO_ICU1
movb $0,%al
- outb %al,$0xf0
+ outb %al,$0xf0 # clear BUSY# latch
popl %eax
iret
");