]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitcf082adca5afafcf180dfdeaecde8f2b1d6a9b6f
treeed8fde54c953025be2a59697dd912f581536c782
parent951271ce4cbb42519fd4e0a82fb16f20a686b478
[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