aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Richards <paul@FreeBSD.org>1993-11-03 23:32:35 +0000
committerPaul Richards <paul@FreeBSD.org>1993-11-03 23:32:35 +0000
commit19bcb5e4a2321c910f9903d39de2957643afeadd (patch)
tree6200bcec0a914e4c213a9d11602879d5d95fcd34
parent6d873e8a1dcd5fa54b33704c5d145c7e22571f08 (diff)
downloadsrc-19bcb5e4a2321c910f9903d39de2957643afeadd.tar.gz
src-19bcb5e4a2321c910f9903d39de2957643afeadd.zip
Restored comments that were removed from npx.c using # comment
format rather than /* */, as per advise from Jordan.
Notes
Notes: svn path=/head/; revision=695
-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
");