From owner-cvs-all Wed Jan 12 9:46:44 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 170EC15520; Wed, 12 Jan 2000 09:46:42 -0800 (PST) (envelope-from wpaul@FreeBSD.org) Received: (from wpaul@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA13325; Wed, 12 Jan 2000 09:46:42 -0800 (PST) (envelope-from wpaul@FreeBSD.org) Message-Id: <200001121746.JAA13325@freefall.freebsd.org> From: Bill Paul Date: Wed, 12 Jan 2000 09:46:41 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb if_aue.c if_kue.c usb_ethersubr.c usb_ethersubr.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk wpaul 2000/01/12 09:46:41 PST Modified files: sys/dev/usb if_aue.c if_kue.c usb_ethersubr.c usb_ethersubr.h Log: Apply the same netisr mechanism to transmissions as well. In order to drive the transmitter, we have to check the interface's send queue in the TX end of frame handler (i.e. the usb bulk out callback) and push out new transmissions if the queue has packets in it and the transmitter is ready. But the txeof handler is also called from a USB callback running at splusb() too. Grrr. Revision Changes Path 1.6 +3 -4 src/sys/dev/usb/if_aue.c 1.11 +4 -5 src/sys/dev/usb/if_kue.c 1.2 +56 -4 src/sys/dev/usb/usb_ethersubr.c 1.2 +2 -1 src/sys/dev/usb/usb_ethersubr.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message