Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



On 09/18/2011 12:22 AM, Christos Zoulas wrote:

Should NULL be allowed as first argument of bus_dma_tag_create?
I would prefer for NULL to be allowed to make my life easier in
the drmgem port from OpenBSD.  But maybe requiring non-NULL would
make more sense if this shall be used from MI device drivers only?

I don't see why not, but still you need it for the scatter-gather
private data.

The sg private data can be placed in the bdt_ctx field.  At least,
it's the way I've updated the port today, but I don't pretend it's
the right way.

I've left tar files of stuff that I was playing with
(starting from your git files) on http://www.netbsd.org/~christos/

Thanks, I'll look at them.

Grégoire


Home | Main Index | Thread Index | Old Index