Subject: Re: OFW based PCI probe routine.
To: matthew green <mrg@eterna.com.au>
From: Chris G. Demetriou <cgd@sibyte.com>
List: tech-kern
Date: 02/12/2001 15:49:56
mrg@eterna.com.au (matthew green) writes:
> here's a patch that changes the pci bus probe routine to use the OFW device
> tree.

Please don't do this.

(1) if you need to do a "dev OK" function, generalize pci_maxdevs() or
whatever it's called and then use that.

(2) if you want to set ordering, define a new MD callback to do it.


We should avoid pushing random firmware support code throughout our
driver trees.  As far as the MI NetBSD kernel is concerned, except for
MI parts specifically there in support of e.g. OFW devices, it
shouldn't know about OFW.



cgd