Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29250
b: refs/heads/master
c: 987d2f0
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Apr 11, 2006
1 parent 1a83b6d commit 107094d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 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: 2bf2cb26b2512c6a609bb152982c388329bedff6
refs/heads/master: 987d2f05b396760517eef7cba66b2f415ac484f5
8 changes: 5 additions & 3 deletions trunk/drivers/scsi/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2232,8 +2232,10 @@ static unsigned int ata_bus_softreset(struct ata_port *ap,
* the bus shows 0xFF because the odd clown forgets the D7
* pulldown resistor.
*/
if (ata_check_status(ap) == 0xFF)
if (ata_check_status(ap) == 0xFF) {
printk(KERN_ERR "ata%u: SRST failed (status 0xFF)\n", ap->id);
return AC_ERR_OTHER;
}

ata_bus_post_reset(ap, devmask);

Expand Down Expand Up @@ -2494,8 +2496,8 @@ int sata_std_hardreset(struct ata_port *ap, unsigned int *class)
}

if (ata_busy_sleep(ap, ATA_TMOUT_BOOT_QUICK, ATA_TMOUT_BOOT)) {
printk(KERN_ERR "ata%u: COMRESET failed "
"(device not ready)\n", ap->id);
printk(KERN_ERR
"ata%u: COMRESET failed (device not ready)\n", ap->id);
return -EIO;
}

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/sata_sil24.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ static int sil24_softreset(struct ata_port *ap, unsigned int *class)
writel(irq_enable, port + PORT_IRQ_ENABLE_SET);

if (!(irq_stat & PORT_IRQ_COMPLETE)) {
DPRINTK("EXIT, srst failed\n");
printk(KERN_ERR "ata%u: softreset failed (timeout)\n", ap->id);
return -EIO;
}

Expand Down

0 comments on commit 107094d

Please sign in to comment.