public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3] net: ll_temac: Add LL TEMAC driver to u-boot
Date: Mon, 05 Sep 2011 10:00:08 +0200	[thread overview]
Message-ID: <20110905080008.477F7140ABDF@gemini.denx.de> (raw)
In-Reply-To: <4E647722.9080602@monstr.eu>

Dear Michal Simek,

In message <4E647722.9080602@monstr.eu> you wrote:
> 
> > I can only offer you a solution that seems acceptable to me.
> 
> seems?

Well, yes.  As mentioned, I'm not happy with the propsal myself, but
as long as I cannot come up with any better one it would be unjust to
demand it from you.

> >>   This obviously doesn't mix well.  If there is no better way
> >>> of doing this, I'd still prefer deriving the index from the offset in
> >>> a struct than deriving the address from an offset - the intention is
> >>> to enable the compiler to perform type checking, which is impossible
> >>> with a typeless base+offset address.
> >> I understand the reasons for that but I can't see any elegant way how to do so.
> > 
> > Well, I just proposed one way - not elegant indeed, but I'd be willing
> > to swallow that.
> 
> You mean that array of structs, right?

No. I mean the text above: I'd rather derive the index from the
offset in a struct instead of deriving the address from an offset
(but I have to admit that I don't see an elegant way to implement this
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
Why can you only have two doors on a chicken coop? If it had four  it
would be a chicken sedan.

      reply	other threads:[~2011-09-05  8:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-01 11:39 [U-Boot] [PATCH v3] net: ll_temac: Add LL TEMAC driver to u-boot Michal Simek
2011-09-01 11:39 ` [U-Boot] [PATCH v2] net: axi_ethernet: Add " Michal Simek
2011-09-01 13:17   ` Wolfgang Denk
2011-09-02  9:02     ` Michal Simek
2011-09-01 13:06 ` [U-Boot] [PATCH v3] net: ll_temac: Add LL TEMAC " Wolfgang Denk
2011-09-01 13:17   ` Michal Simek
2011-09-01 14:09     ` Wolfgang Denk
2011-09-02  6:39       ` Michal Simek
2011-09-02  8:19         ` Wolfgang Denk
2011-09-02  8:40           ` Michal Simek
2011-09-02  9:24             ` Wolfgang Denk
2011-09-02 10:38               ` Michal Simek
2011-09-02 12:53                 ` Wolfgang Denk
2011-09-02 13:29                   ` Michal Simek
2011-09-02 14:08                     ` Wolfgang Denk
2011-09-05  7:15                       ` Michal Simek
2011-09-05  8:00                         ` Wolfgang Denk [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=20110905080008.477F7140ABDF@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox