Garrett D'Amore wrote:
> I think you mean "seg".
> 
> It sounds like you need to have an address that is aligned on a 64K
> boundary, right?  seg doesn't quite get you there, since it only ensures
> that a segment doesn't *cross* a 64K boundary.
> 
> I think you should set align to the appropriate alignment restriction,
> i.e. dma_attr_align = 65536.  That should do the trick for you.

Aha!

Question: so does dma_attr_align only affect how a DMA address is
aligned WRT to virtual memory? I had mistakenly thought this had some
impact on how data was written by the DMA engine.

Thanks!

Steve
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to