File: /usr/src/linux/drivers/scsi/u14-34f.h

1     /*
2      *   u14-34f.h - used by the low-level driver for UltraStor 14F/34F
3      */
4     #ifndef _U14_34F_H
5     #define _U14_34F_H
6     
7     #include <scsi/scsicam.h>
8     
9     int u14_34f_detect(Scsi_Host_Template *);
10     int u14_34f_release(struct Scsi_Host *);
11     int u14_34f_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
12     int u14_34f_abort(Scsi_Cmnd *);
13     int u14_34f_reset(Scsi_Cmnd *);
14     int u14_34f_biosparam(Disk *, kdev_t, int *);
15     
16     #define U14_34F_VERSION "6.05.00"
17     
18     #define ULTRASTOR_14_34F {                                                   \
19                     name:         "UltraStor 14F/34F rev. " U14_34F_VERSION " ", \
20                     detect:                  u14_34f_detect,                     \
21                     release:                 u14_34f_release,                    \
22                     queuecommand:            u14_34f_queuecommand,               \
23                     abort:                   NULL,                               \
24                     reset:                   NULL,                               \
25                     eh_abort_handler:        u14_34f_abort,                      \
26                     eh_device_reset_handler: NULL,                               \
27                     eh_bus_reset_handler:    NULL,                               \
28                     eh_host_reset_handler:   u14_34f_reset,                      \
29                     bios_param:              u14_34f_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
37