Subject: CVS commit: src/sys/arch/arc/jazz
To: None <source-changes@netbsd.org>
From: Izumi Tsutsui <tsutsui@netbsd.org>
List: source-changes
Date: 02/10/2003 16:58:39
Module Name:	src
Committed By:	tsutsui
Date:		Mon Feb 10 14:58:38 UTC 2003

Modified Files:
	src/sys/arch/arc/jazz: bus_dma_jazz.c

Log Message:
Changes needed to bus_dma'fy fdc_jazzio.c and asc.c:
 Modify jazz_bus_dmamap_create() to allocate jazz dmatlb
 if BUS_DMA_ALLOCNOW flag is specified and nsegment is 1.
 In this case, jazz_bus_dmamap_load() just call
 jazz_dmatlb_map_va() to map CPU VA space into jazzio
 VA space with pre-allocated TLB entries (like dma.c does).
 bus_dmamap_load_{mbuf,uio,raw} functions are not allowed
 if dmamap is created with BUS_DMA_ALLOCNOW flag.
 (i.e. ALLOCNOW is valid only for linear buffers.)


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/sys/arch/arc/jazz/bus_dma_jazz.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.