All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] 83xx, uec: adjust enet_interface settings on the fly.
Date: Fri, 08 Jan 2010 09:12:29 +0100	[thread overview]
Message-ID: <4B46E8ED.1040008@denx.de> (raw)
In-Reply-To: <D7CCA83BB0796C49BC0BB53B6AB120898BE324@zch01exm21.fsl.freescale.net>

Hello Liu,

Liu Dave-R63238 wrote:
>>> I don't remember why I added the eth_type==GIGA_ETH condition.
>>> If it is possible, please refactor it as Kim.
>> Hmm.. while looking at this code, a question comes in mind:
>> Did this code (eth_type==GIGA_ETH) work correctly?
> 
> Yes, It worked correctly. But later there are lots of change,
> I'm not sure if it is correct right now. 
> 
>> I see there is a switching possible from 1000 to 100 or 10, 
>> but never back to 1000, because the 1000 case did nothing ...?
>> Is this intentionally?
> 
> The code was assuming the initial speed is 1000Mbps, so
> the 1000 case did nothing. 

Hmm.. but what happend, if you connect a 100Mbps, and then
back to the 1000Mpbs?

>> Also uec->uec_info->enet_interface is never updated, which 
>> should be done ... or?
> 
> IIRC, the enet_interface was designed for interface type according
> to board design. So it was placed on uec_info, it is never updated.
> eg: SGMII if board is SGMII connection
>       RGMII if board is RGMII connection...
>       RMII if board is RMII....

Ah, OK, thanks.

bye
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  reply	other threads:[~2010-01-08  8:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-07  8:01 [U-Boot] 83xx, uec: adjust enet_interface settings on the fly Heiko Schocher
2010-01-08  0:59 ` Kim Phillips
2010-01-08  3:11   ` Liu Dave-R63238
2010-01-08  7:37     ` Heiko Schocher
2010-01-08  7:52       ` Liu Dave-R63238
2010-01-08  8:12         ` Heiko Schocher [this message]
2010-01-08  8:14           ` Liu Dave-R63238
2010-01-19  6:49 ` Andy Fleming
2010-01-19  8:42   ` Heiko Schocher
2010-01-20  8:04   ` [U-Boot] 83xx, uec: split enet_interface in two variables, was: " Heiko Schocher
2010-02-01  5:25     ` 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=4B46E8ED.1040008@denx.de \
    --to=hs@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.