patch-2.2.18 linux/drivers/scsi/gdth_ioctl.h
Next file: linux/drivers/scsi/gdth_proc.c
Previous file: linux/drivers/scsi/gdth.h
Back to the patch index
Back to the overall index
- Lines: 39
- Date:
Mon Jul 24 10:32:20 2000
- Orig file:
v2.2.17/drivers/scsi/gdth_ioctl.h
- Orig date:
Fri Apr 21 12:46:28 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/scsi/gdth_ioctl.h linux/drivers/scsi/gdth_ioctl.h
@@ -2,7 +2,7 @@
#define _GDTH_IOCTL_H
/* gdth_ioctl.h
- * $Id: gdth_ioctl.h,v 1.3 1999/05/26 11:49:57 achim Exp $
+ * $Id: gdth_ioctl.h,v 1.6 2000/07/24 09:29:43 achim Exp $
*/
/* IOCTLs */
@@ -18,8 +18,10 @@
#define GDTIOCTL_EVENT (GDTIOCTL_MASK | 8) /* read controller events */
#define GDTIOCTL_SCSI (GDTIOCTL_MASK | 9) /* SCSI command */
#define GDTIOCTL_RESET_BUS (GDTIOCTL_MASK |10) /* reset SCSI bus */
+#define GDTIOCTL_RESCAN (GDTIOCTL_MASK |11) /* rescan host drives */
-#define GDTIOCTL_MAGIC 0xaffe0001UL
+#define GDTIOCTL_MAGIC 0xaffe0003UL
+#define EVENT_SIZE 294
/* IOCTL structure (write) */
@@ -46,7 +48,7 @@
struct {
int erase; /* erase event ? */
int handle;
- unchar evt[34]; /* event structure */
+ unchar evt[EVENT_SIZE]; /* event structure */
} event;
struct {
unchar bus; /* SCSI bus */
@@ -87,7 +89,7 @@
} ctrcnt;
struct {
int handle;
- unchar evt[34]; /* event structure */
+ unchar evt[EVENT_SIZE]; /* event structure */
} event;
struct {
unchar bus; /* SCSI bus, 0xff: invalid */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)