UDMA for Compact Flash over PC Card?
Iain Barker
ibarker at aastra.com
Mon Feb 18 15:41:53 EST 2008
Steven John Newbury wrote:
>Hi Iain, good job! Do you have a patch? I'm busy with other things at the
>moment but I'll find some time to try this out. You managed to get further
>than I did, I was quit stuck on the lack of IRQ from the drive, the datasheet
>I was using for reference didn't mention that the interrupt for memory
>accesses is only generated in memory only mode!
Steven,
The unified diff against generic Linux 2.6.15 is attached.
This is includes Thomas Kleffel's earlier mmio patch plus our interrupt handling changes. There are comments around the significant deltas, hope it makes sense.
For testing, in your architecture-specific io.h or similar
#define ALLOW_MMIO_IDE 1
Also, ensure the following functions support PCI block transfers using your DMA controller:
pci_readsw()
pci_writesw()
If they don't, change the functions in default_hwif_mmiops() to map as appropriate.
regards,
Iain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: generic.pat
Type: application/octet-stream
Size: 10226 bytes
Desc: generic.pat
Url : http://lists.infradead.org/pipermail/linux-pcmcia/attachments/20080218/393292e6/attachment.obj
More information about the linux-pcmcia
mailing list