public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Olof Johansson <olof@lixom•net>
To: lakshminarayana babu <babu.pci81@gmail•com>
Cc: linuxppc-dev@ozlabs•org
Subject: Re: Linuxppc-dev Digest, Vol 37, Issue 84
Date: Wed, 12 Sep 2007 23:40:11 -0500	[thread overview]
Message-ID: <20070913044011.GA7706@lixom.net> (raw)
In-Reply-To: <a38e30640709122131g14642e9pa599681551ed9c23@mail.gmail.com>

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

  reply	other threads:[~2007-09-13  4:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2011.1189652741.2970.linuxppc-dev@ozlabs.org>
2007-09-13  4:31 ` Linuxppc-dev Digest, Vol 37, Issue 84 lakshminarayana babu
2007-09-13  4:40   ` Olof Johansson [this message]
2007-09-13  5:23     ` lakshminarayana babu
2007-09-13  5:58       ` Kumar Gala

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070913044011.GA7706@lixom.net \
    --to=olof@lixom$(echo .)net \
    --cc=babu.pci81@gmail$(echo .)com \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox