summaryrefslogtreecommitdiff
path: root/i386/i386at/gpl/linux/scsi/qlogic.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/qlogic.h
Initial source
Diffstat (limited to 'i386/i386at/gpl/linux/scsi/qlogic.h')
-rw-r--r--i386/i386at/gpl/linux/scsi/qlogic.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/i386/i386at/gpl/linux/scsi/qlogic.h b/i386/i386at/gpl/linux/scsi/qlogic.h
new file mode 100644
index 0000000..0ff119a
--- /dev/null
+++ b/i386/i386at/gpl/linux/scsi/qlogic.h
@@ -0,0 +1,40 @@
+#ifndef _QLOGIC_H
+#define _QLOGIC_H
+
+int qlogic_detect(Scsi_Host_Template * );
+const char * qlogic_info(struct Scsi_Host *);
+int qlogic_command(Scsi_Cmnd *);
+int qlogic_queuecommand(Scsi_Cmnd *, void (* done)(Scsi_Cmnd *));
+int qlogic_abort(Scsi_Cmnd *);
+int qlogic_reset(Scsi_Cmnd *);
+int qlogic_biosparam(Disk *, kdev_t, int[]);
+
+#ifndef NULL
+#define NULL (0)
+#endif
+
+#define QLOGIC { \
+ NULL, \
+ NULL, \
+ NULL, \
+ NULL, \
+ NULL, \
+ qlogic_detect, \
+ NULL, \
+ qlogic_info, \
+ qlogic_command, \
+ qlogic_queuecommand, \
+ qlogic_abort, \
+ qlogic_reset, \
+ NULL, \
+ qlogic_biosparam, \
+ 0, \
+ -1, \
+ SG_ALL, \
+ 1, \
+ 0, \
+ 0, \
+ DISABLE_CLUSTERING \
+}
+
+#endif /* _QLOGIC_H */