Enable autosense by default. This shouldn't hurt SPI and is required

for FC.
This commit is contained in:
Nate Lawson 2004-01-09 19:27:18 +00:00
parent daa66c2c60
commit 4c1cc94ee3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124308

View File

@ -258,7 +258,7 @@ tcmd_sense(u_int init_id, struct ccb_scsiio *ctio, u_int8_t flags,
bcopy(sense, &ctio->sense_data, sizeof(*sense));
ctio->sense_len = sizeof(*sense); /* XXX */
ctio->ccb_h.flags &= ~CAM_DIR_MASK;
ctio->ccb_h.flags |= CAM_DIR_NONE | /* CAM_SEND_SENSE | */
ctio->ccb_h.flags |= CAM_DIR_NONE | CAM_SEND_SENSE |
CAM_SEND_STATUS;
ctio->dxfer_len = 0;
ctio->scsi_status = SCSI_STATUS_CHECK_COND;