Subject: CVS commit: src/sys/arch/x86/x86
To: None <source-changes@NetBSD.org>
From: YAMAMOTO Takashi <yamt@netbsd.org>
List: source-changes
Date: 06/12/2004 17:14:55
Module Name: src
Committed By: yamt
Date: Sat Jun 12 17:14:55 UTC 2004
Modified Files:
src/sys/arch/x86/x86: bus_dma.c
Log Message:
- introduce _bus_dmamap_load_paddr, which takes (paddr, size) and
add the range to the map, and use it for _bus_dmamap_load_{buffer,mbuf}.
- _bus_dmamap_load_mbuf: in the case of M_EXT_PAGES, deal with vm_pages
directly rather than doing pmap_extract on given kva.
as a side effect, do a segment coalescing and boundary checks for mbufs.
ok'ed by Frank van der Linden and Jason Thorpe on tech-kern@.
To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/sys/arch/x86/x86/bus_dma.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.