Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Paul Kranenburg <pk@netbsd.org>
List: source-changes
Date: 05/23/2000 04:39:59
Module Name:	syssrc
Committed By:	pk
Date:		Tue May 23 11:39:59 UTC 2000

Modified Files:
	syssrc/sys/arch/sparc/include: bus.h
	syssrc/sys/arch/sparc/sparc: iommu.c machdep.c

Log Message:
Simplify the bus_dma(9) implementation:

- the `alignment' and `boundary' arguments in bus_dmamem_alloc() only
  serve as hints on how to break up a DMA transaction into chunks
  when necessary; it is not necessary on sparc DVMA hardware.

- exclusively use the VM page size (i.e. PAGE_SIZE et.al.) when computing
  resource allocations.

- remember the size of DVMA resource allocations in the private `_ds_sgsize'
  field in a dma segment descriptor.


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 syssrc/sys/arch/sparc/include/bus.h
cvs rdiff -r1.40 -r1.41 syssrc/sys/arch/sparc/sparc/iommu.c
cvs rdiff -r1.164 -r1.165 syssrc/sys/arch/sparc/sparc/machdep.c

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