Subject: Re: OFW based PCI probe routine.
To: matthew green <firstname.lastname@example.org>
From: Chris G. Demetriou <email@example.com>
Date: 02/12/2001 15:49:56
firstname.lastname@example.org (matthew green) writes:
> here's a patch that changes the pci bus probe routine to use the OFW device
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.