Paul Durrant wrote:
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.

Only if you set sgllen to 1 :-)



MRJ

_______________________________________________
driver-discuss mailing list
driver-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to