diff options
author | Quinn Jensen <quinn.jensen@freescale.com> | 2007-10-24 21:22:29 -0600 |
---|---|---|
committer | Quinn Jensen <quinn.jensen@freescale.com> | 2007-10-24 21:22:29 -0600 |
commit | 5e02ba9187383a02963234ed1f4842bf51381be0 (patch) | |
tree | 7cc969c3b409ef3f9b9dbf1c6ab7da43e195742f /include | |
parent | c70c242dc8726a3e48805dda08624251f41353ad (diff) |
Prototype FSL PATA LIBATA driver
Add Prototype FSL PATA LIBATA driver to linux 2.6.22 kernel
for MX platforms. Working in PIO mode on MX31 and MX27.
Incompatible with current SDMA IAPI due to a sleep in
the DMA configuration setup path.
http://www.bitshrine.org/gpp/linux-2.6.22-mx-Prototype-FSL-PATA-LIBATA-driver.patch
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fsl_devices.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index a6814f02ead6..8dd0667b97c2 100644 --- a/include/linux/fsl_devices.h +++ b/include/linux/fsl_devices.h @@ -141,5 +141,14 @@ struct fsl_spi_platform_data { u32 sysclk; }; +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 DMA handle */ + int (*init)(struct platform_device *pdev); + void (*exit)(void); + int (*get_clk_rate)(void); +}; + #endif /* _FSL_DEVICE_H_ */ #endif /* __KERNEL__ */ |