* added 0.99 linux version
[mascara-docs.git] / i386 / linux / linux-2.3.21 / drivers / scsi / u14-34f.h
blob381e718d8659276b4ec35491f10f7a771cca3488
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
7 #include <scsi/scsicam.h>
8 #include <linux/version.h>
10 int u14_34f_detect(Scsi_Host_Template *);
11 int u14_34f_release(struct Scsi_Host *);
12 int u14_34f_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
13 int u14_34f_abort(Scsi_Cmnd *);
14 int u14_34f_old_abort(Scsi_Cmnd *);
15 int u14_34f_reset(Scsi_Cmnd *);
16 int u14_34f_old_reset(Scsi_Cmnd *, unsigned int);
17 int u14_34f_biosparam(Disk *, kdev_t, int *);
19 #define U14_34F_VERSION "5.11.00"
21 #define LinuxVersionCode(v, p, s) (((v)<<16)+((p)<<8)+(s))
23 #define ULTRASTOR_14_34F { \
24 name: "UltraStor 14F/34F rev. " U14_34F_VERSION " ", \
25 detect: u14_34f_detect, \
26 release: u14_34f_release, \
27 queuecommand: u14_34f_queuecommand, \
28 abort: u14_34f_old_abort, \
29 reset: u14_34f_old_reset, \
30 eh_abort_handler: u14_34f_abort, \
31 eh_device_reset_handler: NULL, \
32 eh_bus_reset_handler: NULL, \
33 eh_host_reset_handler: u14_34f_reset, \
34 bios_param: u14_34f_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