提交 88f93a31 编写于 作者: A Alan Cox 提交者: Jeff Garzik

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

Signed-off-by: NAlan Cox <alan@redhat.com>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 d33d44fa
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册