aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/ctl/ctl_error.h
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2015-09-14 08:01:05 +0000
committerAlexander Motin <mav@FreeBSD.org>2015-09-14 08:01:05 +0000
commitceff31dc0cf803923c8d4b51dc42f73f5c5b9446 (patch)
tree511853fbcd868027993dea1c3029b5500f6a326f /sys/cam/ctl/ctl_error.h
parent6e17d3a7fc00a4e3da8efcc44c7461a99e4743d8 (diff)
downloadsrc-ceff31dc0cf803923c8d4b51dc42f73f5c5b9446.tar.gz
src-ceff31dc0cf803923c8d4b51dc42f73f5c5b9446.zip
Implement QUERY TASK, QUERY TASK SET and QUERY ASYNC EVENT.
Now we support most of SAM-5 task management.
Notes
Notes: svn path=/head/; revision=287774
Diffstat (limited to 'sys/cam/ctl/ctl_error.h')
-rw-r--r--sys/cam/ctl/ctl_error.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/cam/ctl/ctl_error.h b/sys/cam/ctl/ctl_error.h
index 348ff7003e31..942def163acb 100644
--- a/sys/cam/ctl/ctl_error.h
+++ b/sys/cam/ctl/ctl_error.h
@@ -57,6 +57,7 @@ void ctl_sense_to_desc(struct scsi_sense_data_fixed *sense_src,
void ctl_sense_to_fixed(struct scsi_sense_data_desc *sense_src,
struct scsi_sense_data_fixed *sense_dest);
void ctl_set_ua(struct ctl_scsiio *ctsio, int asc, int ascq);
+ctl_ua_type ctl_build_qae(struct ctl_lun *lun, uint32_t initidx, uint8_t *resp);
ctl_ua_type ctl_build_ua(struct ctl_lun *lun, uint32_t initidx,
struct scsi_sense_data *sense, scsi_sense_data_type sense_format);
void ctl_set_overlapped_cmd(struct ctl_scsiio *ctsio);