Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18456
b: refs/heads/master
c: e6bc863
h: refs/heads/master
v: v3
  • Loading branch information
Moore, Eric authored and James Bottomley committed Jan 14, 2006
1 parent 3baff1e commit 34c43ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4b915a73663fe0951077ebcdaf02337ff2bddcfc
refs/heads/master: e6bc863cf25f30ed8e2a4d41b76d5688f8efaee9
6 changes: 3 additions & 3 deletions trunk/drivers/scsi/scsi_transport_sas.c
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ int sas_rphy_add(struct sas_rphy *rphy)
mutex_unlock(&sas_host->lock);

if (rphy->scsi_target_id != -1) {
scsi_scan_target(&rphy->dev, parent->number,
scsi_scan_target(&rphy->dev, parent->port_identifier,
rphy->scsi_target_id, ~0, 0);
}

Expand Down Expand Up @@ -745,9 +745,9 @@ static int sas_user_scan(struct Scsi_Host *shost, uint channel,
if (rphy->scsi_target_id == -1)
continue;

if ((channel == SCAN_WILD_CARD || channel == parent->number) &&
if ((channel == SCAN_WILD_CARD || channel == parent->port_identifier) &&
(id == SCAN_WILD_CARD || id == rphy->scsi_target_id)) {
scsi_scan_target(&rphy->dev, parent->number,
scsi_scan_target(&rphy->dev, parent->port_identifier,
rphy->scsi_target_id, lun, 1);
}
}
Expand Down

0 comments on commit 34c43ab

Please sign in to comment.