From owner-cvs-src@FreeBSD.ORG Tue Jul 1 10:38:35 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED6FA37B405 for ; Tue, 1 Jul 2003 10:38:34 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 775F54402A for ; Tue, 1 Jul 2003 10:38:33 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 87471 invoked by uid 1000); 1 Jul 2003 17:38:34 -0000 Date: Tue, 1 Jul 2003 10:38:34 -0700 (PDT) From: Nate Lawson To: Scott Long In-Reply-To: <20030701155255.12BAB37B405@hub.freebsd.org> Message-ID: <20030701103637.P87367@root.org> References: <20030701155255.12BAB37B405@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@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/ X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jul 2003 17:38:35 -0000 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