Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29256
b: refs/heads/master
c: ec57375
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Apr 11, 2006
1 parent 9f4fa47 commit 930344a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 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: 7dd29dd629bd5a4e6d8a164a9886da01f291ecf2
refs/heads/master: ec573755fcd7975aae6b0d536dbcd74a6eed029c
12 changes: 7 additions & 5 deletions trunk/drivers/scsi/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1411,12 +1411,9 @@ static int ata_bus_probe(struct ata_port *ap)
/* read IDENTIFY page and configure devices */
for (i = 0; i < ATA_MAX_DEVICES; i++) {
dev = &ap->device[i];
dev->class = classes[i];

if (!tries[i]) {
ata_down_xfermask_limit(ap, dev, 1);
ata_dev_disable(ap, dev);
}
if (tries[i])
dev->class = classes[i];

if (!ata_dev_enabled(dev))
continue;
Expand Down Expand Up @@ -1477,6 +1474,11 @@ static int ata_bus_probe(struct ata_port *ap)
tries[dev->devno] = 0;
}

if (!tries[dev->devno]) {
ata_down_xfermask_limit(ap, dev, 1);
ata_dev_disable(ap, dev);
}

goto retry;
}

Expand Down

0 comments on commit 930344a

Please sign in to comment.