Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Reset CFG4 and CFG5 correctly in the reset routine.



details:   https://anonhg.NetBSD.org/src/rev/2d095631ac8e
branches:  trunk
changeset: 483871:2d095631ac8e
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Mon Mar 20 00:49:42 2000 +0000

description:
Reset CFG4 and CFG5 correctly in the reset routine.

diffstat:

 sys/dev/ic/ncr53c9x.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 85912d0ecfb6 -r 2d095631ac8e sys/dev/ic/ncr53c9x.c
--- a/sys/dev/ic/ncr53c9x.c     Mon Mar 20 00:42:21 2000 +0000
+++ b/sys/dev/ic/ncr53c9x.c     Mon Mar 20 00:49:42 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ncr53c9x.c,v 1.44 2000/03/19 21:25:49 mycroft Exp $    */
+/*     $NetBSD: ncr53c9x.c,v 1.45 2000/03/20 00:49:42 mycroft Exp $    */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -299,7 +299,8 @@
        switch (sc->sc_rev) {
        case NCR_VARIANT_ESP406:
        case NCR_VARIANT_FAS408:
-               NCR_SCSIREGS(sc);
+               NCR_WRITE_REG(sc, NCR_CFG5, sc->sc_cfg5 | NCRCFG5_SINT);
+               NCR_WRITE_REG(sc, NCR_CFG4, sc->sc_cfg4);
        case NCR_VARIANT_AM53C974:
        case NCR_VARIANT_FAS216:
        case NCR_VARIANT_NCR53C94:



Home | Main Index | Thread Index | Old Index