aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/aic
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/aic')
-rw-r--r--sys/dev/aic/aic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/aic/aic.c b/sys/dev/aic/aic.c
index d83df32cbfe2..d751b4d699f8 100644
--- a/sys/dev/aic/aic.c
+++ b/sys/dev/aic/aic.c
@@ -146,8 +146,8 @@ aic_action(struct cam_sim *sim, union ccb *ccb)
scb->cmd_ptr = ccb->csio.cdb_io.cdb_bytes;
}
if ((ccb->ccb_h.flags & CAM_DIR_MASK) != CAM_DIR_NONE) {
- if ((ccb->ccb_h.flags & CAM_SCATTER_VALID) ||
- (ccb->ccb_h.flags & CAM_DATA_PHYS)) {
+ if ((ccb->ccb_h.flags & CAM_DATA_MASK) !=
+ CAM_DATA_VADDR) {
ccb->ccb_h.status = CAM_REQ_INVALID;
aic_free_scb(aic, scb);
xpt_done(ccb);