All of lore.kernel.org
 help / color / mirror / Atom feed
From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] UEC PHY: Speed up initial PHY neg.
Date: Thu, 12 Aug 2010 14:58:47 +0200	[thread overview]
Message-ID: <m2iq3gxa0o.fsf@ohwell.denx.de> (raw)
In-Reply-To: <1281451009-26015-1-git-send-email-Joakim.Tjernlund@transmode.se> (Joakim Tjernlund's message of "Tue, 10 Aug 2010 16:36:49 +0200")

Hi Jocke,

> Instead of always performing an autoneg, check if the PHY
> already has a link and if it matches one of the requested
> modes. Initially only 100MbFD is optimized this way.

Isn't it about time that we think about _not_ stopping the ethernet
device after every transaction?

Why not initialize it for the first transfer and stop it once we boot a
kernel?  For USB for example we do just that.

Sorry for not providing a concrete patch, but I felt it is worthwhile to
throw that thought into the discussion as it pops up more and more often
nowadays.  For example usb-cdc which currently deregisters the network
device on the host side after _every_ transfer....

Cheers
  Detlev

-- 
You live and learn
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de

  parent reply	other threads:[~2010-08-12 12:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-10 14:36 [U-Boot] [PATCH] UEC PHY: Speed up initial PHY neg Joakim Tjernlund
2010-08-10 20:23 ` Mike Frysinger
2010-08-11  6:20   ` Joakim Tjernlund
2010-08-12 12:58 ` Detlev Zundel [this message]
2010-08-12 14:09   ` Joakim Tjernlund
2010-08-13  8:20     ` Detlev Zundel
2010-08-13 13:18       ` Joakim Tjernlund
2010-08-23  7:08       ` Ben Warren
2010-08-23  7:53         ` Joakim Tjernlund
2010-08-23 14:12           ` Ben Warren
2010-08-23 14:53             ` Joakim Tjernlund
2010-08-23 15:19         ` [U-Boot] Start/stop of network devices (was: Re: [PATCH] UEC PHY: Speed up initial PHY neg.) Detlev Zundel
2010-08-24 18:35           ` Joakim Tjernlund
2010-09-13  4:18 ` [U-Boot] [PATCH] UEC PHY: Speed up initial PHY neg 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=m2iq3gxa0o.fsf@ohwell.denx.de \
    --to=dzu@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.