Re: devfs

Michael Neuffer (neuffer@goofy.zdv.Uni-Mainz.de)
Wed, 14 Jan 1998 00:06:22 +0100 (MET)


On Tue, 13 Jan 1998, Leonard N. Zubkoff wrote:
> We could for example make the SCSI drivers that support PCI, register
> callbacks with the PCI code. Those functions would then in turn be called
> in the correct order with the probed device information.
>
> But this wouldn't be completely right either. If we want to recognize SCSI
> host adapters in the same order they are recognized by the system (e.g. for
> compatibility with other operating systems running on the same system), we need
> to recognize that fact that the BIOS on most boards will probe for and attach
> all the host adapters it knows how to handle. This will cause problems with
> the above scheme when different brands or models of host adapter are present in
> the same system. Unfortunately, there's no way of reliably predicting which of
> the host adapter BIOS extensions will get control first.
>
> Ultimately, I think we'll need to provide a way for the user to specify the
> driver probe order, rather than editing hosts.c as is necessary now.

I think the default order should be the order in which they apear in the
PCI device space with an override possibility for the user.

Mike