1 /*
2 * eata.h - used by the low-level driver for EATA/DMA SCSI host adapters.
3 *
4 */
5 #ifndef _EATA_H
6 #define _EATA_H
7
8 #include <linux/scsicam.h>
9
10 int eata2x_detect(Scsi_Host_Template *);
11 int eata2x_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
12 int eata2x_abort(Scsi_Cmnd *);
13 int eata2x_reset(Scsi_Cmnd *);
14
15 #define EATA_VERSION "2.01.00"
16
17
18 #define EATA { \
19 NULL, /* Ptr for modules */ \
20 NULL, /* usage count for modules */ \
21 NULL, \
22 NULL, \
23 "EATA/DMA 2.0x rev. " EATA_VERSION " ", \
24 eata2x_detect, \
25 NULL, /* Release */ \
26 NULL, \
27 NULL, \
28 eata2x_queuecommand, \
29 eata2x_abort, \
30 eata2x_reset, \
31 NULL, \
32 scsicam_bios_param, \
33 0, /* can_queue, reset by detect */ \
34 7, /* this_id, reset by detect */ \
35 0, /* sg_tablesize, reset by detect */ \
36 0, /* cmd_per_lun, reset by detect */ \
37 0, /* number of boards present */ \
38 1, /* unchecked isa dma, reset by detect */ \
39 ENABLE_CLUSTERING \
40 }
41 #endif