Subject: CVS commit: src/sys/arch/sparc
To: None <source-changes@NetBSD.org>
From: Paul Kranenburg <pk@netbsd.org>
List: source-changes
Date: 06/27/2004 18:24:47
Module Name:	src
Committed By:	pk
Date:		Sun Jun 27 18:24:47 UTC 2004

Modified Files:
	src/sys/arch/sparc/dev: obio.c sbus.c
	src/sys/arch/sparc/include: autoconf.h bus.h
	src/sys/arch/sparc/sparc: cpuunit.c machdep.c

Log Message:
Always use `full bus space'. In order to implement this more efficiently,
require that all bus tags have pointers to bus_space_read/write functions,
i.e. no run-time hunting for the first "upstream" implementation.
Since this changes the way bus tags should be constructed it makes sense
to do the same thing for the rest of the bus space methods.
So, now bus space tags are generally constructed by copying the parent's bus
tag and then overriding the methods that the bus driver needs to handle,
instead of starting with an empty bus tag and fiiling in only the fields needed.


To generate a diff of this commit:
cvs rdiff -r1.64 -r1.65 src/sys/arch/sparc/dev/obio.c
cvs rdiff -r1.60 -r1.61 src/sys/arch/sparc/dev/sbus.c
cvs rdiff -r1.37 -r1.38 src/sys/arch/sparc/include/autoconf.h
cvs rdiff -r1.40 -r1.41 src/sys/arch/sparc/include/bus.h
cvs rdiff -r1.10 -r1.11 src/sys/arch/sparc/sparc/cpuunit.c
cvs rdiff -r1.248 -r1.249 src/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.