Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/arch/vax/vsa Pullup of rev. 1.33 (approved by thorp...



details:   https://anonhg.NetBSD.org/src/rev/4e497f59324b
branches:  netbsd-1-5
changeset: 489688:4e497f59324b
user:      ragge <ragge%NetBSD.org@localhost>
date:      Fri Oct 06 20:00:31 2000 +0000

description:
Pullup of rev. 1.33 (approved by thorpej):
Make SCSI chain B work and fixes PR#11124.

diffstat:

 sys/arch/vax/vsa/ncr.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 7ee5fa5a8e79 -r 4e497f59324b sys/arch/vax/vsa/ncr.c
--- a/sys/arch/vax/vsa/ncr.c    Fri Oct 06 12:07:18 2000 +0000
+++ b/sys/arch/vax/vsa/ncr.c    Fri Oct 06 20:00:31 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ncr.c,v 1.31.2.1 2000/06/28 13:31:25 ragge Exp $       */
+/*     $NetBSD: ncr.c,v 1.31.2.2 2000/10/06 20:00:31 ragge Exp $       */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -336,7 +336,7 @@
         */
        if (dh->dh_flags & SIDH_OUT) {
                vsbus_copyfromproc(dh->dh_proc, dh->dh_addr,
-                           sc->ncr_addr, dh->dh_len);
+                           sc->ncr_addr + sc->ncr_off, dh->dh_len);
                bus_space_write_1(ncr_sc->sc_regt, ncr_sc->sc_regh,
                    sc->ncr_dmadir, 0);
        } else {
@@ -409,7 +409,8 @@
        }
        if (count == 0) {
                if (((dh->dh_flags & SIDH_OUT) == 0)) {
-                       vsbus_copytoproc(dh->dh_proc, sc->ncr_addr,
+                       vsbus_copytoproc(dh->dh_proc,
+                           sc->ncr_addr + sc->ncr_off,
                            dh->dh_addr, dh->dh_len);
                }
                ncr_sc->sc_dataptr += dh->dh_len;



Home | Main Index | Thread Index | Old Index