From: Kim Phillips <kim.phillips@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] [83xx] Adds two more ethernet interface to 83xx
Date: Thu, 25 Sep 2008 15:45:46 -0500 [thread overview]
Message-ID: <20080925154546.4ff2cae2.kim.phillips@freescale.com> (raw)
In-Reply-To: <48DBF3B0.1090009@ruggedcom.com>
On Thu, 25 Sep 2008 16:25:20 -0400
richardretanubun <richardretanubun@ruggedcom.com> wrote:
> Kim Phillips wrote:
>
> > On Thu, 25 Sep 2008 08:53:24 -0400
> > richardretanubun <richardretanubun@ruggedcom.com> wrote:
> >> ---
> >
> > ..i.e, here.
> >
> Understood, thanks for the clarification, will heed for future patches.
excellent, thanks.
> > Having said that, this patch does transcend 4 subsystem areas, so if
> > Ben/gvb/WD want to ack/sign off on it, I can handle pushing this
> > upstream.
> >
> Thanks for the help, I realize this touches many subsystems, but I figured I start at the 83xx community
> since (I think) it is the most probable community to find platforms with these many eth interfaces.
fyi, 85xx does too (and they even have more interface connections on
their boards).
> >> diff --git a/README b/README
> >> index ccd839c..8802304 100644
> >> --- a/README
> >> +++ b/README
> >> @@ -1095,8 +1095,11 @@ The following options need to be configured:
> >>
> >> - Ethernet address:
> >> CONFIG_ETHADDR
> >> + CONFIG_ETH1ADDR
> >> CONFIG_ETH2ADDR
> >
> > hmm..historically ETHADDR has been the implicit ETH1ADDR. Did you mean
> > to s/ETHADDR/ETH1ADDR/ ? if so, you'd need a better justification and
> > a much larger patch. Otherwise, please don't do this; add a
> > CONFIG_ETH6ADDR below instead.
> >
> I will add CONFIG_ETH6ADDR below.
wait, no, CONFIG_ETH1ADDR is indeed valid and being used. It's good
you're adding this to the documentation to not confuse people like
myself - ack! and no need to add ETH6ADDR below either.
> >> +++ b/common/cmd_bdinfo.c
> >> @@ -91,11 +91,12 @@ int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
> >> print_str ("pevfreq", strmhz(buf, bd->bi_pevfreq));
> >> #endif
> >>
> >> +#if defined(CONFIG_HAS_ETH0)
> >> puts ("ethaddr =");
> >> for (i=0; i<6; ++i) {
> >> printf ("%c%02X", i ? ':' : ' ', bd->bi_enetaddr[i]);
> >> }
> >> -
> >> +#endif
> >
> > how is the above change relevant to the patch subject?
> Good catch, I lumped it together because I was in the code neighborhood
> got carried away in making the code uniform. I will pull it out of this patch.
>
> Is the idea of adding an #ifdef here valid though?
> If it is, I can submit a separate patch for it.
not sure; I seem to remember some code depending on its existence even
if the board didn't configure any interfaces, but, sure, send a patch
and I'm sure it'll get tested. I'm assuming none of this is for 2008.10
release, btw.
Kim
next prev parent reply other threads:[~2008-09-25 20:45 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-25 12:53 [U-Boot] [PATCH] [83xx] Adds two more ethernet interface to 83xx richardretanubun
2008-09-25 19:50 ` Kim Phillips
2008-09-25 20:25 ` richardretanubun
2008-09-25 20:45 ` Kim Phillips [this message]
2008-09-25 22:08 ` Wolfgang Denk
2008-09-25 21:44 ` [U-Boot] [PATCH v2] " richardretanubun
2008-09-25 22:24 ` Wolfgang Denk
2008-09-25 22:52 ` richardretanubun
2008-09-25 23:28 ` Wolfgang Denk
2008-09-29 12:43 ` richardretanubun
2008-09-29 13:07 ` Jerry Van Baren
2008-09-29 22:28 ` [U-Boot] [PATCH v3] " richardretanubun
2008-09-30 16:00 ` Kim Phillips
2008-09-30 15:58 ` Jerry Van Baren
2008-09-30 17:02 ` Ben Warren
2008-10-06 5:12 ` Ben Warren
2008-10-06 19:31 ` richardretanubun
2008-10-14 5:53 ` Ben Warren
2008-09-25 22:24 ` [U-Boot] [PATCH] " Wolfgang Denk
2008-09-25 20:42 ` Jerry Van Baren
2008-09-25 22:17 ` Wolfgang Denk
2008-09-26 3:44 ` Jerry Van Baren
2008-09-26 5:46 ` Wolfgang Denk
2008-09-26 7:21 ` Ben Warren
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=20080925154546.4ff2cae2.kim.phillips@freescale.com \
--to=kim.phillips@freescale.com \
--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