diff options
author | Jeff Skirvin <jeffrey.d.skirvin@intel.com> | 2012-01-04 01:33:00 -0800 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-01-16 11:43:59 +0400 |
commit | be168a3b89b43b8bb4ef71066e91439d400e20a6 (patch) | |
tree | 4d0d9e0ffda9aa5d2368c2a4f856bb4f949b609a /drivers/scsi/isci/host.c | |
parent | 6024d38b86ecc7943e398ef01b0dc2765870d444 (diff) | |
download | linux-stable-be168a3b89b43b8bb4ef71066e91439d400e20a6.tar.gz linux-stable-be168a3b89b43b8bb4ef71066e91439d400e20a6.tar.bz2 linux-stable-be168a3b89b43b8bb4ef71066e91439d400e20a6.zip |
[SCSI] isci: link speeds default to gen 2
Gen-3 operation is marginal, default to gen-2 for now.
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.c')
-rw-r--r-- | drivers/scsi/isci/host.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/isci/host.c b/drivers/scsi/isci/host.c index 670ecb456d48..7e4d709dc201 100644 --- a/drivers/scsi/isci/host.c +++ b/drivers/scsi/isci/host.c @@ -1676,8 +1676,9 @@ static void sci_controller_set_default_config_parameters(struct isci_host *ihost /* Initialize all of the phy parameter information. */ for (index = 0; index < SCI_MAX_PHYS; index++) { - /* Default to 6G (i.e. Gen 3) for now. */ - ihost->user_parameters.phys[index].max_speed_generation = 3; + /* Default to 3G (i.e. Gen 2). */ + ihost->user_parameters.phys[index].max_speed_generation = + SCIC_SDS_PARM_GEN2_SPEED; /* the frequencies cannot be 0 */ ihost->user_parameters.phys[index].align_insertion_frequency = 0x7f; |