All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [RFC][PATCH 0/1] New Ethernet initialization
Date: Fri, 21 Mar 2008 22:46:15 -0400	[thread overview]
Message-ID: <47E472F7.7080508@gmail.com> (raw)

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

             reply	other threads:[~2008-03-22  2:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-22  2:46 Ben Warren [this message]
2008-03-22  9:49 ` [U-Boot-Users] [RFC][PATCH 0/1] New Ethernet initialization Wolfgang Denk

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=47E472F7.7080508@gmail.com \
    --to=biggerbadderben@gmail.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 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.