mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 16:41:58 +00:00
[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:
parent
d33d44facc
commit
88f93a31dc
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user