aboutsummaryrefslogtreecommitdiff
path: root/i386/i386at/gpl/linux/scsi/eata.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/eata.h
downloadgnumach-f07a4c844da9f0ecae5bbee1ab94be56505f26f7.tar.gz
gnumach-f07a4c844da9f0ecae5bbee1ab94be56505f26f7.tar.bz2
gnumach-f07a4c844da9f0ecae5bbee1ab94be56505f26f7.zip
Initial source
Diffstat (limited to 'i386/i386at/gpl/linux/scsi/eata.h')
-rw-r--r--i386/i386at/gpl/linux/scsi/eata.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/i386/i386at/gpl/linux/scsi/eata.h b/i386/i386at/gpl/linux/scsi/eata.h
new file mode 100644
index 00000000..aabcc806
--- /dev/null
+++ b/i386/i386at/gpl/linux/scsi/eata.h
@@ -0,0 +1,41 @@
+/*
+ * eata.h - used by the low-level driver for EATA/DMA SCSI host adapters.
+ *
+ */
+#ifndef _EATA_H
+#define _EATA_H
+
+#include <linux/scsicam.h>
+
+int eata2x_detect(Scsi_Host_Template *);
+int eata2x_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
+int eata2x_abort(Scsi_Cmnd *);
+int eata2x_reset(Scsi_Cmnd *);
+
+#define EATA_VERSION "2.01.00"
+
+
+#define EATA { \
+ NULL, /* Ptr for modules */ \
+ NULL, /* usage count for modules */ \
+ NULL, \
+ NULL, \
+ "EATA/DMA 2.0x rev. " EATA_VERSION " ", \
+ eata2x_detect, \
+ NULL, /* Release */ \
+ NULL, \
+ NULL, \
+ eata2x_queuecommand, \
+ eata2x_abort, \
+ eata2x_reset, \
+ NULL, \
+ scsicam_bios_param, \
+ 0, /* can_queue, reset by detect */ \
+ 7, /* this_id, reset by detect */ \
+ 0, /* sg_tablesize, reset by detect */ \
+ 0, /* cmd_per_lun, reset by detect */ \
+ 0, /* number of boards present */ \
+ 1, /* unchecked isa dma, reset by detect */ \
+ ENABLE_CLUSTERING \
+ }
+#endif