1 #ifndef _SCSI_SCSI_EH_H
2 #define _SCSI_SCSI_EH_H
4 extern void scsi_add_timer(struct scsi_cmnd *, int,
5 void (*)(struct scsi_cmnd *));
6 extern int scsi_delete_timer(struct scsi_cmnd *);
7 extern void scsi_report_bus_reset(struct Scsi_Host *, int);
8 extern void scsi_report_device_reset(struct Scsi_Host *, int, int);
9 extern int scsi_block_when_processing_errors(struct scsi_device *);
10 extern void scsi_sleep(int);
13 * Reset request from external source
15 #define SCSI_TRY_RESET_DEVICE 1
16 #define SCSI_TRY_RESET_BUS 2
17 #define SCSI_TRY_RESET_HOST 3
19 extern int scsi_reset_provider(struct scsi_device *, int);
21 #endif /* _SCSI_SCSI_EH_H */