diff options
author | Jeff Skirvin <jeffrey.d.skirvin@intel.com> | 2012-01-04 04:32:39 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-01-16 02:40:29 -0500 |
commit | afd13a1f2b05157c7621d87dfe89ea6ea9061bd8 (patch) | |
tree | 1dc7a3c2816de4598ada6871f1381336bf1b4192 /drivers/scsi/isci/host.h | |
parent | 2e5da889d44a3a9629f895de3488306e7f5ddf16 (diff) |
[SCSI] isci: update afe (analog-front-end) recipe for C1
C1 silicon requires updates to the phy tuning recipe and also support
for user provided cable selects (per-phy) for short, medium, and long
cables. Default to 'short' awaiting support for selecting the cable via
oem parameters.
Reviewed-by: Jiangbi Liu <jiangbi.liu@intel.com>
Signed-off-by: Marcin Tomczak <marcin.tomczak@intel.com>
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/host.h')
-rw-r--r-- | drivers/scsi/isci/host.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/scsi/isci/host.h b/drivers/scsi/isci/host.h index 646051afd3cb..4573075a6b97 100644 --- a/drivers/scsi/isci/host.h +++ b/drivers/scsi/isci/host.h | |||
@@ -435,7 +435,14 @@ static inline bool is_b0(struct pci_dev *pdev) | |||
435 | 435 | ||
436 | static inline bool is_c0(struct pci_dev *pdev) | 436 | static inline bool is_c0(struct pci_dev *pdev) |
437 | { | 437 | { |
438 | if (pdev->revision >= 5) | 438 | if (pdev->revision == 5) |
439 | return true; | ||
440 | return false; | ||
441 | } | ||
442 | |||
443 | static inline bool is_c1(struct pci_dev *pdev) | ||
444 | { | ||
445 | if (pdev->revision >= 6) | ||
439 | return true; | 446 | return true; |
440 | return false; | 447 | return false; |
441 | } | 448 | } |