All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [Bug] IXP425 and e1000 network driver
Date: Mon, 10 Aug 2009 09:44:42 +0200	[thread overview]
Message-ID: <20090810074442.59D41833DBD2@gemini.denx.de> (raw)
In-Reply-To: <4A7FB519.6040000@gmail.com>

Dear Ben,

In message <4A7FB519.6040000@gmail.com> you wrote:
> 
> I thought I brought this up already,  but maybe not.  Won't this break 
> PowerPC?  I'm pretty sure (value) != (cpu_to_le32(value)), isn't it?

Right.

> Isn't the problem that writel() and readl() aren't byte-swapped on BE ARM?

Right. writel() and readl() are not a good  choice  for  architecture
independent  code.  AFAIK  ioreadX(),  iowriteX()  are supposed to be
architecture independent I/O accessors,  but  unfortunately  not  all
architectures implement these yet.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Computers make excellent and efficient servants, but I have  no  wish
to  serve under them. Captain, a starship also runs on loyalty to one
man. And nothing can replace it or him.
	-- Spock, "The Ultimate Computer", stardate 4729.4

  reply	other threads:[~2009-08-10  7:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-20 18:31 [U-Boot] [Bug] IXP425 and e1000 network driver Stefan Althoefer
2009-04-03 21:18 ` Wolfgang Denk
2009-04-03 21:43   ` Ben Warren
2009-04-27 22:05     ` Wolfgang Denk
2009-08-05 20:26     ` Wolfgang Denk
2009-08-10  5:50       ` Ben Warren
2009-08-10  7:44         ` Wolfgang Denk [this message]
2009-05-02 11:56 ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-03  2:56   ` Ben Warren
2009-06-03 21:36     ` Wolfgang Denk

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=20090810074442.59D41833DBD2@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.