From 34eaf12c8fd5bdfd87844aa3b4a09cb6531c6102 Mon Sep 17 00:00:00 2001 From: jdolecek Date: Wed, 3 Nov 1999 14:16:33 +0000 Subject: [PATCH] adapt to latest scsipi changes XXX this is not tested, but should be okay --- sys/arch/sun3/dev/si_sebuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/sun3/dev/si_sebuf.c b/sys/arch/sun3/dev/si_sebuf.c index 6cccb9484903..3b0ad4f8d65a 100644 --- a/sys/arch/sun3/dev/si_sebuf.c +++ b/sys/arch/sun3/dev/si_sebuf.c @@ -1,4 +1,4 @@ -/* $NetBSD: si_sebuf.c,v 1.8 1999/04/09 04:26:27 gwr Exp $ */ +/* $NetBSD: si_sebuf.c,v 1.9 1999/11/03 14:16:33 jdolecek Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -661,7 +661,7 @@ found: dh->dh_flags = SIDH_BUSY; /* Copy the "write" flag for convenience. */ - if (xs->flags & SCSI_DATA_OUT) + if (xs->xs_control & XS_CTL_DATA_OUT) dh->dh_flags |= SIDH_OUT; dh->dh_addr = (u_char*) addr;