From: Robert Staven <robertst@tihlde.org>
To: linuxppc-embedded@ozlabs.org
Subject: Re: Getting the LED light up... (A&M Rattler 8250PCI linux 2.6.13-AM)
Date: Mon, 05 Mar 2007 12:21:26 +0100 [thread overview]
Message-ID: <45EBFD36.1040801@tihlde.org> (raw)
In-Reply-To: <200703050927.05201.laurent.pinchart@technotrade.biz>
>> #define P0 0x8000 // P0 bit in registers
>> #define P1 0x4000 // P1 bit in registers
>> #define P2 0x2000 // P2 bit in registers
>
>
> Shouldn't that be
> #define P0 0x80000000 // P0 bit in registers
> #define P1 0x40000000 // P1 bit in registers
> #define P2 0x20000000 // P2 bit in registers
> ?
<shamed>Hmmm, next time I'll better use my calculator figuring out how
many digits there is in a 32bit hex number... :P </shamed>
Many thanks for the assistance Laurent! (the LED came to life)
And you all may have a good long laugh of me now, I deserve it! :)
br
Robert
prev parent reply other threads:[~2007-03-05 11:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-04 11:50 Getting the LED light up... (A&M Rattler 8250PCI linux 2.6.13-AM) Robert Staven
2007-03-05 8:27 ` Laurent Pinchart
2007-03-05 11:21 ` Robert Staven [this message]
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=45EBFD36.1040801@tihlde.org \
--to=robertst@tihlde.org \
--cc=linuxppc-embedded@ozlabs.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).