Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Michael L. Hitch <mhitch@netbsd.org>
List: source-changes
Date: 03/03/2000 21:42:56
Module Name:	syssrc
Committed By:	mhitch
Date:		Sat Mar  4 05:42:56 UTC 2000

Modified Files:
	syssrc/sys/arch/pmax/dev: sii_ds.c
	syssrc/sys/arch/pmax/pmax: autoconf.c
	syssrc/sys/arch/pmax/tc: asc_ioasic.c asc_pmaz.c

Log Message:
Fix boot device detection.  Device probes are not done when adapters are
configured, but after all adapters have been configured.  When multiple
adapters are present, only the last configured adapter could be matched
to the boot device slot.  The adapter attach routines now check if that
adapter slot matches the boot device slot and saves the softc pointer
for that controller.  Then when the disks are configured, dk_establish()
matches the appropriate controller.  Also change the rz boot device test
to include a check for the adapter so that it works when booting from a
disk on adapters other than the first one.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 syssrc/sys/arch/pmax/dev/sii_ds.c
cvs rdiff -r1.51 -r1.52 syssrc/sys/arch/pmax/pmax/autoconf.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/pmax/tc/asc_ioasic.c
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/pmax/tc/asc_pmaz.c

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