Subject: Re: looking for devices on PCI bus
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 05/03/2001 20:51:32
On Thu, May 03, 2001 at 11:17:31AM -0700, Jonathan Stone wrote:
> [...]
> 
> How do other OSes do with such mis-designed hardware?
> Linux, FreeBSD, OpenBSD in particular?

They look at the pcib device ID
This is why I need to scan the PCI bus from the pciide driver.
As I said before there could be a hook in the pcib driver for this but:
- this makes pciide relies on pcib (i.e. a kernel without pcib will either
  not compile, or not work with VIA controllers)
- pcib is MD
- if for whatever reasons pciide is probed before pcib we loose

--
Manuel Bouyer <bouyer@antioche.eu.org>
--