aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJames Bottomley <jejb@mulgrave.(none)>2004-06-18 04:00:43 -0500
committerJames Bottomley <jejb@mulgrave.(none)>2004-06-18 04:00:43 -0500
commit311a8896ea899033f25cb00ce13f6c9938906a1f (patch)
tree938c8f950a8832193a7e4d7d244d4924ba516ad5 /Documentation
parentf092d1841ca0710fcfa1f9c50374b8ea68cad771 (diff)
parentce270e32ff9bad7348f7260271b21d26b574c4e0 (diff)
downloadhistory-311a8896ea899033f25cb00ce13f6c9938906a1f.tar.gz
Merge mulgrave.(none):/home/jejb/BK/linux-2.5
into mulgrave.(none):/home/jejb/BK/scsi-misc-2.6
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/scsi/scsi_mid_low_api.txt27
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
*