1 #ifndef CPQFCTS_H
2 #define CPQFCTS_H
3 #include "cpqfcTSstructs.h"
4
5 // These functions are required by the Linux SCSI layers
6 extern int cpqfcTS_detect(Scsi_Host_Template *);
7 extern int cpqfcTS_release(struct Scsi_Host *);
8 const char * cpqfcTS_info(struct Scsi_Host *);
9 extern int cpqfcTS_proc_info(char *, char **, off_t, int, int, int);
10 extern int cpqfcTS_queuecommand(Scsi_Cmnd *, void (* done)(Scsi_Cmnd *));
11 extern int cpqfcTS_abort(Scsi_Cmnd *);
12 extern int cpqfcTS_reset(Scsi_Cmnd *, unsigned int);
13 extern int cpqfcTS_biosparam(Disk *, kdev_t, int[]);
14 extern int cpqfcTS_ioctl( Scsi_Device *ScsiDev, int Cmnd, void *arg);
15
16 // note: since Tachyon TS supports an extended scatter/gather
17 // linked list of infinite length (with linked Ext S/G pages,
18 // limited only by available physical memory) we use SG_ALL.
19
20 #define CPQFCTS { \
21 detect: cpqfcTS_detect, \
22 release: cpqfcTS_release, \
23 info: cpqfcTS_info, \
24 proc_info: cpqfcTS_proc_info, \
25 ioctl: cpqfcTS_ioctl, \
26 queuecommand: cpqfcTS_queuecommand, \
27 eh_abort_handler: cpqfcTS_abort, \
28 reset: cpqfcTS_reset, \
29 bios_param: cpqfcTS_biosparam, \
30 can_queue: CPQFCTS_REQ_QUEUE_LEN, \
31 this_id: -1, \
32 sg_tablesize: SG_ALL, \
33 cmd_per_lun: CPQFCTS_CMD_PER_LUN, \
34 present: 0, \
35 unchecked_isa_dma: 0, \
36 use_clustering: ENABLE_CLUSTERING \
37 }
38
39 #endif /* CPQFCTS_H */
40
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.