In article <4e74e4c3.9000...@gmail.com>, Grégoire Sutre <gregoire.su...@gmail.com> wrote: >On 09/01/2011 05:10 PM, Christos Zoulas wrote: >> Module Name: src >> Committed By: christos >> Date: Thu Sep 1 15:10:32 UTC 2011 >> >> Modified Files: >> src/sys/arch/i386/eisa: eisa_machdep.c >> src/sys/arch/i386/mca: mca_machdep.c >> src/sys/arch/x86/include: bus_private.h >> src/sys/arch/x86/isa: isa_machdep.c >> src/sys/arch/x86/pci: pci_machdep.c >> src/sys/arch/x86/x86: bus_dma.c >> src/sys/arch/xen/xen: isa_machdep.c xpci_xenbus.c >> src/sys/sys: bus.h >> >> Log Message: >> Add bus_dma overrides. From dyoung > >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. I've left tar files of stuff that I was playing with (starting from your git files) on http://www.netbsd.org/~christos/ christos