cvs commit: src/sys/alpha/alpha busdma_machdep.csrc/sys/alpha/include busdma_machdep.c src/sys/amd64/include bus_dma.h src/

Scott Long scottl at freebsd.org
Tue Jul 1 11:13:48 PDT 2003


Nate Lawson wrote:
> On Tue, 1 Jul 2003, Scott Long wrote:
> 
>>+/*
>>+ * dflt_lock should never get called.  It gets put into the dma tag when
>>+ * lockfunc == NULL, which is only valid if the maps that are associated
>>+ * with the tag are meant to never be defered.
>>+ * XXX Should have a way to identify which driver is responsible here.
>>+ */
>>+static void
>>+dflt_lock(void *arg, bus_dma_lock_op_t op)
>>+{
>>+#ifdef INVARIANTS
>>+	panic("driver error: busdma dflt_lock called");
>>+#else
>>+	printf("DRIVER_ERROR: busdma dflt_lock called\n");
>>+#endif
>>+}
>>+
> 
> 
> backtrace()?
> 
> -Nate
> 

That won't be much help because this is invoked from busdma_swi, which
of course runs in an ithread.

Scott



More information about the cvs-src mailing list