Date: Sat, 3 Jul 2004 18:18:36 +0000 (UTC) From: Scott Long <scottl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 busdma_machdep.c Message-ID: <200407031818.i63IIanX092599@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407031818.i63IIanX092599>