diff options
author | James Bottomley <jejb@raven.il.steeleye.com> | 2004-06-26 07:44:51 -0500 |
---|---|---|
committer | James Bottomley <jejb@raven.il.steeleye.com> | 2004-06-26 07:44:51 -0500 |
commit | 0a45b2af39dcc7ccfd1e36f56914ae57627b8401 (patch) | |
tree | 26b40577fc6b6ce7e81166db10750a9c8088917c /Documentation | |
parent | 1a44cb0b393c3bb07f7d130f3041f8a6f2b96ed5 (diff) | |
parent | b44c1d52defae7c6c396830f693c3d27e6bd8d2b (diff) | |
download | history-0a45b2af39dcc7ccfd1e36f56914ae57627b8401.tar.gz |
Merge
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/scsi/scsi_mid_low_api.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Documentation/scsi/scsi_mid_low_api.txt b/Documentation/scsi/scsi_mid_low_api.txt index eda7ce53db9d09..c3407f6693a25c 100644 --- a/Documentation/scsi/scsi_mid_low_api.txt +++ b/Documentation/scsi/scsi_mid_low_api.txt @@ -827,6 +827,7 @@ The interface functions are listed below in alphabetical order. Summary: bios_param - fetch head, sector, cylinder info for a disk detect - detects HBAs this driver wants to control + eh_timed_out - notify the host that a command timer expired eh_abort_handler - abort given command eh_bus_reset_handler - issue SCSI bus reset eh_device_reset_handler - issue SCSI device reset @@ -895,6 +896,32 @@ Details: /** + * eh_timed_out - The timer for the command has just fired + * @scp: identifies command timing out + * + * Returns: + * + * EH_HANDLED: I fixed the error, please complete the command + * EH_RESET_TIMER: I need more time, reset the timer and + * begin counting again + * EH_NOT_HANDLED Begin normal error recovery + + * + * Locks: None held + * + * Calling context: interrupt + * + * Notes: This is to give the LLD an opportunity to do local recovery. + * This recovery is limited to determining if the outstanding command + * will ever complete. You may not abort and restart the command from + * this callback. + * + * Optionally defined in: LLD + **/ + int eh_timed_out(struct scsi_cmnd * scp) + + +/** * eh_abort_handler - abort command associated with scp * @scp: identifies command to be aborted * |