Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/sbus correct oops on last checkin



details:   https://anonhg.NetBSD.org/src/rev/49e4f1201415
branches:  trunk
changeset: 482693:49e4f1201415
user:      mjacob <mjacob%NetBSD.org@localhost>
date:      Sat Feb 19 15:13:07 2000 +0000

description:
correct oops on last checkin

diffstat:

 sys/dev/sbus/isp_sbus.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 5dc08abd8154 -r 49e4f1201415 sys/dev/sbus/isp_sbus.c
--- a/sys/dev/sbus/isp_sbus.c   Sat Feb 19 15:01:33 2000 +0000
+++ b/sys/dev/sbus/isp_sbus.c   Sat Feb 19 15:13:07 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: isp_sbus.c,v 1.22 2000/02/19 01:55:42 mjacob Exp $ */
+/* $NetBSD: isp_sbus.c,v 1.23 2000/02/19 15:13:07 mjacob Exp $ */
 /*
  * SBus specific probe and attach routines for Qlogic ISP SCSI adapters.
  *
@@ -386,11 +386,11 @@
                crq->req_header.rqs_entry_count = 1;
                crq->req_header.rqs_entry_type = RQSTYPE_DATASEG;  
                crq->req_dataseg[0].ds_count = xs->datalen;
-               crq->req_dataseg[0].ds_base =  (u_int32_t) kdvma;
+               crq->req_dataseg[0].ds_base =  dmamap->dm_segs[0].ds_addr;
                ISP_SWIZZLE_CONTINUATION(isp, crq);
        } else {
                rq->req_dataseg[0].ds_count = xs->datalen;
-               rq->req_dataseg[0].ds_base =  (u_int32_t) kdvma;
+               rq->req_dataseg[0].ds_base =  dmamap->dm_segs[0].ds_addr;
                rq->req_seg_count = 1;
        }
 



Home | Main Index | Thread Index | Old Index