]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
[PATCH] libata: report which drive is causing mode problems
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Tue, 21 Mar 2006 16:04:12 +0000 (16:04 +0000)
committerJeff Garzik <jeff@garzik.org>
Wed, 22 Mar 2006 02:21:32 +0000 (21:21 -0500)
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/libata-core.c

index 8c86ae8d79b55c61cc3bc6d64c4030b96564212b..d6b8d8e6364b5e941902f0f570d50deee1b9d857 100644 (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;
                }