From: Matt Porter <mporter@kernel.crashing.org>
To: "Barbier, Renaud (GE Infrastructure)" <Renaud.Barbier@ge.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: 440GX: mapping PCI address
Date: Thu, 22 Jul 2004 09:20:40 -0700 [thread overview]
Message-ID: <20040722092040.B17187@home.com> (raw)
In-Reply-To: <45ABD2373C33C4459D42B40EC4F346F2024CA461@FTWMLVEM03.e2k.ad.ge.com>; from Renaud.Barbier@ge.com on Thu, Jul 22, 2004 at 09:43:26AM -0500
On Thu, Jul 22, 2004 at 09:43:26AM -0500, Barbier, Renaud (GE Infrastructure) wrote:
> Indeed, I get a virtual address out of mmap
> but my system freezes when I access it.
> I try to access the PCI external configuration registers:
>
> ptr=(unsigned int *)mmap(0, getpagesize(), PROT_READ | PROT_WRITE,
> MAP_SHARED, fd, 0x0ec00000);
>
>
> My kernel is 2.4.21 I would guess it should work from what I have seen regarding
> messages about 36-bit address on 440GX.
Check the archives, I've posted a URL for the 36-bit mmap patch
several times.
-Matt (one who reads archives and googles to get FAQs answered :P)
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2004-07-22 16:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-22 14:43 440GX: mapping PCI address Barbier, Renaud (GE Infrastructure)
2004-07-22 16:20 ` Matt Porter [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-07-27 18:20 Barbier, Renaud (GE Infrastructure)
2004-07-27 20:29 ` Matt Porter
2004-07-22 9:58 Barbier, Renaud (GE Infrastructure)
2004-07-22 11:47 ` Gerhard Jaeger
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=20040722092040.B17187@home.com \
--to=mporter@kernel.crashing.org \
--cc=Renaud.Barbier@ge.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
/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;
as well as URLs for NNTP newsgroup(s).