Date: Fri, 25 Sep 1998 10:34:20 -0700 (PDT) From: Bill Paul <wpaul@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/pci if_xl.c if_xlreg.h Message-ID: <199809251734.KAA09293@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
wpaul 1998/09/25 10:34:20 PDT Modified files: sys/pci if_xl.c if_xlreg.h Log: Apply patch graciously provided by Jason Wright <jason@thought.net> from the OpenBSD group to fix a problem with the default ifmedia not being set properly in some cases with a 3c905B, leading to a panic in ifmedia_set(). Also apply a patch to force the transmit start routine to check the transmitter to make sure it isn't wedged if the outbound tx queue appears full. This seems to cure some problems with 'watchdog timeout' errors cropping up in some cases. I tried to do this before by checking for the IFF_OACTIVE flag on entry to xl_start(), but if the IFF_OACTIVE flag is set, ether_output() won't even call xl_start(). It should work now. Lastly, increase the size of the TX queue from 10 descriptors to 16 to hopefully make it less likely that the TX queue will fill up. Revision Changes Path 1.12 +34 -23 src/sys/pci/if_xl.c 1.5 +2 -2 src/sys/pci/if_xlreg.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809251734.KAA09293>