aboutsummaryrefslogtreecommitdiff
path: root/i386/i386at/gpl/linux/scsi/scsi_debug.h
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1997-02-25 21:28:37 +0000
committerThomas Bushnell <thomas@gnu.org>1997-02-25 21:28:37 +0000
commitf07a4c844da9f0ecae5bbee1ab94be56505f26f7 (patch)
tree12b07c7e578fc1a5f53dbfde2632408491ff2a70 /i386/i386at/gpl/linux/scsi/scsi_debug.h
downloadgnumach-f07a4c844da9f0ecae5bbee1ab94be56505f26f7.tar.gz
gnumach-f07a4c844da9f0ecae5bbee1ab94be56505f26f7.tar.bz2
gnumach-f07a4c844da9f0ecae5bbee1ab94be56505f26f7.zip
Initial source
Diffstat (limited to 'i386/i386at/gpl/linux/scsi/scsi_debug.h')
-rw-r--r--i386/i386at/gpl/linux/scsi/scsi_debug.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/i386/i386at/gpl/linux/scsi/scsi_debug.h b/i386/i386at/gpl/linux/scsi/scsi_debug.h
new file mode 100644
index 00000000..87ae155f
--- /dev/null
+++ b/i386/i386at/gpl/linux/scsi/scsi_debug.h
@@ -0,0 +1,30 @@
+#ifndef _SCSI_DEBUG_H
+
+#include <linux/types.h>
+#include <linux/kdev_t.h>
+
+int scsi_debug_detect(Scsi_Host_Template *);
+int scsi_debug_command(Scsi_Cmnd *);
+int scsi_debug_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
+int scsi_debug_abort(Scsi_Cmnd *);
+int scsi_debug_biosparam(Disk *, kdev_t, int[]);
+int scsi_debug_reset(Scsi_Cmnd *);
+int scsi_debug_proc_info(char *, char **, off_t, int, int, int);
+
+#ifndef NULL
+ #define NULL 0
+#endif
+
+
+#define SCSI_DEBUG_MAILBOXES 8
+
+#define SCSI_DEBUG {NULL, NULL, NULL, scsi_debug_proc_info, \
+ "SCSI DEBUG", scsi_debug_detect, NULL, \
+ NULL, scsi_debug_command, \
+ scsi_debug_queuecommand, \
+ scsi_debug_abort, \
+ scsi_debug_reset, \
+ NULL, \
+ scsi_debug_biosparam, \
+ SCSI_DEBUG_MAILBOXES, 7, SG_ALL, 1, 0, 1, ENABLE_CLUSTERING}
+#endif