I meant to forward this pair earlier, sorry. Let me know
if this turns up any problems. Other than the pcipool updates
(including a minor bugfix on an out-of-memory path), this is
basically what was posted before (ohci-0323, ohci64-0324,
pcipool-0323).
- Dave
> Hi,
>
> Attached are two patches, against 2.4.3:
>
> - pcipool ... adds new DaveM-approved interfaces to help
> allocate "small" dma-consistent blocks; kmem_cache for pci.
> Includes documentation, including info from DaveM about
> exactly what memory can be DMA'd.
>
> - ohci ... works now on mips (verified by Steve Longerbeam
> at MontaVista) and sparc64 (by DaveM at RedHat), using
> pcipool for HC-private data structures and pci_map_single for
> the transfer buffers. (Still works on x86 ... :)
>
> Bonus feature, this means OHCI will work if folk configure
> automagic slab poisoning. Similar support is pending for
> the UHCI drivers (also using pcipool).
>
> This cleans up the biggest open issue I know about for OHCI;
> it still doesn't handle urb timeouts.
>
> - Dave
>
>
pcipool-0414.patch.bz2
ohci-0414.patch.bz2