aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/port.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/isci/port.c')
-rw-r--r--drivers/scsi/isci/port.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/isci/port.c b/drivers/scsi/isci/port.c
index dbff28396dd8..6d2633051adc 100644
--- a/drivers/scsi/isci/port.c
+++ b/drivers/scsi/isci/port.c
@@ -485,7 +485,7 @@ static enum sci_status scic_sds_port_set_phy(
485 * not already have a phy assinged to the phy index. */ 485 * not already have a phy assinged to the phy index. */
486 if ( 486 if (
487 (port->phy_table[phy->phy_index] == NULL) 487 (port->phy_table[phy->phy_index] == NULL)
488 && (scic_sds_phy_get_port(phy) == NULL) 488 && (phy_get_non_dummy_port(phy) == NULL)
489 && scic_sds_port_is_valid_phy_assignment(port, phy->phy_index) 489 && scic_sds_port_is_valid_phy_assignment(port, phy->phy_index)
490 ) { 490 ) {
491 /* 491 /*
@@ -516,7 +516,7 @@ static enum sci_status scic_sds_port_clear_phy(
516{ 516{
517 /* Make sure that this phy is part of this port */ 517 /* Make sure that this phy is part of this port */
518 if (port->phy_table[phy->phy_index] == phy && 518 if (port->phy_table[phy->phy_index] == phy &&
519 scic_sds_phy_get_port(phy) == port) { 519 phy_get_non_dummy_port(phy) == port) {
520 struct scic_sds_controller *scic = port->owning_controller; 520 struct scic_sds_controller *scic = port->owning_controller;
521 struct isci_host *ihost = scic_to_ihost(scic); 521 struct isci_host *ihost = scic_to_ihost(scic);
522 522