From owner-cvs-all Mon Oct 1 17:13:48 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 632AA37B40B; Mon, 1 Oct 2001 17:13:44 -0700 (PDT) Received: (from mjacob@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f920DiS65747; Mon, 1 Oct 2001 17:13:44 -0700 (PDT) (envelope-from mjacob) Message-Id: <200110020013.f920DiS65747@freefall.freebsd.org> From: Matt Jacob Date: Mon, 1 Oct 2001 17:13:44 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_wx.c if_wxvar.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 mjacob 2001/10/01 17:13:44 PDT Modified files: sys/pci if_wx.c if_wxvar.h Log: Remove all OpenBSD/NetBSD code. It was the right place to start from, but it now really gets in the way. This allows us to fix several problems- not least of which was problems of ordering about when you'd have a device softc for an miibus child available or not. Move some steps of things around. Put the ifnet/arpcom structure at the head of the softc (PR 29249). Don't do tx gc in the interrupt service routine- that seems to make things a bit more efficient. Enable jumbo support by default- but this version of 'jumbo' is broken because it really is just using multiple tfd/rfd's to match a packet, which will never be > CLSIZE anyway. This should begin the first steps toward cleaning this driver up. PR: 29249 MFC after: 1 week Revision Changes Path 1.20 +52 -446 src/sys/pci/if_wx.c 1.11 +11 -202 src/sys/pci/if_wxvar.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message