Subject: Re: README: Changes to PCI, ISA
To: None <email@example.com,>
From: Matthias Drochner <firstname.lastname@example.org>
Date: 11/28/1996 11:05:28
Excerpts from netbsd: 28-Nov-96 Re: README: Changes to PCI,.. Chris G
[attach PCI chipset before PCI devices?]
> In reality, it may actually make sense to do something like that,
> pre-probing the PCI bus via MD code. The problem is to work around
> some chipset bugs, what you really want to do is pass down to all
> drivers certain values (e.g. the max burst size they should enable).
A reasonable solution without too much code doubling
Extend the semantics of set_pci_isa_bridge_callback() to:
"call this function after the PCI bus is handled", allowing
not only PCI-ISA bridges to call this.
(simply queue the callbacks in the PCI bus driver)
This way, a particular PCI device driver could call a function
provided by the PCI bus driver which tells information not
available before all PCI devs are found.
This is after attach - late, but perhaps not too late for the driver.