lkml.org 
[lkml]   [1998]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: New PCI code for Alpha
Date
From
>   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

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:1.547 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site