summaryrefslogtreecommitdiff
path: root/linux/src/drivers/scsi/qlogicfas.h
blob: 5a1dfdbf7d43d49611912d26b3a172b8d8edb3ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef _QLOGICFAS_H
#define _QLOGICFAS_H

int qlogicfas_detect(Scsi_Host_Template * );
const char * qlogicfas_info(struct Scsi_Host *);
int qlogicfas_command(Scsi_Cmnd *);
int qlogicfas_queuecommand(Scsi_Cmnd *, void (* done)(Scsi_Cmnd *));
int qlogicfas_abort(Scsi_Cmnd *);
int qlogicfas_reset(Scsi_Cmnd *, unsigned int flags);
int qlogicfas_biosparam(Disk *, kdev_t, int[]);

#ifndef NULL
#define NULL (0)
#endif

#define QLOGICFAS {		\
	NULL,			\
	NULL,			\
	NULL,			\
	NULL,		        \
	NULL,			\
	qlogicfas_detect,	\
	NULL,			\
	qlogicfas_info,		\
	qlogicfas_command, 	\
	qlogicfas_queuecommand,	\
	qlogicfas_abort,	\
	qlogicfas_reset,	\
	NULL,			\
	qlogicfas_biosparam,	\
	0,			\
	-1,			\
	SG_ALL,			\
	1,			\
	0,			\
	0,			\
	DISABLE_CLUSTERING	\
}

#endif /* _QLOGICFAS_H */