summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2013-10-21 06:04:39 +0000
committermav <mav@FreeBSD.org>2013-10-21 06:04:39 +0000
commitc13057cda99bb0e6f77b03f2a0722df6a9aaba82 (patch)
treefe21415bed2de8d2a030f25deffce76ee8a69d6a /sys/dev/firewire
parentaab6481ca070af787978e85b2540e1a5d98a5796 (diff)
downloadFreeBSD-src-c13057cda99bb0e6f77b03f2a0722df6a9aaba82.zip
FreeBSD-src-c13057cda99bb0e6f77b03f2a0722df6a9aaba82.tar.gz
Partial MFproject/camlock r256671:
Fix several target mode SIMs to not blindly clear ccb_h.flags field of ATIO CCBs. Not all CCB flags there belong to them.
Diffstat (limited to 'sys/dev/firewire')
-rw-r--r--sys/dev/firewire/sbp_targ.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/firewire/sbp_targ.c b/sys/dev/firewire/sbp_targ.c
index 34a75cb..f3434dd 100644
--- a/sys/dev/firewire/sbp_targ.c
+++ b/sys/dev/firewire/sbp_targ.c
@@ -1483,7 +1483,7 @@ sbp_targ_cmd_handler(struct fw_xfer *xfer)
atio->tag_id = orbi->orb_lo;
atio->init_id = orbi->login->id;
- atio->ccb_h.flags = CAM_TAG_ACTION_VALID;
+ atio->ccb_h.flags |= CAM_TAG_ACTION_VALID;
bytes = (u_char *)&orb[5];
if (debug)
printf("%s: %p %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x\n",
OpenPOWER on IntegriCloud