diff options
author | Darrick J. Wong <djwong@us.ibm.com> | 2007-01-30 08:48:19 +0100 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-02-03 15:15:55 +0100 |
commit | a9344e68ac0a656475006737dbc258d69fe4f7b0 (patch) | |
tree | 09735ffa77d9d5c1b88de5c4118b90501e623527 /include/scsi/libsas.h | |
parent | [SCSI] libsas: Don't BUG when connecting two expanders via wide port (diff) | |
download | linux-a9344e68ac0a656475006737dbc258d69fe4f7b0.tar.xz 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.h | 1 |
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_ */ |