Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29280
b: refs/heads/master
c: e4fac92
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo committed May 15, 2006
1 parent b8b5e90 commit f1badc0
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 3c567b7d1137633f3ff67cd1df94abc5fd497a85
refs/heads/master: e4fac92ae744cd5d5c3c1774825788e6b91a5965
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/ahci.c
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ static int ahci_hardreset(struct ata_port *ap, unsigned int *class)
rc = sata_std_hardreset(ap, class);
ahci_start_engine(ap);

if (rc == 0)
if (rc == 0 && sata_dev_present(ap))
*class = ahci_dev_classify(ap);
if (*class == ATA_DEV_UNKNOWN)
*class = ATA_DEV_NONE;
Expand Down

0 comments on commit f1badc0

Please sign in to comment.