Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _SCSI_DEBUG_H |
| 2 | |
| 3 | #include <linux/types.h> |
| 4 | |
| 5 | static int scsi_debug_slave_alloc(struct scsi_device *); |
| 6 | static int scsi_debug_slave_configure(struct scsi_device *); |
| 7 | static void scsi_debug_slave_destroy(struct scsi_device *); |
| 8 | static int scsi_debug_queuecommand(struct scsi_cmnd *, |
| 9 | void (*done) (struct scsi_cmnd *)); |
| 10 | static int scsi_debug_ioctl(struct scsi_device *, int, void __user *); |
| 11 | static int scsi_debug_biosparam(struct scsi_device *, struct block_device *, |
| 12 | sector_t, int[]); |
| 13 | static int scsi_debug_abort(struct scsi_cmnd *); |
| 14 | static int scsi_debug_bus_reset(struct scsi_cmnd *); |
| 15 | static int scsi_debug_device_reset(struct scsi_cmnd *); |
| 16 | static int scsi_debug_host_reset(struct scsi_cmnd *); |
| 17 | static int scsi_debug_proc_info(struct Scsi_Host *, char *, char **, off_t, int, int); |
| 18 | static const char * scsi_debug_info(struct Scsi_Host *); |
| 19 | |
| 20 | #define SCSI_DEBUG_CANQUEUE 255 /* needs to be >= 1 */ |
| 21 | |
| 22 | #define SCSI_DEBUG_MAX_CMD_LEN 16 |
| 23 | |
| 24 | #endif |