* [U-Boot-Users] [RFC][PATCH 0/1] New Ethernet initialization
@ 2008-03-22 2:46 Ben Warren
2008-03-22 9:49 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: Ben Warren @ 2008-03-22 2:46 UTC (permalink / raw)
To: u-boot
Hello,
By any measure, net/eth.c is messy and only gets worse as each new
Ethernet controller gets added. This patch moves initialization to
board code, providing the following benefits:
1. Board developers have more control over the ordering of Ethernet
interfaces on a board, and can easily instantiate several different
interfaces. This will make a PHY library easier to implement.
2. Ethernet controllers are decoupled from the net library.
3. /net/eth.c will become much smaller and easier to read.
I've initially implemented only on TSEC, because I have a couple of
different boards with this controller (MPC8349EMDS and MPC8555CDS) and
am able to test it. Note that in this patch the TSEC driver itself
isn't touched - only where it's initialized.
If feedback is positive, I'll port all other in-tree controllers and
boards and will put in a branch of the net tree. Hopefully volunteers
will line up to sanity test.
Please have a look and let me know your thoughts.
regards,
Ben
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] [RFC][PATCH 0/1] New Ethernet initialization
2008-03-22 2:46 [U-Boot-Users] [RFC][PATCH 0/1] New Ethernet initialization Ben Warren
@ 2008-03-22 9:49 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2008-03-22 9:49 UTC (permalink / raw)
To: u-boot
In message <47E472F7.7080508@gmail.com> you wrote:
>
> If feedback is positive, I'll port all other in-tree controllers and
> boards and will put in a branch of the net tree. Hopefully volunteers
> will line up to sanity test.
>
> Please have a look and let me know your thoughts.
I appreciate the approach.
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
Always try to do things in chronological order; it's less confusing
that way.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-03-22 9:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-22 2:46 [U-Boot-Users] [RFC][PATCH 0/1] New Ethernet initialization Ben Warren
2008-03-22 9:49 ` Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.