From: Scott Wood <scottwood@freescale.com>
To: Yoni Levin <yoni.l@slyde-tech.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: how the bytes ordered in mpc8313
Date: Wed, 08 Aug 2007 11:49:29 -0500 [thread overview]
Message-ID: <46B9F419.7060202@freescale.com> (raw)
In-Reply-To: <CE785D12544843B49C5D1315CAE61C23.MAI@mail.livedns.co.il>
Yoni Levin wrote:
> I have mpc83xx,
>
> I saw that I need to use swab32 to any read\write operation from registers,
Only little endian registers (such as PCI).
> Why in the mpc8313 reference in registers description some bits look like
> 31,30,29,.,3,2,1,0
>
> And some: 0,1,2,3.,30,31
Most PowerPC documentation numbers bits in the same endianness as the
bytes in the register.
> Is it just mistake? Or some registers are different then other?
I consider big-endian bit numbering to be a mistake, but good luck
getting them to fix it. :-)
-Scott
next prev parent reply other threads:[~2007-08-08 16:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-08 15:26 how the bytes ordered in mpc8313 Yoni Levin
2007-08-08 16:49 ` Scott Wood [this message]
2007-08-08 16:55 ` Scott Wood
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=46B9F419.7060202@freescale.com \
--to=scottwood@freescale.com \
--cc=linuxppc-embedded@ozlabs.org \
--cc=yoni.l@slyde-tech.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;
as well as URLs for NNTP newsgroup(s).