From owner-cvs-all Tue Nov 27 8:29:14 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A2A2D37B416; Tue, 27 Nov 2001 08:29:11 -0800 (PST) Received: (from luigi@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fARGTBw50695; Tue, 27 Nov 2001 08:29:11 -0800 (PST) (envelope-from luigi) Message-Id: <200111271629.fARGTBw50695@freefall.freebsd.org> From: Luigi Rizzo Date: Tue, 27 Nov 2001 08:29:11 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_sis.c if_sisreg.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG luigi 2001/11/27 08:29:11 PST Modified files: sys/pci if_sis.c if_sisreg.h Log: Fix a bug in the driver -- under load, the receive unit could become idle and the driver would not detect the event, requiring userland to cycle the interface to bring it up again. The fix consists in adding SIS_IMR_RX_IDLE to the interrupt mask and add a command in sis_intr() to restart the receiver when this happens. While at it, make the test of status bits more efficient. Revision Changes Path 1.37 +13 -15 src/sys/pci/if_sis.c 1.9 +3 -2 src/sys/pci/if_sisreg.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message