On 11/24/2010 8:14 PM, Edward Shu wrote:
>
> I am not BSD expert. In Solaris, the usual DMA resource
> operations are ddi_dma_alloc_handle(), ddi_dma_mem_alloc(),
> ddi_dma_addr_bind_handle().
>> In particular, how can I determine the correct values for the
>> Solaris ddi_dma_attr structure? I don't have any documenation for
>> the device.
>>
> Actually, there are some introduction to this structure in writing
> device driver. See http://dlc.sun.com/pdf/816-4854/816-4854.pdf
> Chapter 9, ddi_dma_attr Structure.
>
Yes I've read that chapter and I understand what info I need to
populate it with. It's just that without  any documentation for the
hardware, I'm at a loss for what the correct values would be. So I'm
left to trying to 'devine' them from the BSD code.

   -Kyle


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

Reply via email to