Messages in this thread | | | Subject | Re: New PCI code for Alpha | Date | Mon, 24 Aug 1998 12:09:36 +0100 | From | Philip Blundell <> |
| |
> The principial problem are the old pcibios_*_config_* functions. We have >two possibilities: either rewrite all drivers to use pci_*_config_*() instead >(which would be an awful lot of work) or make them map the (bus,devfn) pair >to struct pci_dev and call pci_*_config_*() automatically. The latter approach >would give us slower backward-compatible functions, but it's probably feasible >since they are not performance critical and we can use simple hashing, so that >the overhead will be minimal.
Since pcibios_* functions are only called at driver initialisation we don't need to care how fast they are. And it would provide an incentive for driver authors to move to the new interface that way. :-)
p.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html
| |