From ad88165e0d3ff6bec7c5214914a378e777df81a3 Mon Sep 17 00:00:00 2001 From: dufault Date: Fri, 28 Apr 1995 19:26:02 +0000 Subject: [PATCH] Add ioctl calls for Freeze/Thaw. --- sys/sys/scsiio.h | 7 +++++-- 1 file 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_ */