aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPeter Dufault <dufault@FreeBSD.org>1995-04-28 19:26:02 +0000
committerPeter Dufault <dufault@FreeBSD.org>1995-04-28 19:26:02 +0000
commit8312577eea0702c5eb54eedc35e336c88b7c94f0 (patch)
treedf8447bec84546c29b32d5751aa3bf4a2c91e2b3 /sys
parent72c59e2da584ada9b4ce9883a8fb2734fb01bd5a (diff)
downloadsrc-8312577eea0702c5eb54eedc35e336c88b7c94f0.tar.gz
src-8312577eea0702c5eb54eedc35e336c88b7c94f0.zip
Add ioctl calls for Freeze/Thaw.
Notes
Notes: svn path=/head/; revision=8147
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/scsiio.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/sys/scsiio.h b/sys/sys/scsiio.h
index 3eef9db41120..de461663a516 100644
--- a/sys/sys/scsiio.h
+++ b/sys/sys/scsiio.h
@@ -1,5 +1,5 @@
/*
- * $Id: scsiio.h,v 1.2 1994/08/02 07:53:30 davidg Exp $
+ * $Id: scsiio.h,v 1.3 1995/01/08 13:39:46 dufault Exp $
*/
#ifndef _SYS_SCSIIO_H_
#define _SYS_SCSIIO_H_
@@ -61,6 +61,9 @@ struct scsi_addr {
#define SCIOCRECONFIG _IO('Q', 6) /* please check again */
#define SCIOCRESET _IO('Q', 7) /* reset the device */
#define SCIOCADDR _IOW('Q', 8, struct scsi_addr) /* Change address */
-
+#define SCIOCFREEZE _IO('Q', 9) /* Freeze SCSI */
+#define SCIOCTHAW _IO('Q', 10) /* Thaw SCSI */
+#define SCIOCFREEZETHAW _IOW('Q', 11, int) /* Freeze SCSI for some seconds */
+#define SCIOCWAITTHAW _IO('Q', 12) /* Wait for SCSI to thaw */
#endif /* _SYS_SCSIIO_H_ */