On Tue, May 15, 2007 at 06:54:16AM -0500, James Bottomley wrote: > Er ... I really hope not ... that's exactly how the parisc iommu > platform code works ... and why I designed the generic dma mapping this > way. The key thing parisc needed was the ability to walk up different > busses until it found the iommu (for example the pci bus -> dino -> GSC > -> IOMMU) which it does by traversing the dev->parent; However, I didn't > mandate working this way for other architectures. Well, the NACK was not for the implementation details but rather the exported and documented interface. IIRC the rationale was that Dave wants to keep the sparc implementation super-optimized and avoid indirection. If it was up to me I'd have something like the parisc implementation in generic code. - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html