Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2001 02:33:24 -0800
From:      Doug Barton <DougB@DougBarton.net>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        Jonathan Lemon <jlemon@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/mii inphy.c
Message-ID:  <3AC06C74.CAAA5567@DougBarton.net>
References:  <200103170250.f2H2oLE26064@freefall.freebsd.org> <20010320172100.A46733@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrew Gallatin wrote:
> 
> Jonathan Lemon [jlemon@FreeBSD.org] wrote:
> > jlemon      2001/03/16 18:50:21 PST
> >
> >   Modified files:
> >     sys/dev/mii          inphy.c
> >   Log:
> >   Really fix NWAY negotiation for the 82553 PHY.  Locking down the
> >   media interface selection should not imply disabling NWAY negotiaton
> >   as well.
> 
> This causes my older fxp's to loose the link:

	Auto-negotiation has been broken for me since the following commit:

jlemon      2001/03/14 11:50:37 PST

  Modified files:
    sys/dev/fxp          if_fxp.c if_fxpreg.h if_fxpvar.h 
  Log:
  Add some performance features to the fxp driver.  If the chip is not
  a 82557 (e.g.: a newer chip) then:
  
     + enable MWI, if the PCI configuration indicates the system supports
it
     + enable usage of extended TxCB, for better performance
     + enable hardware flow control.  FC frames will be passed up to the
       host only if promiscuous mode is enabled.
  
  Revision  Changes    Path
  1.109     +67 -27    src/sys/dev/fxp/if_fxp.c
  1.22      +6 -3      src/sys/dev/fxp/if_fxpreg.h
  1.17      +4 -1      src/sys/dev/fxp/if_fxpvar.h


I have a releng_3 machine with multiple fxp cards acting as a sort of
gateway/router, and my workstation running -current (and dual-booting
windows) with an fxp card connected to it by a crossover cable. For various
reasons (mostly windows brokeness) I force "netmask 255.255.255.0 media
100baseTX mediaopt full-duplex" on both ends. The first commit of the
miibus'ified driver worked with this configuration, but since 3/14 it
hasn't. Sorry for the delay in reporting, but I haven't had time to confirm
till tonight. A kernel built before 3/14 works, everything after is broken.
If I leave out the media and mediaopt options It'll autonegotiate media:
autoselect (100baseTX) status: active, but I can't get full-duplex at all. 

Let me know if there's anything I can test, more details needed, etc.

Doug
-- 
    Perhaps the greatest damage the American system of education has done
    to its children is to teach them that their opinions are relevant
    simply because they are their opinions.

	Do YOU Yahoo!?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AC06C74.CAAA5567>