Re: New PCI code for Alpha

David S. Miller (davem@dm.cobaltmicro.com)
Mon, 24 Aug 1998 17:33:14 -0700


Date: Mon, 24 Aug 1998 12:36:46 +0200
From: Martin Mares <mj@ucw.cz>

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.

Please, if you ever make changes along these lines, keep in your mind
the concerns of people such as Leonard Zubkoff. :-)

Later,
David S. Miller
davem@dm.cobaltmicro.com

-
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