From: "Rob Taylor" <robt@flyingpig.com>
To: <linuxppc-embedded@lists.linuxppc.org>
Subject: RE: switching linux kernels
Date: Wed, 27 Sep 2000 10:31:56 +0100 [thread overview]
Message-ID: <001801c02865$c71c1c10$b400a8c0@eventhorizon> (raw)
In-Reply-To: <39D18CAD.FDC505E0@mvista.com>
> Please don't use in/out macros on PowerPC....especially on 8xx their
> underlying address arithmetic will likely break more things that it
> fixes.
> Use memory mapped I/O (readb/writeb, etc.) and ioremap().....
presumably this is due to int in/out macros adding _IO_BASE to the pointer? So
am I right in thinking that it makes sense to use in/out for ISA accesses (if
_IO_BASE is set correctly for your platform) and readb/writeb/.. for the rest of
your memory mapped registers?
Thanks,
Rob Taylor
Flying Pig Systems
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-09-27 9:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-26 22:34 switching linux kernels Julia Elbert
2000-09-27 0:40 ` Graham Stoney
2000-09-27 5:59 ` Dan Malek
2000-09-27 6:41 ` Graham Stoney
2000-09-27 9:31 ` Rob Taylor [this message]
2000-09-27 16:03 ` Dan Malek
2000-10-06 16:50 ` Rob Taylor
-- strict thread matches above, loose matches on Subject: below --
2000-09-26 18:24 Julia Elbert
2000-09-26 16:59 Julia Elbert
2000-09-26 0:02 Julia Elbert
2000-09-26 0:25 ` Graham Stoney
2000-09-26 15:54 ` Dan Malek
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='001801c02865$c71c1c10$b400a8c0@eventhorizon' \
--to=robt@flyingpig.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).