From owner-cvs-all Fri Sep 25 10:34:31 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA06505 for cvs-all-outgoing; Fri, 25 Sep 1998 10:34:31 -0700 (PDT) (envelope-from owner-cvs-all) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA06500; Fri, 25 Sep 1998 10:34:28 -0700 (PDT) (envelope-from wpaul@FreeBSD.org) From: Bill Paul Received: (from wpaul@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id KAA09293; Fri, 25 Sep 1998 10:34:20 -0700 (PDT) Date: Fri, 25 Sep 1998 10:34:20 -0700 (PDT) Message-Id: <199809251734.KAA09293@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/pci if_xl.c if_xlreg.h Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 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