Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 1996 10:31:45 +0000
From:      Matt Thomas <matt@lkg.dec.com>
To:        David Dawes <dawes@rf900.physics.usyd.edu.au>
Cc:        rgrimes@gndrsh.aac.dev.com (Rodney W. Grimes), jkh@time.cdrom.com, hackers@freebsd.org
Subject:   Re: FreeBSD 2.2-ALPHA is now available. 
Message-ID:  <199611141031.KAA17892@whydos.lkg.dec.com>
In-Reply-To: Your message of "Thu, 14 Nov 1996 17:52:07 %2B1100." <199611140652.RAA07940@rf900.physics.usyd.edu.au> 

next in thread | previous in thread | raw e-mail | index | archive | help

In  <199611140652.RAA07940@rf900.physics.usyd.edu.au> , you wrote:
> >> DEC DC21040, DC21041, or DC21140 based NICs (SMC Etherpower 8432T, DE245, etc)
> >
> >I know of _no_ current production DC21140 card that will work with
> >the if_de.c driver.  SMC has discontiued the SMC9332DST, and makeing
> >the SMC9332BDT work requires hacking the driver.  This is also true
> >of the D-Link DFE-500TX, Kingston KNE100TX, and the Compex board.
> 
> I have a Digital DE500-AA here which the driver reports uses the DC21140A.
> It works fine with 2.2 (but not with 2.1.5).  The only question I have
> about it is, is it supposed to auto-detect full duplex 100Mb/s connections?
> It reports:
> 
> de0 <Digital DC21140A Fast Ethernet> rev 32 int a irq 10 on pci0:8
> de0: DE500-AA DC21140A [10-100Mb/s] pass 2.0
> de0: address 00:00:f8:01:e7:8f
> de0: link up: enabling 100baseTX port
> 
> regadless of whether the other end is full or half duplex.  The output
> error rate seems higher when the other end is full duplex (BTW, the
> other end is a 100TX card in a Cisco Catalyst 3000 switch).

This patch should fix that problem.

*** if_de.c.orig	Fri Jul  5 18:47:42 1996
--- if_de.c	Thu Nov 14 09:24:39 1996
***************
*** 1276,1282 ****
       * The link is now up.  If was down, say its back up.
       */
      if ((data & (PHYSTS_LINK_UP|PHYSTS_REMOTE_FAULT)) == PHYSTS_LINK_UP) {
! 	if ((sc->tulip_if.if_flags & IFF_NOAUTONEG) == 0) {
  	    tulip_media_t media = tulip_dc21140_phy_readspecific(sc, phy);
  	    if (media != sc->tulip_media && media != TULIP_MEDIA_UNKNOWN) {
  		sc->tulip_media = media;
--- 1276,1282 ----
       * The link is now up.  If was down, say its back up.
       */
      if ((data & (PHYSTS_LINK_UP|PHYSTS_REMOTE_FAULT)) == PHYSTS_LINK_UP) {
! 	if (sc->tulip_if.if_flags & IFF_NOAUTONEG) {
  	    tulip_media_t media = tulip_dc21140_phy_readspecific(sc, phy);
  	    if (media != sc->tulip_media && media != TULIP_MEDIA_UNKNOWN) {
  		sc->tulip_media = media;

-- 
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt.html
Westford, MA              Disclaimer: I disavow all knowledge of this message





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