1 #ifndef _SCSI_DEBUG_H
2
3 #include <linux/types.h>
4 #include <linux/kdev_t.h>
5
6 int scsi_debug_detect(Scsi_Host_Template *);
7 int scsi_debug_command(Scsi_Cmnd *);
8 int scsi_debug_queuecommand(Scsi_Cmnd *, void (*done) (Scsi_Cmnd *));
9 int scsi_debug_abort(Scsi_Cmnd *);
10 int scsi_debug_biosparam(Disk *, kdev_t, int[]);
11 int scsi_debug_reset(Scsi_Cmnd *, unsigned int);
12 int scsi_debug_proc_info(char *, char **, off_t, int, int, int);
13
14 #ifndef NULL
15 #define NULL 0
16 #endif
17
18
19 #define SCSI_DEBUG_MAILBOXES 1
20
21 /*
22 * Allow the driver to reject commands. Thus we accept only one, but
23 * and the mid-level will queue the remainder.
24 */
25 #define SCSI_DEBUG_CANQUEUE 255
26
27 #define SCSI_DEBUG {proc_info: scsi_debug_proc_info, \
28 name: "SCSI DEBUG", \
29 detect: scsi_debug_detect, \
30 queuecommand: scsi_debug_queuecommand, \
31 abort: scsi_debug_abort, \
32 reset: scsi_debug_reset, \
33 bios_param: scsi_debug_biosparam, \
34 can_queue: SCSI_DEBUG_CANQUEUE, \
35 this_id: 7, \
36 sg_tablesize: 16, \
37 cmd_per_lun: 3, \
38 unchecked_isa_dma: 0, \
39 use_clustering: ENABLE_CLUSTERING, \
40 use_new_eh_code: 1, \
41 }
42 #endif
43
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.