summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/phy.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2011-07-01 20:41:21 +0200
committerDan Williams <dan.j.williams@intel.com>2011-07-03 13:04:52 +0200
commitdc00c8b6940aa10ab1ce6a4d10b1bfe7b848781b (patch)
tree2f62620a348a5f6635413db4f5a0725c248a222b /drivers/scsi/isci/phy.c
parentisci: merge scu_unsolicited_frame.h into unsolicited_frame_control.h (diff)
downloadlinux-dc00c8b6940aa10ab1ce6a4d10b1bfe7b848781b.tar.xz
linux-dc00c8b6940aa10ab1ce6a4d10b1bfe7b848781b.zip
isci: cleanup silicon revision detection
Perform checking per-pci device (even though all systems will only have 1 pci device in this generation), and delete support for silicon that does not report a proper revision (i.e. A0). Reported-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/phy.c')
-rw-r--r--drivers/scsi/isci/phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/isci/phy.c b/drivers/scsi/isci/phy.c
index e56080af78f4..d8f893ee7d03 100644
--- a/drivers/scsi/isci/phy.c
+++ b/drivers/scsi/isci/phy.c
@@ -211,7 +211,7 @@ sci_phy_link_layer_initialization(struct isci_phy *iphy,
llctl |= SCU_SAS_LLCTL_GEN_VAL(MAX_LINK_RATE, link_rate);
writel(llctl, &iphy->link_layer_registers->link_layer_control);
- if (is_a0() || is_a2()) {
+ if (is_a2(ihost->pdev)) {
/* Program the max ARB time for the PHY to 700us so we inter-operate with
* the PMC expander which shuts down PHYs if the expander PHY generates too
* many breaks. This time value will guarantee that the initiator PHY will