aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@us.ibm.com>2007-01-30 02:48:19 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-02-03 09:15:55 -0500
commita9344e68ac0a656475006737dbc258d69fe4f7b0 (patch)
tree09735ffa77d9d5c1b88de5c4118b90501e623527 /include
parent423f7cf467045eab616f97309aed87a54b5e351d (diff)
[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')
-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 *);
661void sas_task_abort(struct sas_task *); 661void sas_task_abort(struct sas_task *);
662int __sas_task_abort(struct sas_task *); 662int __sas_task_abort(struct sas_task *);
663int sas_eh_device_reset_handler(struct scsi_cmnd *cmd); 663int sas_eh_device_reset_handler(struct scsi_cmnd *cmd);
664int sas_eh_bus_reset_handler(struct scsi_cmnd *cmd);
664 665
665#endif /* _SASLIB_H_ */ 666#endif /* _SASLIB_H_ */