From: Matej Kupljen <matej.kupljen@ultra.si>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] trizeps2 SMC lan91c96 (smc9111.c comparison)
Date: Fri, 15 Apr 2005 11:44:35 +0200 [thread overview]
Message-ID: <1113558275.22586.5.camel@orionlinux.starfleet.com> (raw)
In-Reply-To: <ORION1OzNCWbzwWJv3z00000154@orion1.ariodata.com>
Hi
> > LAN91C96: memory allocation, try 1 failed ...
> > LAN91C96: memory allocation, try 2 failed ...
<...snip...>
> + SMC_DEV_NAME, try,
> + status, SMC_inb (AR_REG));
I remember I had problems with SMC_inb macro (defined in h file).
I tracked it down to be a compiler BUG (or maybe binutils), because it
did not calculate the right address for the offset. I solved it
by replacing this macro with much simpler version. Then I upgraded
my compiler (I cannot remember the compiler version) and I could use
"standard" macro.
Check the generated ASM, or use debugger (BDI2000, if you have one) to
see if the code is O.K.
Hope this helps.
Matej
prev parent reply other threads:[~2005-04-15 9:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-14 19:47 [U-Boot-Users] trizeps2 SMC lan91c96 (smc9111.c comparison) David Adair
2005-04-15 9:44 ` Matej Kupljen [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=1113558275.22586.5.camel@orionlinux.starfleet.com \
--to=matej.kupljen@ultra.si \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox