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
generic.pat
Description: generic.pat
_______________________________________________ Linux PCMCIA reimplementation list http://lists.infradead.org/mailman/listinfo/linux-pcmcia
