[PATCH] fix semaphore handling in __unregister_chrdev_region
[linux/fpc-iii.git] / drivers / scsi / scsi_debug.h
blob965dd5e760c199efac8cea05742f62254e669dc9
1 #ifndef _SCSI_DEBUG_H
3 #include <linux/types.h>
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 *);
20 #define SCSI_DEBUG_CANQUEUE 255 /* needs to be >= 1 */
22 #define SCSI_DEBUG_MAX_CMD_LEN 16
24 #endif