Received: by mail.netbsd.org (Postfix, from userid 605) id 2AEC78505C; Thu, 3 Mar 2022 06:03:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id D78FD8503D for ; Thu, 3 Mar 2022 05:54:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 3ec-0D0Tw40H for ; Thu, 3 Mar 2022 05:54:37 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 711EF85037 for ; Thu, 3 Mar 2022 05:54:37 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 6DA69FB24; Thu, 3 Mar 2022 05:54:37 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 3 Mar 2022 05:54:37 +0000 From: "Taylor R Campbell" Subject: CVS commit: src/sys/dev/usb To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20220303055437.6DA69FB24@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Taylor R Campbell" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: riastradh Date: Thu Mar 3 05:54:37 UTC 2022 Modified Files: src/sys/dev/usb: if_aue.c if_axe.c if_axen.c if_cue.c if_mue.c if_smsc.c if_udav.c if_ure.c if_url.c Log Message: usbnet drivers: Omit needless usbnet core lock and assertions. During attach, the caller has exclusive access to the usbnet until usbnet_attach_ifp. At other times, register access is serialized either by the usbnet multicast lock or by IFNET_LOCK. To generate a diff of this commit: cvs rdiff -u -r1.185 -r1.186 src/sys/dev/usb/if_aue.c cvs rdiff -u -r1.144 -r1.145 src/sys/dev/usb/if_axe.c cvs rdiff -u -r1.88 -r1.89 src/sys/dev/usb/if_axen.c cvs rdiff -u -r1.101 -r1.102 src/sys/dev/usb/if_cue.c cvs rdiff -u -r1.76 -r1.77 src/sys/dev/usb/if_mue.c cvs rdiff -u -r1.86 -r1.87 src/sys/dev/usb/if_smsc.c cvs rdiff -u -r1.91 -r1.92 src/sys/dev/usb/if_udav.c cvs rdiff -u -r1.51 -r1.52 src/sys/dev/usb/if_ure.c cvs rdiff -u -r1.90 -r1.91 src/sys/dev/usb/if_url.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.