netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andy Lutomirski <luto@myrealbox.com>
To: Jon D Mason <jonmason@us.ibm.com>
Cc: jgarzik@pobox.com, netdev@oss.sgi.com, netdev-bounce@oss.sgi.com,
	Francois Romieu <romieu@fr.zoreil.com>
Subject: Re: [PATCH r8169] ethtool support and sane speed selection/detection
Date: Sat, 24 Apr 2004 13:02:36 -0700	[thread overview]
Message-ID: <408AC7DC.8060204@myrealbox.com> (raw)
In-Reply-To: <OFD9C928E8.B270E69A-ON87256E80.0069EECE-86256E80.006C0C7E@us.ibm.com>

Jon D Mason wrote:

>>BTW, what was it there for in the first place?  I can get gigabit to 
>>fail to negotiate, but I always pick up a 100Mbps/full duplex link when 
>>that happens.  I've never seen a complete absense of link.  I left the 
>>original semantics around because I assumed there was a reason, but if 
>>it's unnecessary, then the timer should only need to fire once during 
>>the lifetime of the device (and the assorted bookkeeping can go away).
> 
> 
> I have an 8110S version of the chipset, and I don't have any problems with 
> it getting an improper link speed form the outset.  Though, I am running 
> point-to-point with an e1000 adapter.  Are you running this through a 
> switch?

The 8001S was a typo -- mine is 8110S point-to-point with an e1000 on 
Windows.  Strangely enough, I can't reproduce the problem today.  It 
happened about 80% of the time yesterday, though.  I don't think I 
changed anything.  Maybe my cable's bad.

In any case, if I'm the only one with this problem, and no one knows 
what the original purpose of the timer was, I'm ok with removing it 
entirely.  I can work around this issue in userspace easily enough.

> 
> BTW, good work doing the link changes.  Though it might be beneficial to 
> do a "printk(KERN_INFO "%s: Link Down\n", dev->name);" in the interrupt 
> handler to show that the link is down in the dmesg (and a Link Up message 
> too).
> 

I left it out b/c natsemi does it and it always annoys me ;)  Is there a 
userspace tool for linkwatch?

In any case, what's the preferred approach?  natsemi notifies, tulip 
doesn't, and, IIRC, e1000 and tg3 don't.  If the consensus is to notify, 
shouldn't it be done in netif_carrier_on and netif_carrier_off?

--Andy

  parent reply	other threads:[~2004-04-24 20:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-24  5:08 [PATCH r8169] ethtool support and sane speed selection/detection Andy Lutomirski
2004-04-24 10:44 ` Francois Romieu
2004-04-24 15:05   ` Andy Lutomirski
2004-04-24 15:01     ` Francois Romieu
2004-04-24 19:44     ` Jon D Mason
2004-04-24 19:13       ` Francois Romieu
2004-04-24 20:02       ` Andy Lutomirski [this message]
2004-04-24 20:18         ` Jon D Mason
2004-04-25 21:09 ` Jon D Mason
2004-04-26 17:41   ` Andy Lutomirski
2004-04-26 17:41   ` Andy Lutomirski
2004-04-28 12:42 ` Felipe W Damasio
2004-04-28 15:24   ` Jeff Garzik
2004-04-28 15:50   ` Andy Lutomirski
2004-04-28 15:51     ` Francois Romieu

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=408AC7DC.8060204@myrealbox.com \
    --to=luto@myrealbox.com \
    --cc=jgarzik@pobox.com \
    --cc=jonmason@us.ibm.com \
    --cc=netdev-bounce@oss.sgi.com \
    --cc=netdev@oss.sgi.com \
    --cc=romieu@fr.zoreil.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).