summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorpaul <paul@FreeBSD.org>1993-11-03 23:32:35 +0000
committerpaul <paul@FreeBSD.org>1993-11-03 23:32:35 +0000
commit7f9e326f196003559252a070bd773ee08a76b244 (patch)
tree6200bcec0a914e4c213a9d11602879d5d95fcd34 /sys/amd64
parent308fa6388565a27227005bba177573381daa6f3c (diff)
downloadFreeBSD-src-7f9e326f196003559252a070bd773ee08a76b244.zip
FreeBSD-src-7f9e326f196003559252a070bd773ee08a76b244.tar.gz
Restored comments that were removed from npx.c using # comment
format rather than /* */, as per advise from Jordan.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/fpu.c10
-rw-r--r--sys/amd64/isa/npx.c10
2 files changed, 10 insertions, 10 deletions
diff --git a/sys/amd64/amd64/fpu.c b/sys/amd64/amd64/fpu.c
index 9c07850..0e90bff 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 9c07850..0e90bff 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
");
OpenPOWER on IntegriCloud