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

Nate Lawson nate at root.org
Tue Jul 1 10:38:35 PDT 2003


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


More information about the cvs-src mailing list