Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/dev Comply with recent MI scsi changes.



details:   https://anonhg.NetBSD.org/src/rev/5af1f76ec1fd
branches:  trunk
changeset: 477553:5af1f76ec1fd
user:      pk <pk%NetBSD.org@localhost>
date:      Thu Oct 21 13:46:06 1999 +0000

description:
Comply with recent MI scsi changes.

diffstat:

 sys/arch/sparc/dev/si.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1bb4cbb60ea4 -r 5af1f76ec1fd sys/arch/sparc/dev/si.c
--- a/sys/arch/sparc/dev/si.c   Thu Oct 21 02:46:21 1999 +0000
+++ b/sys/arch/sparc/dev/si.c   Thu Oct 21 13:46:06 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: si.c,v 1.52 1999/06/30 15:18:58 drochner Exp $ */
+/*     $NetBSD: si.c,v 1.53 1999/10/21 13:46:06 pk Exp $       */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -736,7 +736,7 @@
        dh->dh_maplen  = xlen;
 
        /* Copy the "write" flag for convenience. */
-       if (xs->flags & SCSI_DATA_OUT)
+       if ((xs->xs_control & XS_CTL_DATA_OUT) != 0)
                dh->dh_flags |= SIDH_OUT;
 
        /*



Home | Main Index | Thread Index | Old Index