pata: Display Configuring .. lines for devices with private set_mode methods
PATCH 1/1 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 <[email protected]>
drivers/ata/pata_platform.c +1 -0
@@ -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 ;
drivers/ata/pata_rz1000.c +1 -0
@@ -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 ;
Jeff Garzik
AppliedQuoted 4 lines · Alan
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 <[email protected]>
applied