From owner-cvs-src@FreeBSD.ORG Tue Jul 1 11:13:48 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 4D57437B401; Tue, 1 Jul 2003 11:13:48 -0700 (PDT) Received: from magic.adaptec.com (magic-mail.adaptec.com [208.236.45.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E61E43FF3; Tue, 1 Jul 2003 11:13:47 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.11.6/8.11.6) with ESMTP id h61IDls06739; Tue, 1 Jul 2003 11:13:47 -0700 Received: from freebsd.org (hollin.btc.adaptec.com [10.100.253.56]) by redfish.adaptec.com (8.8.8p2+Sun/8.8.8) with ESMTP id LAA13324; Tue, 1 Jul 2003 11:13:45 -0700 (PDT) Message-ID: <3F01CEC7.6060606@freebsd.org> Date: Tue, 01 Jul 2003 12:11:19 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nate Lawson References: <20030701155255.12BAB37B405@hub.freebsd.org> <20030701103637.P87367@root.org> In-Reply-To: <20030701103637.P87367@root.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 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 18:13:48 -0000 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