Subject: CVS commit: src/sys/arch/prep/prep
To: None <source-changes@NetBSD.org>
From: Jochen Kunz <jkunz@netbsd.org>
List: source-changes
Date: 01/31/2005 18:48:41
Module Name:	src
Committed By:	jkunz
Date:		Mon Jan 31 18:48:41 UTC 2005

Modified Files:
	src/sys/arch/prep/prep: ibm_7043_140.c machdep.c

Log Message:
Only a part of the PCI memory space is mapped via BAT registers in machdep.c.
Depending on where the firmware relocated the OpenPIC register window it may
be unmapped causing a kernel panic early in bootup when the OpenPIC is
initialized. So take care of mapping it if it is outside the already mapped
region. As mapiodev() requires UVM move this initialization to cpu_startup().


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/sys/arch/prep/prep/ibm_7043_140.c
cvs rdiff -r1.51 -r1.52 src/sys/arch/prep/prep/machdep.c

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