All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] pata: Display Configuring .. lines for devices with private set_mode methods
  2007-02-20 17:35 [PATCH] pata: Display Configuring .. lines for devices with private set_mode methods Alan
@ 2007-02-20 16:39 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2007-02-20 16:39 UTC (permalink / raw)
  To: Alan; +Cc: linux-kernel, akpm

Alan wrote:
> We can't specify which mode in the cases below but we can at least say
> PIO and look consistent with the default.
> 
> Signed-off-by: Alan Cox <alan@redhat.com>

applied



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] pata: Display Configuring .. lines for devices with private set_mode methods
@ 2007-02-20 17:35 Alan
  2007-02-20 16:39 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Alan @ 2007-02-20 17:35 UTC (permalink / raw)
  To: jgarzik, linux-kernel, akpm

We can't specify which mode in the cases below but we can at least say
PIO and look consistent with the default.

Signed-off-by: Alan Cox <alan@redhat.com>


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ata/pata_platform.c linux-2.6.20-mm2/drivers/ata/pata_platform.c
--- linux.vanilla-2.6.20-mm2/drivers/ata/pata_platform.c	2007-02-20 13:37:58.000000000 +0000
+++ linux-2.6.20-mm2/drivers/ata/pata_platform.c	2007-02-20 13:55:21.000000000 +0000
@@ -42,6 +42,7 @@
 			dev->pio_mode = dev->xfer_mode = XFER_PIO_0;
 			dev->xfer_shift = ATA_SHIFT_PIO;
 			dev->flags |= ATA_DFLAG_PIO;
+			ata_dev_printk(dev, KERN_INFO, "configured for PIO\n");
 		}
 	}
 	return 0;
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ata/pata_rz1000.c linux-2.6.20-mm2/drivers/ata/pata_rz1000.c
--- linux.vanilla-2.6.20-mm2/drivers/ata/pata_rz1000.c	2007-02-20 13:37:58.000000000 +0000
+++ linux-2.6.20-mm2/drivers/ata/pata_rz1000.c	2007-02-20 13:55:54.000000000 +0000
@@ -71,6 +71,7 @@
 			dev->xfer_mode = XFER_PIO_0;
 			dev->xfer_shift = ATA_SHIFT_PIO;
 			dev->flags |= ATA_DFLAG_PIO;
+			ata_dev_printk(dev, KERN_INFO, "configured for PIO\n");
 		}
 	}
 	return 0;


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-20 16:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-20 17:35 [PATCH] pata: Display Configuring .. lines for devices with private set_mode methods Alan
2007-02-20 16:39 ` Jeff Garzik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.