From owner-cvs-sys Wed May 21 11:28:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA26217 for cvs-sys-outgoing; Wed, 21 May 1997 11:28:42 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA26134; Wed, 21 May 1997 11:26:45 -0700 (PDT) From: "Justin T. Gibbs" Received: (from gibbs@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA03603; Wed, 21 May 1997 11:26:12 -0700 (PDT) Date: Wed, 21 May 1997 11:26:12 -0700 (PDT) Message-Id: <199705211826.LAA03603@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa if_ie.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 1997/05/21 11:26:12 PDT Modified files: sys/i386/isa if_ie.c Log: Several bug fixes for the ee16 support from Richard Straka: 1) Adjust NFRAMES from 16 to 8 per 16k of memory. 2) Acknowledge interrupts to the card early in the interrupt handler before processing the event that caused the interrupt. This frees the card to process addtional events instead of waiting for the driver to finish handling events. 3) Changed the initialization of the transmit buffers to be a loop so that the number of buffers can be more easily changed. 4) Moved the code to take the adapter out of loop back mode to just before we enable the receiver. I also made the driver dynamically size its resource arrays at attach time so that we can take full advantage of adapters with more than 16k of memory. Richard has some other changes he's working on to improve performance, but this should get ee16 support working reliably again. Thanks to Wes Santee for testing these patches. Submitted by: Richard Straka Revision Changes Path 1.42 +113 -88 src/sys/i386/isa/if_ie.c