diff options
| author | Alexander Motin <mav@FreeBSD.org> | 2012-06-22 21:46:41 +0000 |
|---|---|---|
| committer | Alexander Motin <mav@FreeBSD.org> | 2012-06-22 21:46:41 +0000 |
| commit | 15a0920e210c5b6857df6f4afea5fd79a89549de (patch) | |
| tree | 03e401c705dc64eab2a2d22a8bfb2a2054aa3943 /sys/dev/twa | |
| parent | 23bc7025c43b9e7a7a87fdee6316c2e35084d322 (diff) | |
Notes
Diffstat (limited to 'sys/dev/twa')
| -rw-r--r-- | sys/dev/twa/tw_osl_cam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/twa/tw_osl_cam.c b/sys/dev/twa/tw_osl_cam.c index 8b81ccca4f09..2c2d5aea415e 100644 --- a/sys/dev/twa/tw_osl_cam.c +++ b/sys/dev/twa/tw_osl_cam.c @@ -678,9 +678,9 @@ tw_osl_complete_io(struct tw_cl_req_handle *req_handle) ccb->ccb_h.status = CAM_REQ_CMP; else { if (req_pkt->status & TW_CL_ERR_REQ_INVALID_TARGET) - ccb->ccb_h.status |= CAM_TID_INVALID; + ccb->ccb_h.status |= CAM_SEL_TIMEOUT; else if (req_pkt->status & TW_CL_ERR_REQ_INVALID_LUN) - ccb->ccb_h.status |= CAM_LUN_INVALID; + ccb->ccb_h.status |= CAM_DEV_NOT_THERE; else if (req_pkt->status & TW_CL_ERR_REQ_SCSI_ERROR) ccb->ccb_h.status |= CAM_SCSI_STATUS_ERROR; else if (req_pkt->status & TW_CL_ERR_REQ_BUS_RESET) |
