Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic NCR_SCSIREGS() and NCR_PIOREGS() are bogus. GC t...



details:   https://anonhg.NetBSD.org/src/rev/4a13f1026ad4
branches:  trunk
changeset: 483873:4a13f1026ad4
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Mon Mar 20 00:50:20 2000 +0000

description:
NCR_SCSIREGS() and NCR_PIOREGS() are bogus.  GC them.

diffstat:

 sys/dev/ic/ncr53c9xreg.h |  7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diffs (21 lines):

diff -r 2e97678f972e -r 4a13f1026ad4 sys/dev/ic/ncr53c9xreg.h
--- a/sys/dev/ic/ncr53c9xreg.h  Mon Mar 20 00:50:14 2000 +0000
+++ b/sys/dev/ic/ncr53c9xreg.h  Mon Mar 20 00:50:20 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ncr53c9xreg.h,v 1.6 1999/09/22 03:31:23 mhitch Exp $   */
+/*     $NetBSD: ncr53c9xreg.h,v 1.7 2000/03/20 00:50:20 mycroft Exp $  */
 
 /*
  * Copyright (c) 1994 Peter Galbavy.  All rights reserved.
@@ -183,11 +183,6 @@
 #define         NCRCFG4_RSVD   0x7b            /*      reserved                */
 #define         NCRCFG4_ACTNEG 0x04            /*      Active negation         */
 
-#define        NCR_SCSIREGS(sc) do { NCR_WRITE_REG(sc, NCR_CFG4, \
-       ~NCRCFG4_CRS1 & NCR_READ_REG(sc, NCR_CFG4)); } while(0)
-#define        NCR_PIOREGS(sc) do { NCR_WRITE_REG(sc, NCR_CFG4, \
-       NCRCFG4_CRS1 | NCR_READ_REG(sc, NCR_CFG4)); } while(0)
-
 /*
    The following registers are only on the ESP406/FAS408.  The
    documentation refers to them as "Control Register Set #1".



Home | Main Index | Thread Index | Old Index