Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27090
b: refs/heads/master
c: 6d99a3f
h: refs/heads/master
v: v3
  • Loading branch information
James Bottomley authored and James Bottomley committed May 20, 2006
1 parent 77e53cd commit 4c1faa7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 78a904b65420e02bf964af6a83c1fd7a85e0b59d
refs/heads/master: 6d99a3f372181160a56d7b1ee3259dbe03663f0d
3 changes: 2 additions & 1 deletion trunk/drivers/scsi/scsi_transport_sas.c
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,8 @@ static int sas_user_scan(struct Scsi_Host *shost, uint channel,
list_for_each_entry(rphy, &sas_host->rphy_list, list) {
struct sas_phy *parent = dev_to_phy(rphy->dev.parent);

if (rphy->scsi_target_id == -1)
if (rphy->identify.device_type != SAS_END_DEVICE ||
rphy->scsi_target_id == -1)
continue;

if ((channel == SCAN_WILD_CARD || channel == parent->port_identifier) &&
Expand Down

0 comments on commit 4c1faa7

Please sign in to comment.