Andrew Gallatin wrote:
Beware: it is code written in a mailer, and I have no idea how you'd determine the iommu page size. Worst case, you could probably just ifdef it to 8192 for sparc, and 4096 for x86.
In the presence of an IOMMU there's surely no need for scatter/gather. The ddi_dma_addr_bind_handle() call should always give you exactly 1 cookie.
Paul -- =================================== Paul Durrant http://www.linkedin.com/in/pdurrant =================================== _______________________________________________ driver-discuss mailing list driver-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/driver-discuss