From owner-freebsd-hackers Thu Nov 14 06:41:18 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA12569 for hackers-outgoing; Thu, 14 Nov 1996 06:41:18 -0800 (PST) Received: from mail11.digital.com (mail11.digital.com [192.208.46.10]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA12560 for ; Thu, 14 Nov 1996 06:40:58 -0800 (PST) Received: from muggsy.lkg.dec.com by mail11.digital.com (8.7.5/UNX 1.5/1.0/WV) id JAA24135; Thu, 14 Nov 1996 09:25:41 -0500 (EST) Received: from whydos.lkg.dec.com by muggsy.lkg.dec.com (5.65/DEC-Ultrix/4.3) with SMTP id AA17108; Thu, 14 Nov 1996 09:25:54 -0500 Received: from localhost.lkg.dec.com (localhost.lkg.dec.com [127.0.0.1]) by whydos.lkg.dec.com (8.6.12/8.6.12) with SMTP id KAA17892; Thu, 14 Nov 1996 10:31:45 GMT Message-Id: <199611141031.KAA17892@whydos.lkg.dec.com> X-Authentication-Warning: whydos.lkg.dec.com: Host localhost.lkg.dec.com didn't use HELO protocol X-Mailer: exmh version 1.6.5 12/11/95 To: David Dawes 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. In-Reply-To: Your message of "Thu, 14 Nov 1996 17:52:07 +1100." <199611140652.RAA07940@rf900.physics.usyd.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 14 Nov 1996 10:31:45 +0000 From: Matt Thomas Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 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