From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] net, fec_mxc: use mac address stored in env before looking in eeprom
Date: Thu, 25 Mar 2010 15:22:23 -0400 [thread overview]
Message-ID: <201003251522.24526.vapier@gentoo.org> (raw)
In-Reply-To: <20100325191110.97684E731ED@gemini.denx.de>
On Thursday 25 March 2010 15:11:10 Wolfgang Denk wrote:
> Mike Frysinger wrote:
> > > The question to me is why fec_probe() is called at all, even in cases
> > > where U-Boot does not use any network related commands. This is IMO
> > > wrong. Eventually somebody comes up with patches to fix this?
> >
> > the current fec_mxc driver has squashed the initialize and probe steps.
> > it should have half the things removed from probe and put into
> > initialize and then the call to probe moved to the init step.
>
> OK - but why should we always probe?
i merely mean that the structure set up and enetaddr seeding should be split
out into the initialize function. as for the contents of probe vs init and
how much the driver should "probe" the hw, i leave that up to the fec_mxc
maintainer -- i have no vested interest in this driver beyond the common eth
interface.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100325/9c8fb9f4/attachment.pgp
prev parent reply other threads:[~2010-03-25 19:22 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-24 11:56 [U-Boot] [PATCH] net, fec_mxc: use mac address stored in env before looking in eeprom Heiko Schocher
2010-03-24 12:35 ` Stefano Babic
2010-03-24 12:52 ` Detlev Zundel
2010-03-24 20:39 ` Mike Frysinger
2010-03-24 13:07 ` Heiko Schocher
2010-03-24 20:35 ` Mike Frysinger
2010-03-25 6:31 ` Heiko Schocher
2010-03-25 9:40 ` Wolfgang Denk
2010-03-25 13:16 ` Detlev Zundel
2010-03-25 14:02 ` Wolfgang Denk
2010-03-26 8:39 ` [U-Boot] Design principles (was: Re: [PATCH] net, fec_mxc: use mac address stored in env before looking in eeprom) Detlev Zundel
2010-03-26 10:40 ` Wolfgang Denk
2010-03-26 11:47 ` [U-Boot] Design principles Detlev Zundel
2010-03-26 12:38 ` Wolfgang Denk
2010-03-26 13:02 ` Detlev Zundel
2010-03-26 18:21 ` Wolfgang Denk
2010-03-27 7:32 ` Heiko Schocher
2010-03-27 10:21 ` Wolfgang Denk
2010-03-25 17:49 ` [U-Boot] [PATCH] net, fec_mxc: use mac address stored in env before looking in eeprom Mike Frysinger
2010-03-25 17:38 ` Mike Frysinger
2010-03-25 19:11 ` Wolfgang Denk
2010-03-25 19:22 ` Mike Frysinger [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=201003251522.24526.vapier@gentoo.org \
--to=vapier@gentoo.org \
--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