Subject: Re: CVS commit: syssrc
To: None <mhitch@netbsd.org>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-pmax
Date: 03/04/2000 10:27:24
On Fri, 3 Mar 2000 21:42:56 -0800 (PST) 
 "Michael L. Hitch" <mhitch@netbsd.org> wrote:

 > 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.

This *should* be done with the device_register() facility.

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>