aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion/mptsas.c
diff options
context:
space:
mode:
authorKashyap, Desai <kashyap.desai@lsi.com>2011-02-10 01:20:39 -0500
committerJames Bottomley <James.Bottomley@suse.de>2011-02-12 14:57:28 -0500
commitd75733d51fdab5c99a0d9491b25f22e13b39cdc1 (patch)
treee5aff7828c3306b172281244544e1ffb729dd432 /drivers/message/fusion/mptsas.c
parent8597ae8bfe35f5e438b00ba5df852e97ebe1ac23 (diff)
[SCSI] mptfusion: Support SAS2.0 Devices with SAS1.0 Controllers
SAS1.0 Controller was not able to detect SAS2.0 Expanders due to Link RATE detection was limited to 1.5 Gbps and 3.0 Gbps for SAS1 controllers. Added detection for 6.0 Gbps link. Now, user can mix-up 6.0 Gpbs links with SAS1.0 controller. e.g SAS1.0 HBA <----> SAS2.0 Expander <------> SAS2.0 Expander <--------> SAS1.0 Drive. Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/message/fusion/mptsas.c')
-rw-r--r--drivers/message/fusion/mptsas.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c
index 8aefb1829fcd..518cfcaaaa4e 100644
--- a/drivers/message/fusion/mptsas.c
+++ b/drivers/message/fusion/mptsas.c
@@ -3063,6 +3063,9 @@ static int mptsas_probe_one_phy(struct device *dev,
3063 case MPI_SAS_IOUNIT0_RATE_3_0: 3063 case MPI_SAS_IOUNIT0_RATE_3_0:
3064 phy->negotiated_linkrate = SAS_LINK_RATE_3_0_GBPS; 3064 phy->negotiated_linkrate = SAS_LINK_RATE_3_0_GBPS;
3065 break; 3065 break;
3066 case MPI_SAS_IOUNIT0_RATE_6_0:
3067 phy->negotiated_linkrate = SAS_LINK_RATE_6_0_GBPS;
3068 break;
3066 case MPI_SAS_IOUNIT0_RATE_SATA_OOB_COMPLETE: 3069 case MPI_SAS_IOUNIT0_RATE_SATA_OOB_COMPLETE:
3067 case MPI_SAS_IOUNIT0_RATE_UNKNOWN: 3070 case MPI_SAS_IOUNIT0_RATE_UNKNOWN:
3068 default: 3071 default:
@@ -3691,7 +3694,8 @@ mptsas_send_link_status_event(struct fw_event_work *fw_event)
3691 } 3694 }
3692 3695
3693 if (link_rate == MPI_SAS_IOUNIT0_RATE_1_5 || 3696 if (link_rate == MPI_SAS_IOUNIT0_RATE_1_5 ||
3694 link_rate == MPI_SAS_IOUNIT0_RATE_3_0) { 3697 link_rate == MPI_SAS_IOUNIT0_RATE_3_0 ||
3698 link_rate == MPI_SAS_IOUNIT0_RATE_6_0) {
3695 3699
3696 if (!port_info) { 3700 if (!port_info) {
3697 if (ioc->old_sas_discovery_protocal) { 3701 if (ioc->old_sas_discovery_protocal) {