summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sata_sil24.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-04-11 22:16:45 +0900
committerJeff Garzik <jeff@garzik.org>2006-04-11 13:12:46 -0400
commit987d2f05b396760517eef7cba66b2f415ac484f5 (patch)
tree72d7d4e31f5aa8df3c7988119fa0787632d01460 /drivers/scsi/sata_sil24.c
parent2bf2cb26b2512c6a609bb152982c388329bedff6 (diff)
downloadlinux-987d2f05b396760517eef7cba66b2f415ac484f5.tar.gz
linux-987d2f05b396760517eef7cba66b2f415ac484f5.tar.bz2
linux-987d2f05b396760517eef7cba66b2f415ac484f5.zip
[PATCH] libata: make reset methods complain when they fail
Make reset methods complain loud when they fail. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi/sata_sil24.c')
-rw-r--r--drivers/scsi/sata_sil24.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sata_sil24.c b/drivers/scsi/sata_sil24.c
index 26d84e094b1d..a9506adadb6f 100644
--- a/drivers/scsi/sata_sil24.c
+++ b/drivers/scsi/sata_sil24.c
@@ -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;
}