aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata-core.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2006-03-21 11:04:12 -0500
committerJeff Garzik <jeff@garzik.org>2006-03-21 21:21:32 -0500
commit88f93a31dcd950fa6b27a5721428de7e01369c06 (patch)
tree2b8ad536d611a9bb46c788a0277cf34f2e77712d /drivers/scsi/libata-core.c
parentd33d44facc8673388979297c9836b4bf590f7388 (diff)
[PATCH] libata: report which drive is causing mode problems
Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi/libata-core.c')
-rw-r--r--drivers/scsi/libata-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c
index 8c86ae8d79b5..d6b8d8e6364b 100644
--- a/drivers/scsi/libata-core.c
+++ b/drivers/scsi/libata-core.c
@@ -1739,7 +1739,7 @@ static int ata_host_set_pio(struct ata_port *ap)
1739 continue; 1739 continue;
1740 1740
1741 if (!dev->pio_mode) { 1741 if (!dev->pio_mode) {
1742 printk(KERN_WARNING "ata%u: no PIO support\n", ap->id); 1742 printk(KERN_WARNING "ata%u: no PIO support for device %d.\n", ap->id, i);
1743 return -1; 1743 return -1;
1744 } 1744 }
1745 1745