Linuxppc-dev Digest, Vol 37, Issue 84

Olof Johansson olof at lixom.net
Thu Sep 13 14:40:11 EST 2007


On Thu, Sep 13, 2007 at 10:01:36AM +0530, lakshminarayana babu wrote:
> i am new to the linux.....can you tell me how to access the pci
> configuration space using ioremap function...but  it is implicit function
> declaration...

That is architecture and platform dependent. Some platforms don't even
have a memory-mappable interface to configuration space.

Instead, please use the abstracted config access functions that the
kernel provides. (pci_read_config_word and friends).


-Olof



More information about the Linuxppc-dev mailing list