public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@mandrakesoft.com>
To: hiren_mehta@agilent.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: accessing on-card ram/rom
Date: Wed, 08 Nov 2000 18:06:22 -0500	[thread overview]
Message-ID: <3A09DC6E.682CEC54@mandrakesoft.com> (raw)
In-Reply-To: <FEEBE78C8360D411ACFD00D0B74779718808E5@xsj02.sjs.agilent.com>

hiren_mehta@agilent.com wrote:
> I looked at the IO-mapping.txt file. It says that
> on x86 architecture it should not make any difference.
> It also says that "on x86 it _is_ the same memory space. So
> on x86 it actually works to just dereference a pointer".

> Any inputs on this ?

Don't depend on architecture-specific guarantees like this, it could
change, etc.

Use ioremap, it's portable, it's standard, it's the way to go.  ;-)

	Jeff


-- 
Jeff Garzik             | "When I do this, my computer freezes."
Building 1024           |          -user
MandrakeSoft            | "Don't do that."
                        |          -level 1
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2000-11-08 23:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-08 22:57 accessing on-card ram/rom hiren_mehta
2000-11-08 23:06 ` Jeff Garzik [this message]
2000-11-09 19:27 ` Gérard Roudier
  -- strict thread matches above, loose matches on Subject: below --
2000-11-08 22:48 MEHTA,HIREN (A-SanJose,ex1)
2000-11-08 22:53 ` Jeff Garzik
2000-11-09 13:03 ` Richard B. Johnson

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=3A09DC6E.682CEC54@mandrakesoft.com \
    --to=jgarzik@mandrakesoft.com \
    --cc=hiren_mehta@agilent.com \
    --cc=linux-kernel@vger.kernel.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