Source-Changes-HG archive

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

[src/trunk]: src/sys/dev Use sc_cfg4 for the Am53c974.



details:   https://anonhg.NetBSD.org/src/rev/444e432055ba
branches:  trunk
changeset: 483884:444e432055ba
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Mon Mar 20 05:48:28 2000 +0000

description:
Use sc_cfg4 for the Am53c974.

diffstat:

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

diffs (36 lines):

diff -r 906aa22e8738 -r 444e432055ba sys/dev/ic/ncr53c9x.c
--- a/sys/dev/ic/ncr53c9x.c     Mon Mar 20 05:31:21 2000 +0000
+++ b/sys/dev/ic/ncr53c9x.c     Mon Mar 20 05:48:28 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ncr53c9x.c,v 1.45 2000/03/20 00:49:42 mycroft Exp $    */
+/*     $NetBSD: ncr53c9x.c,v 1.46 2000/03/20 05:48:28 tsutsui Exp $    */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -326,8 +326,7 @@
        }
 
        if (sc->sc_rev == NCR_VARIANT_AM53C974)
-               NCR_WRITE_REG(sc, NCR_AMDCFG4,
-                   NCRAMDCFG4_GE12NS | NCRAMDCFG4_RADE);
+               NCR_WRITE_REG(sc, NCR_AMDCFG4, sc->sc_cfg4);
 }
 
 /*
diff -r 906aa22e8738 -r 444e432055ba sys/dev/pci/pcscp.c
--- a/sys/dev/pci/pcscp.c       Mon Mar 20 05:31:21 2000 +0000
+++ b/sys/dev/pci/pcscp.c       Mon Mar 20 05:48:28 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcscp.c,v 1.7 2000/01/14 13:20:17 tsutsui Exp $        */
+/*     $NetBSD: pcscp.c,v 1.8 2000/03/20 05:48:29 tsutsui Exp $        */
 
 /*-
  * Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
@@ -238,6 +238,7 @@
        sc->sc_cfg1 = sc->sc_id | NCRCFG1_PARENB;
        sc->sc_cfg2 = NCRCFG2_SCSI2 | NCRCFG2_FE;
        sc->sc_cfg3 = NCRAMDCFG3_IDM | NCRAMDCFG3_FCLK;
+       sc->sc_cfg4 = NCRAMDCFG4_GE12NS | NCRAMDCFG4_RADE;
        sc->sc_rev = NCR_VARIANT_AM53C974;
        sc->sc_features = NCR_F_FASTSCSI;
        sc->sc_cfg3_fscsi = NCRAMDCFG3_FSCSI;



Home | Main Index | Thread Index | Old Index