Skip to content
Snippets Groups Projects
Commit 88f93a31 authored by Alan Cox's avatar Alan Cox Committed by Jeff Garzik
Browse files

[PATCH] libata: report which drive is causing mode problems


Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent d33d44fa
No related branches found
No related tags found
No related merge requests found
...@@ -1739,7 +1739,7 @@ static int ata_host_set_pio(struct ata_port *ap) ...@@ -1739,7 +1739,7 @@ static int ata_host_set_pio(struct ata_port *ap)
continue; continue;
if (!dev->pio_mode) { 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; return -1;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment