Subject: Re: Linuxppc-dev Digest, Vol 37, Issue 84

From: Olof Johansson <[email-masked]>
Date: Wed, 12 Sep 2007 23:40:11 -0500

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