The changeset adds support of PIO modes up to PIO4 by setting necessary timings in the driver, before the change it is assumed that the timings are always set by a bootloader once and thus only one possible PIO mode has been supported (PIO0). With this change the driver can be used on boards without ATA controller configuration done by a bootloader. The change is tested on a legacy i.MX31 board with an HDD connected by a 40-pin flat cable. Vladimir Zapolskiy (4): pata: imx: sort headers out pata: imx: set controller PIO mode with .set_piomode callback pata: imx: add support of setting timings for PIO modes pata: imx: support controller modes up to PIO4 drivers/ata/pata_imx.c | 82 +++++++++++++++++++++++++++++++++++--------------- 1 file changed, 57 insertions(+), 25 deletions(-) -- 2.10.2 -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html