From owner-cvs-src@FreeBSD.ORG Sat Jul 3 18:18:36 2004 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 C616616A4CE; Sat, 3 Jul 2004 18:18:36 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C029843D4C; Sat, 3 Jul 2004 18:18:36 +0000 (GMT) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i63IIaYl092600; Sat, 3 Jul 2004 18:18:36 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i63IIanX092599; Sat, 3 Jul 2004 18:18:36 GMT (envelope-from scottl) Message-Id: <200407031818.i63IIanX092599@repoman.freebsd.org> From: Scott Long Date: Sat, 3 Jul 2004 18:18:36 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/i386 busdma_machdep.c 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: Sat, 03 Jul 2004 18:18:36 -0000 scottl 2004-07-03 18:18:36 UTC FreeBSD src repository Modified files: sys/i386/i386 busdma_machdep.c Log: Commit the first of half of changes that allow busdma to transparently honor the alignment and boundary constraints in the dma tag when loading buffers. Previously, these constraints were only honored when allocating memory via bus_dmamem_alloc(). Now, bus_dmamap_load() will automatically use bounce buffers when needed. Also add a set of sysctls to monitor the global busdma stats. These are: hw.busdma.free_bpages hw.busdma.reserved_bpages hw.busdma.active_bpages hw.busdma.total_bpages hw.busdma.total_bounced hw.busdma.total_deferred Revision Changes Path 1.57 +47 -11 src/sys/i386/i386/busdma_machdep.c