All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] PHY library?
Date: Wed, 21 Nov 2007 16:08:22 +0100	[thread overview]
Message-ID: <200711211608.23262.sr@denx.de> (raw)
In-Reply-To: <47444864.30509@qstreams.com>

On Wednesday 21 November 2007, Ben Warren wrote:
> > I have a new PHY that needs to be handled in U-boot. Now this PHY is used
> > in two differenet ports - TSEC & UCC (it's an MPC8568 board). The problem
> > is that now I need to duplicate the handling of this PHY in both the TSEC
> > and UCC drivers. Wouldn't it be better if U-boot had an indepedent PHY
> > library (as in Linux) used by the different Ethernet drivers?
> > Regards,
> > David.
>
> Absolutely. In fact, I'm working on one right now...

That's great news. Thanks.

> Access methods to 
> PHYs are currently common (miiphybb.c and miiphyutil.c) but there's no
> reason why the TSEC, UCC and other drivers should have hard wiring for
> individual PHY devices. Any design suggestions you or others have are
> welcome.

Not really. Just "Go Ben, go go go ...!" ;)

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2007-11-21 15:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-21 12:51 [U-Boot-Users] PHY library? David Saada
2007-11-21 13:29 ` Haavard Skinnemoen
2007-11-21 15:01 ` Ben Warren
2007-11-21 15:08   ` Stefan Roese [this message]
2007-11-21 16:38   ` Jon Loeliger
2007-11-21 16:49     ` Ben Warren
2007-11-21 20:46       ` Andy Fleming

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=200711211608.23262.sr@denx.de \
    --to=sr@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 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.