Source-Changes-HG archive

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

[src/trunk]: src/sys/dev Cosmetics. ( 0x80 -> NCRSTAT_INT )



details:   https://anonhg.NetBSD.org/src/rev/a66dfcf89033
branches:  trunk
changeset: 483882:a66dfcf89033
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Mon Mar 20 03:49:22 2000 +0000

description:
Cosmetics. ( 0x80 -> NCRSTAT_INT )

diffstat:

 sys/dev/isa/esp_isa.c       |  4 ++--
 sys/dev/pcmcia/esp_pcmcia.c |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r d563140f0b91 -r a66dfcf89033 sys/dev/isa/esp_isa.c
--- a/sys/dev/isa/esp_isa.c     Mon Mar 20 02:54:45 2000 +0000
+++ b/sys/dev/isa/esp_isa.c     Mon Mar 20 03:49:22 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: esp_isa.c,v 1.19 2000/03/19 21:27:01 mycroft Exp $     */
+/*     $NetBSD: esp_isa.c,v 1.20 2000/03/20 03:49:22 tsutsui Exp $     */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -537,7 +537,7 @@
                }
 
                if (esc->sc_active) {
-                       while (!(NCR_READ_REG(sc, NCR_STAT) & 0x80));
+                       while (!(NCR_READ_REG(sc, NCR_STAT) & NCRSTAT_INT));
                        espstat = NCR_READ_REG(sc, NCR_STAT);
                        espintr = NCR_READ_REG(sc, NCR_INTR);
                        espphase = (espintr & NCRINTR_DIS)
diff -r d563140f0b91 -r a66dfcf89033 sys/dev/pcmcia/esp_pcmcia.c
--- a/sys/dev/pcmcia/esp_pcmcia.c       Mon Mar 20 02:54:45 2000 +0000
+++ b/sys/dev/pcmcia/esp_pcmcia.c       Mon Mar 20 03:49:22 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: esp_pcmcia.c,v 1.2 2000/03/20 00:53:17 mycroft Exp $   */
+/*     $NetBSD: esp_pcmcia.c,v 1.3 2000/03/20 03:49:23 tsutsui Exp $   */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -443,7 +443,7 @@
                }
 
                if (esc->sc_active) {
-                       while (!(NCR_READ_REG(sc, NCR_STAT) & 0x80));
+                       while (!(NCR_READ_REG(sc, NCR_STAT) & NCRSTAT_INT));
                        espstat = NCR_READ_REG(sc, NCR_STAT);
                        espintr = NCR_READ_REG(sc, NCR_INTR);
                        espphase = (espintr & NCRINTR_DIS)



Home | Main Index | Thread Index | Old Index