Subject: Re: looking for devices on PCI bus
To: Matthias Drochner <M.Drochner@fz-juelich.de>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 05/02/2001 18:25:31
On Wed, May 02, 2001 at 05:41:10PM +0200, Matthias Drochner wrote:
> If the PCI-ISA bridge is in the same chipset, its bus/device/function
> is well known, so the whole thing is not needed.
> I don't know if this applies to this particular chipset, but it might
> be even dangerous to use such a find_device finction at this point -
> there are systems with two PCI-ISA bridges (laptop with docking station).
> 
> (And: Adding such a pseudo-generic function implies the danger thit it will
> actually be used, eg for LKMs, which would be a gross violation of our
> autoconfiguration philosophy. That's what we have xxxmatch() functions for.
> But this off-topic, I know...)

The way PCI lkms are done for now is to duplicate pci_probe_bus() (and
pci_softc), which is completely broken.
Can we dynamically register xxxmatch() functions ?

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--