[SCSI] isci: fix interpretation of "hard" reset
authorDan Williams <dan.j.williams@intel.com>
Wed, 30 Nov 2011 19:57:34 +0000 (11:57 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 29 Feb 2012 21:11:54 +0000 (15:11 -0600)
commit9277699121b81891e303ada0a53fa1d04b7ffe72
treeed8fde54c953025be2a59697dd912f581536c782
parentfca4ecbdc440337b3c257b38c2f4cc8d0ca0286c
[SCSI] isci: fix interpretation of "hard" reset

A hard reset to isci in the direct-attached case is one where the driver
internally manages debouncing the link.  In the sas-expander-attached
case a hard reset is one that clears affiliations.  The driver should
not be prematurely dropping affiliations at run time, that decision (to
force expander hard resets to ata devices) is left to userspace to
manage.  So, arrange for I_T_nexus resets to be sas-link-resets in the
expander-attached case and isci-hard-resets in the direct-attached case.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/isci/port.c
drivers/scsi/isci/port.h
drivers/scsi/isci/task.c