From owner-cvs-all Tue Oct 24 15:38:59 2000 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 71E5A37B479; Tue, 24 Oct 2000 15:38:55 -0700 (PDT) Received: (from wpaul@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA09701; Tue, 24 Oct 2000 15:38:55 -0700 (PDT) (envelope-from wpaul@FreeBSD.org) Message-Id: <200010242238.PAA09701@freefall.freebsd.org> From: Bill Paul Date: Tue, 24 Oct 2000 15:38:55 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb if_aue.c if_auereg.h if_cue.c if_cuereg.h if_kue.c if_kuereg.h usb_ethersubr.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG wpaul 2000/10/24 15:38:55 PDT Modified files: sys/dev/usb if_aue.c if_auereg.h if_cue.c if_cuereg.h if_kue.c if_kuereg.h usb_ethersubr.c Log: Convert the USB ethernet drivers to use mutexes. Also convert usb_ethersubr.c. This module maintains two queues for packets which are each protected with one mutex. These are all the changes I can do for now. Removing the USBD_NO_TSLEEP flag doesn't work yet: when I tried it, the system would usually freeze up after a NIC had been operating for a while. The usb_ethersubr module itself ought to go away; this is the next thing I need to test. Revision Changes Path 1.31 +83 -68 src/sys/dev/usb/if_aue.c 1.6 +5 -1 src/sys/dev/usb/if_auereg.h 1.14 +68 -63 src/sys/dev/usb/if_cue.c 1.6 +5 -1 src/sys/dev/usb/if_cuereg.h 1.25 +57 -40 src/sys/dev/usb/if_kue.c 1.6 +5 -1 src/sys/dev/usb/if_kuereg.h 1.8 +20 -13 src/sys/dev/usb/usb_ethersubr.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message