From: Roland Dreier <rdreier@cisco.com>
To: Rolf Eike Beer <eike-kernel@sf-tec.de>
Cc: "yogeshwar sonawane" <yogyas@gmail.com>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Accessing 64-bit BARs
Date: Thu, 04 Oct 2007 08:26:12 -0700 [thread overview]
Message-ID: <adasl4qdhpn.fsf@cisco.com> (raw)
In-Reply-To: <200710041440.15464.eike-kernel@sf-tec.de> (Rolf Eike Beer's message of "Thu, 4 Oct 2007 14:40:10 +0200")
> You should use pci_iomap() to get an access pointer to the BAR. After this you
> can access the memory with ioread*() and iowrite*(). See "man pci_iomap(9)"
> if you build kernel manpages.
That works fine, but ioremap() and readl()/writel() is also perfectly
fine for regions that you know are always MMIO.
- R.
next prev parent reply other threads:[~2007-10-04 15:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-04 8:53 Accessing 64-bit BARs yogeshwar sonawane
2007-10-04 12:40 ` Rolf Eike Beer
2007-10-04 15:26 ` Roland Dreier [this message]
2007-10-05 3:57 ` yogeshwar sonawane
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=adasl4qdhpn.fsf@cisco.com \
--to=rdreier@cisco.com \
--cc=eike-kernel@sf-tec.de \
--cc=linux-kernel@vger.kernel.org \
--cc=yogyas@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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