summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/port.h
diff options
context:
space:
mode:
authorJeff Skirvin <jeffrey.d.skirvin@intel.com>2011-10-27 15:05:32 -0700
committerJames Bottomley <JBottomley@Parallels.com>2011-10-31 13:22:41 +0400
commit8e35a1398c5db981cd1a2d7635de9c15dd648527 (patch)
tree9a7de3cae5c5a7194a1a447dc871062f351b3363 /drivers/scsi/isci/port.h
parent5412e25c55fc0b08041a451d8bee6f2b291099c2 (diff)
downloadop-kernel-dev-8e35a1398c5db981cd1a2d7635de9c15dd648527.zip
op-kernel-dev-8e35a1398c5db981cd1a2d7635de9c15dd648527.tar.gz
[SCSI] isci: Fix hard reset timeout conditions.
A hard reset can timeout before or after the last phy in the port goes away. If after, then notify the OS that the last phy has failed. The recovery for the failed hard reset has been removed. This recovery code was unecessary in that the link would recover from the failure normally by a new link reset sequence or hotplug of the remote device. Signed-off-by: Jeff Skirvin <jeffrey.d.skirvin@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/isci/port.h')
-rw-r--r--drivers/scsi/isci/port.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/isci/port.h b/drivers/scsi/isci/port.h
index b50ecd4..e84d22a 100644
--- a/drivers/scsi/isci/port.h
+++ b/drivers/scsi/isci/port.h
@@ -109,6 +109,7 @@ struct isci_port {
u8 logical_port_index;
u8 physical_port_index;
u8 active_phy_mask;
+ u8 last_active_phy;
u16 reserved_rni;
u16 reserved_tag;
u32 started_request_count;
OpenPOWER on IntegriCloud