diff options
author | gibbs <gibbs@FreeBSD.org> | 1998-10-15 23:17:58 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1998-10-15 23:17:58 +0000 |
commit | f3dbbe3c84a7bfd70a0dd80547c8d999e69efb7b (patch) | |
tree | 9a711e454502a3137a6e87fe7efcc4916dc2f70d /sys/dev/dpt | |
parent | 391b30cdfa097f9907fbcdf28a3cc6b292f595ec (diff) | |
download | FreeBSD-src-f3dbbe3c84a7bfd70a0dd80547c8d999e69efb7b.zip FreeBSD-src-f3dbbe3c84a7bfd70a0dd80547c8d999e69efb7b.tar.gz |
Honor CAM_TAG_ACTION_NONE.
Diffstat (limited to 'sys/dev/dpt')
-rw-r--r-- | sys/dev/dpt/dpt_scsi.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/dpt/dpt_scsi.c b/sys/dev/dpt/dpt_scsi.c index 6e41de9..947caba 100644 --- a/sys/dev/dpt/dpt_scsi.c +++ b/sys/dev/dpt/dpt_scsi.c @@ -43,7 +43,7 @@ * arrays that span controllers (Wow!). */ -#ident "$Id: dpt_scsi.c,v 1.17 1998/10/02 03:40:53 gibbs Exp $" +#ident "$Id: dpt_scsi.c,v 1.18 1998/10/09 21:42:19 gibbs Exp $" #define _DPT_C_ @@ -779,7 +779,8 @@ dpt_action(struct cam_sim *sim, union ccb *ccb) ? 0 : 1; eccb->cp_identify = 1; - if ((ccb->ccb_h.flags & CAM_TAG_ACTION_VALID) != 0) { + if ((ccb->ccb_h.flags & CAM_TAG_ACTION_VALID) != 0 + && csio->tag_action != CAM_TAG_ACTION_NONE) { eccb->cp_msg[0] = csio->tag_action; eccb->cp_msg[1] = dccb->tag; } else { |