Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jul 2003 10:38:34 -0700 (PDT)
From:      Nate Lawson <nate@root.org>
To:        Scott Long <scottl@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: 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/
Message-ID:  <20030701103637.P87367@root.org>
In-Reply-To: <20030701155255.12BAB37B405@hub.freebsd.org>
References:  <20030701155255.12BAB37B405@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030701103637.P87367>