1 #ifndef _QLOGIC_H
2 #define _QLOGIC_H
3
4 int qlogic_detect(Scsi_Host_Template * );
5 const char * qlogic_info(struct Scsi_Host *);
6 int qlogic_command(Scsi_Cmnd *);
7 int qlogic_queuecommand(Scsi_Cmnd *, void (* done)(Scsi_Cmnd *));
8 int qlogic_abort(Scsi_Cmnd *);
9 int qlogic_reset(Scsi_Cmnd *);
10 int qlogic_biosparam(Disk *, kdev_t, int[]);
11
12 #ifndef NULL
13 #define NULL (0)
14 #endif
15
16 #define QLOGIC { \
17 NULL, \
18 NULL, \
19 NULL, \
20 NULL, \
21 NULL, \
22 qlogic_detect, \
23 NULL, \
24 qlogic_info, \
25 qlogic_command, \
26 qlogic_queuecommand, \
27 qlogic_abort, \
28 qlogic_reset, \
29 NULL, \
30 qlogic_biosparam, \
31 0, \
32 -1, \
33 SG_ALL, \
34 1, \
35 0, \
36 0, \
37 DISABLE_CLUSTERING \
38 }
39
40 #endif