summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordufault <dufault@FreeBSD.org>1995-04-28 19:26:02 +0000
committerdufault <dufault@FreeBSD.org>1995-04-28 19:26:02 +0000
commitad88165e0d3ff6bec7c5214914a378e777df81a3 (patch)
treedf8447bec84546c29b32d5751aa3bf4a2c91e2b3 /sys
parent1e5ffe600f20b93e4874bb8743b57289b1fa8060 (diff)
downloadFreeBSD-src-ad88165e0d3ff6bec7c5214914a378e777df81a3.zip
FreeBSD-src-ad88165e0d3ff6bec7c5214914a378e777df81a3.tar.gz
Add ioctl calls for Freeze/Thaw.
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 3eef9db..de46166 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_ */
OpenPOWER on IntegriCloud