Received: by mail.netbsd.org (Postfix, from userid 605) id 2749484EEB; Thu, 3 Mar 2022 06:25:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 57CC584EBE for ; Thu, 3 Mar 2022 06:25:47 +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 sFC3IdsXRBrF for ; Thu, 3 Mar 2022 06:25:47 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id E0BEE84CEF for ; Thu, 3 Mar 2022 06:25:46 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id CC64EFB24; Thu, 3 Mar 2022 06:25:46 +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 06:25:46 +0000 From: "Taylor R Campbell" Subject: CVS commit: src/sys To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20220303062546.CC64EFB24@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 06:25:46 UTC 2022 Modified Files: src/sys/kern: subr_device.c src/sys/sys: device.h Log Message: driver(9): New device_set_private. Used to initialize a device_t's private pointer at most once. Only for drivers with zero cfattach size so autoconf doesn't preallocate; KASSERT checks for this mistake. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/kern/subr_device.c cvs rdiff -u -r1.178 -r1.179 src/sys/sys/device.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.