diff options
author | Quinn Jensen <quinn.jensen@freescale.com> | 2007-10-24 21:24:53 -0600 |
---|---|---|
committer | Quinn Jensen <quinn.jensen@freescale.com> | 2007-10-24 21:24:53 -0600 |
commit | d8749be38fee07bde24f77bedb122c9c2cdf8377 (patch) | |
tree | 1b20169bd60e59eff12fc0b6c28042e7d6ca35b3 /include | |
parent | b4d071c2e403c2279e9e1b7216e22cdbe12d43c7 (diff) |
Bugzilla 771 - Fix pata_fsl libata driver DMA mode
Patch for Bugzilla 771 - Fix pata_fsl libata driver DMA mode. Full
sglist DMA working on linux 2.6.22 for MX27/MX31. Not fast enough on
MX27, though. MX31 is as fast as the old mxc_ide driver. Writes are
unreliable on MX27 TO1. Beyond UDMA3 on MX27 wasn't 100% reliable.
http://www.bitshrine.org/gpp/linux-2.6.22-mx-Bugzilla-771-Fix-pata_fsl-libata-driver-DM.patch
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fsl_devices.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index bf68f2c42ca8..024063603e6c 100644 --- a/include/linux/fsl_devices.h +++ b/include/linux/fsl_devices.h @@ -142,6 +142,9 @@ struct fsl_spi_platform_data { }; struct fsl_ata_platform_data { + int udma_mask; /* UDMA modes h/w can handle */ + int fifo_alarm; /* value for fifo_alarm reg */ + int max_sg; /* longest sglist h/w can handle */ int (*init)(struct platform_device *pdev); void (*exit)(void); int (*get_clk_rate)(void); |