update atp870u driver to 0.78 from D-Link source
[linux-2.4.git] / drivers / scsi / eata.h
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
6
7 #include <scsi/scsicam.h>
8
9 int eata2x_detect(Scsi_Host_Template *);
10 int eata2x_release(struct Scsi_Host *);
11 int eata2x_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
12 int eata2x_abort(Scsi_Cmnd *);
13 int eata2x_reset(Scsi_Cmnd *);
14 int eata2x_biosparam(Disk *, kdev_t, int *);
15
16 #define EATA_VERSION "6.70.00"
17
18 #define EATA {                                                               \
19                 name:              "EATA/DMA 2.0x rev. " EATA_VERSION " ",   \
20                 detect:                  eata2x_detect,                      \
21                 release:                 eata2x_release,                     \
22                 queuecommand:            eata2x_queuecommand,                \
23                 abort:                   NULL,                               \
24                 reset:                   NULL,                               \
25                 eh_abort_handler:        eata2x_abort,                       \
26                 eh_device_reset_handler: NULL,                               \
27                 eh_bus_reset_handler:    NULL,                               \
28                 eh_host_reset_handler:   eata2x_reset,                       \
29                 bios_param:              eata2x_biosparam,                   \
30                 this_id:                 7,                                  \
31                 unchecked_isa_dma:       1,                                  \
32                 use_clustering:          ENABLE_CLUSTERING,                  \
33                 use_new_eh_code:         1    /* Enable new error code */    \
34              }
35
36 #endif