Subject: CVS commit: src/sys/arch/sparc64/sparc64
To: None <source-changes@NetBSD.org>
From: matthew green <mrg@netbsd.org>
List: source-changes
Date: 01/14/2008 00:43:55
Module Name:	src
Committed By:	mrg
Date:		Mon Jan 14 00:43:55 UTC 2008

Modified Files:
	src/sys/arch/sparc64/sparc64: machdep.c

Log Message:
implement bus_dmamem_mmap() for sparc64.  this is copied from the x86
code and then a single line adjusted to make it look identical to the
openbsd sparc64 version, who provided inspiration for this.

NOTE: not really tested yet with a real device, but, it can't really
be worse than panic() in a device mmap()...


To generate a diff of this commit:
cvs rdiff -r1.213 -r1.214 src/sys/arch/sparc64/sparc64/machdep.c

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