[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>
This commit is contained in:
Alan Cox 2006-03-21 16:04:12 +00:00 committed by Jeff Garzik
parent d33d44facc
commit 88f93a31dc
1 changed files with 1 additions and 1 deletions

View File

@ -1739,7 +1739,7 @@ static int ata_host_set_pio(struct ata_port *ap)
continue;
if (!dev->pio_mode) {
printk(KERN_WARNING "ata%u: no PIO support\n", ap->id);
printk(KERN_WARNING "ata%u: no PIO support for device %d.\n", ap->id, i);
return -1;
}