Linuxppc-dev Digest, Vol 37, Issue 84

lakshminarayana babu babu.pci81 at gmail.com
Thu Sep 13 15:23:57 EST 2007


sir,
   can you plese suggest any book for pci driver writing...At present i am
studying linux device drivers by alexandrorubini

On 9/13/07, Olof Johansson <olof at lixom.net> wrote:
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20070913/2aa5ccff/attachment.htm>


More information about the Linuxppc-dev mailing list