*BSD News Article 73457


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!usenet.eel.ufl.edu!spool.mu.edu!sgigate.sgi.com!nntp.coast.net!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: problem with 3c590
Date: 11 Jul 1996 10:23:26 +0100
Organization: Coverform Ltd.
Lines: 44
Message-ID: <4s2h6e$a5@anorak.coverform.lan>
References: <4rf9u3$7vp@news.uit.no> <4rl1vb$u3@anorak.coverform.lan> <4rt0bd$4fl@uriah.heep.sax.de> <4s0hqt$a6@anorak.coverform.lan>
NNTP-Posting-Host: localhost.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Brian Somers (brian@awfulhak.demon.co.uk) wrote:
: J Wunsch (j@uriah.heep.sax.de) wrote:

: : The `vx' driver is, umm, suboptimal in design and implementation.

: : Somebody on the mailing list suggested the following change:

: : Index: pci/if_vx.c
: : ===================================================================
: : RCS file: /usr/home/cvs/src/sys/pci/if_vx.c,v
: : retrieving revision 1.10
: : diff -u -u -r1.10 if_vx.c
: : --- if_vx.c	1996/06/12 05:10:42	1.10
: : +++ if_vx.c	1996/06/16 14:45:12
: : @@ -518,7 +518,7 @@
: :      }
: :      IF_DEQUEUE(&sc->arpcom.ac_if.if_snd, m);
: :  
: : -    outw(BASE + VX_W1_TX_PIO_WR_1, len);
: : +    outw(BASE + VX_W1_TX_PIO_WR_1, len | 0x8000 /* XXX */);
: :      outw(BASE + VX_W1_TX_PIO_WR_1, 0x0);	/* Second dword meaningless */
: :  
: :      /* compute the Tx start threshold for this packet */


: : This might or might not help -- i'm still not happy with the driver at
: : all, and switched back to the 3C503 since i needed a reliable Ethernet
: : connection to get an NFS diskless client booted.

[pathetic excuses & ranting deleted :-) ]

: I'll check out the (correct) patch this evening :-)

It seems to work.... lots of buffer filling, and no "dead" driver.
This is with the nep/ep drivers too.  Can someone with access to
the 2.1.5-RELEASE beta check the if_ep.c code ?  Thanks.

: --
: Brian <brian@awfulhak.demon.co.uk>
: Don't _EVER_ lose your sense of humour....

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....