1 #ifndef _SCSI_SCSI_EH_H
2 #define _SCSI_SCSI_EH_H
8 extern void scsi_add_timer(struct scsi_cmnd *, int,
9 void (*)(struct scsi_cmnd *));
10 extern int scsi_delete_timer(struct scsi_cmnd *);
11 extern void scsi_report_bus_reset(struct Scsi_Host *, int);
12 extern void scsi_report_device_reset(struct Scsi_Host *, int, int);
13 extern int scsi_block_when_processing_errors(struct scsi_device *);
16 * Reset request from external source
18 #define SCSI_TRY_RESET_DEVICE 1
19 #define SCSI_TRY_RESET_BUS 2
20 #define SCSI_TRY_RESET_HOST 3
22 extern int scsi_reset_provider(struct scsi_device *, int);
24 #endif /* _SCSI_SCSI_EH_H */