Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/pmax/pmax - Correct errorneous comments for kn*_wbf...



details:   https://anonhg.NetBSD.org/src/rev/15737bd71211
branches:  trunk
changeset: 473626:15737bd71211
user:      nisimura <nisimura%NetBSD.org@localhost>
date:      Thu Jun 10 01:37:10 1999 +0000

description:
- Correct errorneous comments for kn*_wbflush() routines.

diffstat:

 sys/arch/pmax/pmax/dec_3maxplus.c |  8 ++++----
 sys/arch/pmax/pmax/dec_3min.c     |  8 ++++----
 sys/arch/pmax/pmax/dec_maxine.c   |  8 ++++----
 3 files changed, 12 insertions(+), 12 deletions(-)

diffs (87 lines):

diff -r 7a5c07413063 -r 15737bd71211 sys/arch/pmax/pmax/dec_3maxplus.c
--- a/sys/arch/pmax/pmax/dec_3maxplus.c Thu Jun 10 01:06:40 1999 +0000
+++ b/sys/arch/pmax/pmax/dec_3maxplus.c Thu Jun 10 01:37:10 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dec_3maxplus.c,v 1.23 1999/06/08 23:42:36 simonb Exp $ */
+/*     $NetBSD: dec_3maxplus.c,v 1.24 1999/06/10 01:37:10 nisimura Exp $       */
 
 /*
  * Copyright (c) 1998 Jonathan Stone.  All rights reserved.
@@ -73,7 +73,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: dec_3maxplus.c,v 1.23 1999/06/08 23:42:36 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dec_3maxplus.c,v 1.24 1999/06/10 01:37:10 nisimura Exp $");
 
 #include <sys/types.h>
 #include <sys/systm.h>
@@ -519,8 +519,8 @@
 void
 kn03_wbflush()
 {
-       /* read once IOASIC_INTR */
-       __asm __volatile("lw $0,0xbf840000");
+       /* read once IOASIC SLOT 0 */
+       __asm __volatile("lw $0,%0" :: "i"(0xbf840000));
 }
 
 /*
diff -r 7a5c07413063 -r 15737bd71211 sys/arch/pmax/pmax/dec_3min.c
--- a/sys/arch/pmax/pmax/dec_3min.c     Thu Jun 10 01:06:40 1999 +0000
+++ b/sys/arch/pmax/pmax/dec_3min.c     Thu Jun 10 01:37:10 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dec_3min.c,v 1.20 1999/06/08 23:42:36 simonb Exp $     */
+/*     $NetBSD: dec_3min.c,v 1.21 1999/06/10 01:37:10 nisimura Exp $   */
 
 /*
  * Copyright (c) 1998 Jonathan Stone.  All rights reserved.
@@ -73,7 +73,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: dec_3min.c,v 1.20 1999/06/08 23:42:36 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dec_3min.c,v 1.21 1999/06/10 01:37:10 nisimura Exp $");
 
 
 #include <sys/types.h>
@@ -545,8 +545,8 @@
 void
 kn02ba_wbflush()
 {
-       /* read twice IOASIC_INTR register */
-       __asm __volatile("lw $0,0xbc040120; lw $0,0xbc040120");
+       /* read twice IOASIC_IMSK */
+       __asm __volatile("lw $0,%0; lw $0,%0" :: "i"(0xbc040120));
 }
 
 unsigned
diff -r 7a5c07413063 -r 15737bd71211 sys/arch/pmax/pmax/dec_maxine.c
--- a/sys/arch/pmax/pmax/dec_maxine.c   Thu Jun 10 01:06:40 1999 +0000
+++ b/sys/arch/pmax/pmax/dec_maxine.c   Thu Jun 10 01:37:10 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dec_maxine.c,v 1.15 1999/06/08 23:42:36 simonb Exp $   */
+/*     $NetBSD: dec_maxine.c,v 1.16 1999/06/10 01:37:10 nisimura Exp $ */
 
 /*
  * Copyright (c) 1998 Jonathan Stone.  All rights reserved.
@@ -73,7 +73,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: dec_maxine.c,v 1.15 1999/06/08 23:42:36 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dec_maxine.c,v 1.16 1999/06/10 01:37:10 nisimura Exp $");
 
 #include <sys/types.h>
 #include <sys/systm.h>
@@ -432,8 +432,8 @@
 void   
 kn02ca_wbflush()
 {
-       /* read once IOASIC_INTR */
-       __asm __volatile("lw $0,0xbc040120");
+       /* read once IOASIC_IMSK */
+       __asm __volatile("lw $0,%0" :: "i"(0xbc040120));
 }
 
 unsigned



Home | Main Index | Thread Index | Old Index