LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Vitaly Bordug <vbordug@ru.mvista.com>
To: Laurent Pinchart <laurent.pinchart@tbox.biz>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Endless "Trying 100/HALF" messages using FCC ethernet on MPC8248
Date: Mon, 24 Jul 2006 15:45:16 +0400	[thread overview]
Message-ID: <20060724154516.43d16e50@vitb.ru.mvista.com> (raw)
In-Reply-To: <200607241139.02128.laurent.pinchart@tbox.biz>

On Mon, 24 Jul 2006 11:39:01 +0200
Laurent Pinchart <laurent.pinchart@tbox.biz> wrote:

> Hi everybody,
> 
> I'm not sure if this issue is ppc-specific, so forgive me if it should have 
> been reported to the drivers/net/phy maintainer.
> 
> When using the MPC8248 FCC ethernet ports, the following messages are printed 
> by the kernel on the console when a link is down (ethernet cable unplugged):
> 
> Trying 100/FULL
> Trying 100/HALF
> Trying 100/HALF
> Trying 100/HALF
> ...
> 
> This goes on forever, with a new message every 5 or 10 seconds. The message is 
> printed by drivers/net/phy/phy.c at line 463.
> 
> Those messages are pretty annoying. Commenting the pr_info() call gave me some 
> rest, but a proper fix is probably needed.
> 
> For the record, I'm using FCC1 and FCC2 with an LXT973 phy in bit-banging 
> mode.
> 

The thing you'll need is to make driver to trust autonegotiation...

IIRC that was addressed in my patches for fs-enet. what's happening: The PAL subsystem tries hard to be 
wise, an dif there are no link located, it starts to try forced mode, setting various stuff as link params and looking if link appeared or not. To keep consistency, I used the special flag passed via platform info, to just trust what ANEG had find out.

Prolly we need to limit the forced aneg as well somehow - say give up after it failed to get link going at 10/HALF or smth like that.

-- 
Sincerely, 
Vitaly

  reply	other threads:[~2006-07-24 11:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-24  9:39 Endless "Trying 100/HALF" messages using FCC ethernet on MPC8248 Laurent Pinchart
2006-07-24 11:45 ` Vitaly Bordug [this message]
2006-07-25 18: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=20060724154516.43d16e50@vitb.ru.mvista.com \
    --to=vbordug@ru.mvista.com \
    --cc=laurent.pinchart@tbox.biz \
    --cc=linuxppc-embedded@ozlabs.org \
    /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