Linux 2.4.0-test7pre1
[davej-history.git] / drivers / scsi / eata.h
blob6c00ca0a2b4d2efe2a9a5e01e57e8737c2d9c5fe
1 /*
2 * eata.h - used by the low-level driver for EATA/DMA SCSI host adapters.
3 */
4 #ifndef _EATA_H
5 #define _EATA_H
7 #include <scsi/scsicam.h>
8 #include <linux/version.h>
10 int eata2x_detect(Scsi_Host_Template *);
11 int eata2x_release(struct Scsi_Host *);
12 int eata2x_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
13 int eata2x_abort(Scsi_Cmnd *);
14 int eata2x_old_abort(Scsi_Cmnd *);
15 int eata2x_reset(Scsi_Cmnd *);
16 int eata2x_old_reset(Scsi_Cmnd *, unsigned int);
17 int eata2x_biosparam(Disk *, kdev_t, int *);
19 #define EATA_VERSION "5.11.00"
21 #define LinuxVersionCode(v, p, s) (((v)<<16)+((p)<<8)+(s))
23 #define EATA { \
24 name: "EATA/DMA 2.0x rev. " EATA_VERSION " ", \
25 detect: eata2x_detect, \
26 release: eata2x_release, \
27 queuecommand: eata2x_queuecommand, \
28 abort: eata2x_old_abort, \
29 reset: eata2x_old_reset, \
30 eh_abort_handler: eata2x_abort, \
31 eh_device_reset_handler: NULL, \
32 eh_bus_reset_handler: NULL, \
33 eh_host_reset_handler: eata2x_reset, \
34 bios_param: eata2x_biosparam, \
35 this_id: 7, \
36 unchecked_isa_dma: 1, \
37 use_clustering: ENABLE_CLUSTERING, \
38 use_new_eh_code: 1 /* Enable new error code */ \
41 #endif