summaryrefslogtreecommitdiffstats
path: root/sys/cam/scsi/scsi_pass.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cam/scsi/scsi_pass.h')
-rw-r--r--sys/cam/scsi/scsi_pass.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/cam/scsi/scsi_pass.h b/sys/cam/scsi/scsi_pass.h
index ae0e058..797ef08 100644
--- a/sys/cam/scsi/scsi_pass.h
+++ b/sys/cam/scsi/scsi_pass.h
@@ -39,4 +39,12 @@
#define CAMIOCOMMAND _IOWR(CAM_VERSION, 2, union ccb)
#define CAMGETPASSTHRU _IOWR(CAM_VERSION, 3, union ccb)
+/*
+ * These two ioctls take a union ccb *, but that is not explicitly declared
+ * to avoid having the ioctl handling code malloc and free their own copy
+ * of the CCB or the CCB pointer.
+ */
+#define CAMIOQUEUE _IO(CAM_VERSION, 4)
+#define CAMIOGET _IO(CAM_VERSION, 5)
+
#endif
OpenPOWER on IntegriCloud