Subject: CVS commit: src/sys/arch/sgimips
To: None <source-changes@NetBSD.org>
From: Christopher SEKIYA <sekiya@netbsd.org>
List: source-changes
Date: 01/12/2004 03:30:51
Module Name:	src
Committed By:	sekiya
Date:		Mon Jan 12 03:30:51 UTC 2004

Modified Files:
	src/sys/arch/sgimips/dev: crime.c
	src/sys/arch/sgimips/include: bus.h
	src/sys/arch/sgimips/sgimips: bus.c ip32.c

Log Message:
CRIME revision 1.1 has a bug that affects PIO operations to/from the MACE.
The recommended workaround is a 5-10ms delay before and after accesses.
Therefore, move the affected bus_space_* operations from bus.h to bus.c
and special-case MACE accesses.

CRIME accesses are not affected, so introduce SGIMIPS_BUS_SPACE_CRIME and
use it as the CRIME tag.

My ip32 seems a little bit happier with this change, and my ip22 didn't
notice the change.


To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 src/sys/arch/sgimips/dev/crime.c
cvs rdiff -r1.10 -r1.11 src/sys/arch/sgimips/include/bus.h
cvs rdiff -r1.22 -r1.23 src/sys/arch/sgimips/sgimips/bus.c \
    src/sys/arch/sgimips/sgimips/ip32.c

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