summaryrefslogtreecommitdiffstats
path: root/include/scsi/libsas.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@us.ibm.com>2007-01-29 23:48:19 -0800
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-02-03 08:15:55 -0600
commita9344e68ac0a656475006737dbc258d69fe4f7b0 (patch)
tree09735ffa77d9d5c1b88de5c4118b90501e623527 /include/scsi/libsas.h
parent423f7cf467045eab616f97309aed87a54b5e351d (diff)
downloadblackbird-op-linux-a9344e68ac0a656475006737dbc258d69fe4f7b0.tar.gz
blackbird-op-linux-a9344e68ac0a656475006737dbc258d69fe4f7b0.zip
[SCSI] libsas: Add an LU reset mechanism to the error handler
After discussion with andmike and dougg, it seems that the purpose of eh_device_reset_handler is to issue LU resets, and that eh_bus_reset_handler would be a more appropriate place for a phy reset. Signed-off-by: Darrick J. Wong <djwong@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/scsi/libsas.h')
-rw-r--r--include/scsi/libsas.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h
index b200233cc6f4..8516ba68cc95 100644
--- a/include/scsi/libsas.h
+++ b/include/scsi/libsas.h
@@ -661,5 +661,6 @@ void sas_init_dev(struct domain_device *);
void sas_task_abort(struct sas_task *);
int __sas_task_abort(struct sas_task *);
int sas_eh_device_reset_handler(struct scsi_cmnd *cmd);
+int sas_eh_bus_reset_handler(struct scsi_cmnd *cmd);
#endif /* _SASLIB_H_ */
OpenPOWER on IntegriCloud