linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Eugene Surovegin <ebs@ebshome.net>
To: Lonsn <lonsn2004@126.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: How to force the 1000M network interface work in 100M mode?(AMCC 440GX, board based on ocotea)
Date: Mon, 12 Feb 2007 18:40:15 -0800	[thread overview]
Message-ID: <20070213024015.GD9754@gate.ebshome.net> (raw)
In-Reply-To: <45D123A9.50805@126.com>

On Tue, Feb 13, 2007 at 10:34:17AM +0800, Lonsn wrote:
> Hi, all:
> We have design a new board based on AMCC ocotea board. The linux kernel 
> version we use is 2.6.18 from kernel.org. The network interface is the 
> same as ocotea(eth0 and eth1 work in SMII mode, eth2 and eth3 work in 
> RGMII mode).The 1000Mbit ehernet physical transceiver chip is also 
> CIS8201(VSC8201). These pins(ANEG_DIS,FRC_DPLX,MODE10,MODE100,MODE1000) 
> of CIS8201 are set as 01111.
> Maybe because of the signal integrity problem of the gigabit 
> clock&data,eth3 doesn't work in 1000M mode(eth2 is ok). If we connect 
> eth3 with a host which has 100M ethernet, then eth3 works in 100M mode 
> well. If we connect eth3 with a host which has 1000M ethernet interface, 
>  then eth3 can recognize the link is 1000Mbit, but ping is not ok.
> So we want to force the eth3 work in 100M mode even eth3 is connected 
> with a 1000M host.(we think the hardware is ok when eth3 works in 100M 
> mode).
> We have used ethtool in the board and in the host to force the eth3 work 
> in 100M mode, but failed. Maybe we can't change this setting in 
> userspace? or we should changed the IBM_EMAC driver?
> Any suggestions?

Use ethtool to limit advertised auto-negotiation mode or force 100 on 
_both_ ends of the link. Probably, when you forced 100, you did it 
only on 440GX side, that's why it failed. Personally, I prefer 
"forcing" link speed by tweaking advertised modes, this way you have 
to do this only on one side of the link.

-- 
Eugene

      reply	other threads:[~2007-02-13  2:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-13  2:34 How to force the 1000M network interface work in 100M mode?(AMCC 440GX, board based on ocotea) Lonsn
2007-02-13  2:40 ` Eugene Surovegin [this message]

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=20070213024015.GD9754@gate.ebshome.net \
    --to=ebs@ebshome.net \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=lonsn2004@126.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).