summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qlogicfas.h
blob: 233408c2449322837273362669ccf445d0f11eb8 (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
#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);
int qlogicfas_biosparam(Disk *, kdev_t, int[]);

#ifndef NULL
#define NULL (0)
#endif

#define QLOGICFAS {		\
	detect:         qlogicfas_detect,	\
	info:           qlogicfas_info,		\
	command:        qlogicfas_command, 	\
	queuecommand:   qlogicfas_queuecommand,	\
	abort:          qlogicfas_abort,	\
	reset:          qlogicfas_reset,	\
	bios_param:     qlogicfas_biosparam,	\
	can_queue:      0,			\
	this_id:        -1,			\
	sg_tablesize:   SG_ALL,			\
	cmd_per_lun:    1,			\
	use_clustering: DISABLE_CLUSTERING	\
}

#endif /* _QLOGICFAS_H */