diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-07-11 21:55:47 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-07-11 21:55:47 +0000 |
commit | 3d5c3b1920666af9ac7e6f67a9e31c87bc48649d (patch) | |
tree | 4d884f0af44f5201184f1c06af9846b75ea8a069 /sys/arch/mac68k/dev | |
parent | a70def4707f35d41fa19634600aa14c3b2003cd9 (diff) |
the scsi_link structure contained a copy of the inquiry flags and the whole
inquiry. this removes the flags member and makes all its users refer to the
whole inquiry now.
ok miod@ krw@
Diffstat (limited to 'sys/arch/mac68k/dev')
-rw-r--r-- | sys/arch/mac68k/dev/ncr5380.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mac68k/dev/ncr5380.c b/sys/arch/mac68k/dev/ncr5380.c index 3f0ccb9c588..68e8786d386 100644 --- a/sys/arch/mac68k/dev/ncr5380.c +++ b/sys/arch/mac68k/dev/ncr5380.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ncr5380.c,v 1.27 2006/04/14 09:36:49 martin Exp $ */ +/* $OpenBSD: ncr5380.c,v 1.28 2006/07/11 21:55:46 dlg Exp $ */ /* $NetBSD: ncr5380.c,v 1.38 1996/12/19 21:48:18 scottr Exp $ */ /* @@ -369,7 +369,7 @@ mac68k_ncr5380_scsi_cmd(struct scsi_xfer *xs) } while (tmp->next && (tmp = tmp->next)); tmp->next = reqp; #ifdef AUTO_SENSE - if (link && ( (xs->sc_link->inquiry_flags & SID_Linked) + if (link && ((xs->sc_link->inqdata.flags & SID_Linked) || ((1<<reqp->targ_id) & ncr5380_allow_linked)) && !((1<<reqp->targ_id) & ncr5380_disallow_linked)) { link->link = reqp; |