Comply with recent MI scsi changes.
This commit is contained in:
parent
44249bfade
commit
fbfe8a4407
|
@ -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 @@ found:
|
|||
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;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue