···19111911 ihost->power_control.phys_granted_power++;19121912 sci_phy_consume_power_handler(iphy);1913191319141914- if (iphy->protocol == SCIC_SDS_PHY_PROTOCOL_SAS) {19141914+ if (iphy->protocol == SAS_PROTOCOL_SSP) {19151915 u8 j;1916191619171917 for (j = 0; j < SCI_MAX_PHYS; j++) {···19851985 sizeof(current_phy->frame_rcvd.iaf.sas_addr));1986198619871987 if (current_phy->sm.current_state_id == SCI_PHY_READY &&19881988- current_phy->protocol == SCIC_SDS_PHY_PROTOCOL_SAS &&19881988+ current_phy->protocol == SAS_PROTOCOL_SSP &&19891989 other == 0) {19901990 sci_phy_consume_power_handler(iphy);19911991 break;
+6-6
drivers/scsi/isci/phy.c
···580580581581 sci_change_state(&iphy->sm, SCI_PHY_SUB_AWAIT_SAS_SPEED_EN);582582583583- iphy->protocol = SCIC_SDS_PHY_PROTOCOL_SAS;583583+ iphy->protocol = SAS_PROTOCOL_SSP;584584}585585586586static void sci_phy_start_sata_link_training(struct isci_phy *iphy)···591591 */592592 sci_change_state(&iphy->sm, SCI_PHY_SUB_AWAIT_SATA_POWER);593593594594- iphy->protocol = SCIC_SDS_PHY_PROTOCOL_SATA;594594+ iphy->protocol = SAS_PROTOCOL_SATA;595595}596596597597/**···797797 */798798 break;799799 case SCU_EVENT_SATA_PHY_DETECTED:800800- iphy->protocol = SCIC_SDS_PHY_PROTOCOL_SATA;800800+ iphy->protocol = SAS_PROTOCOL_SATA;801801802802 /* We have received the SATA PHY notification change state */803803 sci_change_state(&iphy->sm, SCI_PHY_SUB_AWAIT_SATA_SPEED_EN);···12151215 scu_link_layer_start_oob(iphy);1216121612171217 /* We don't know what kind of phy we are going to be just yet */12181218- iphy->protocol = SCIC_SDS_PHY_PROTOCOL_UNKNOWN;12181218+ iphy->protocol = SAS_PROTOCOL_NONE;12191219 iphy->bcn_received_while_port_unassigned = false;1220122012211221 if (iphy->sm.previous_state_id == SCI_PHY_READY)···12501250 */12511251 sci_port_deactivate_phy(iphy->owning_port, iphy, false);1252125212531253- if (iphy->protocol == SCIC_SDS_PHY_PROTOCOL_SAS) {12531253+ if (iphy->protocol == SAS_PROTOCOL_SSP) {12541254 scu_link_layer_tx_hard_reset(iphy);12551255 } else {12561256 /* The SCU does not need to have a discrete reset state so···13161316 iphy->owning_port = iport;13171317 iphy->phy_index = phy_index;13181318 iphy->bcn_received_while_port_unassigned = false;13191319- iphy->protocol = SCIC_SDS_PHY_PROTOCOL_UNKNOWN;13191319+ iphy->protocol = SAS_PROTOCOL_NONE;13201320 iphy->link_layer_registers = NULL;13211321 iphy->max_negotiated_speed = SAS_LINK_RATE_UNKNOWN;13221322