diff options
author | Alan <alan@lxorguk.ukuu.org.uk> | 2007-02-20 18:35:43 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-21 10:58:20 +0100 |
commit | e852f7054df7cf4be686d8cff9c33333a36b59e9 (patch) | |
tree | 74912ab792253a63e1624a132312b3cb7d221541 /drivers/ata/pata_platform.c | |
parent | libata: s/ap->id/ap->print_id/g (diff) | |
download | linux-e852f7054df7cf4be686d8cff9c33333a36b59e9.tar.xz linux-e852f7054df7cf4be686d8cff9c33333a36b59e9.zip |
pata: Display Configuring .. lines for devices with private set_mode methods
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>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_platform.c')
-rw-r--r-- | drivers/ata/pata_platform.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/pata_platform.c b/drivers/ata/pata_platform.c index 479a326114e0..02ea95fcba69 100644 --- a/drivers/ata/pata_platform.c +++ b/drivers/ata/pata_platform.c @@ -42,6 +42,7 @@ static int pata_platform_set_mode(struct ata_port *ap, struct ata_device **unuse 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; |