*BSD News Article 74720


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.hawaii.edu!news.uoregon.edu!hunter.premier.net!news-res.gsl.net!news.gsl.net!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 3C509 COMBO quits working for no reason (well no obvious one)
Date: 25 Jul 1996 21:10:00 GMT
Organization: Private BSD site, Dresden
Lines: 48
Message-ID: <4t8nr8$mn9@uriah.heep.sax.de>
References: <4t1bvf$eo8@venus.os.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

craigs@os.com (Craig Shrimpton) wrote:

> I have just installed FreeBSD 2.1.5 and am very unhappy.  For some reason my
> 3C509 Combo card or the netwoking in general, simply quits.
...
> This card in this same machine will run:
...
> FreeBSD 2.1.0
> 
> But *NOT* 2.1.5

Are you sure you've picked the _updated_ version?

Otherwise, apply this patch:

Index: sys/i386/isa/if_ep.c
===================================================================
RCS file: /home/cvs/src/sys/i386/isa/if_ep.c,v
retrieving revision 1.28.4.6
retrieving revision 1.28.4.7
diff -u -u -r1.28.4.6 -r1.28.4.7
--- if_ep.c	1996/07/13 10:51:10	1.28.4.6
+++ if_ep.c	1996/07/16 00:15:17	1.28.4.7
@@ -38,7 +38,7 @@
  */
 
 /*
- *  $Id: if_ep.c,v 1.28.4.6 1996/07/13 10:51:10 davidg Exp $
+ *  $Id: if_ep.c,v 1.28.4.7 1996/07/16 00:15:17 davidg Exp $
  *
  *  Promiscuous mode added and interrupt logic slightly changed
  *  to reduce the number of adapter failures. Transceiver select
@@ -772,7 +772,7 @@
     }
     IF_DEQUEUE(&ifp->if_snd, m);
 
-    outw(BASE + EP_W1_TX_PIO_WR_1, len | 0x8000); /* XXX */
+    outw(BASE + EP_W1_TX_PIO_WR_1, len);
     outw(BASE + EP_W1_TX_PIO_WR_1, 0x0);	/* Second dword meaningless */
 
     /* compute the Tx start threshold for this packet */

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)