Authentication-Results: name.execsw.org; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=v2efG6vs; dkim=fail reason="signature verification failed" (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=KOZetzdM Received: by mail.netbsd.org (Postfix, from userid 605) id 5E1BF84EC3; Tue, 16 Apr 2024 18:59:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1713293991; bh=bTdbsRLseIzyWoEEF2g6S3Gdeg4Vd/IXcE9Ah9wPJBI=; h=Date:From:Subject:To:List-Id:Reply-To:List-Unsubscribe; b=v2efG6vsSn9UK64OXOvtSEvN7KOdbSWN+M8MzOj5XMppYCZD1KW1BrWzDK4HqmrRD /C8vVCUA7eNHDFfgmE7cBOzvb9LZ7SgDKieoEdNam8u/9D26LHEXE6YWrtYvUDoBv9 Wsa3xP4ihq9YdgFNcOBwjMghj3U7srRb+Nr4Z3bg= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 4869284EC2 for ; Tue, 16 Apr 2024 18:59:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id zz953lXGLsru for ; Tue, 16 Apr 2024 18:59:49 +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 CF43984CC8 for ; Tue, 16 Apr 2024 18:59:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1713293989; bh=bTdbsRLseIzyWoEEF2g6S3Gdeg4Vd/IXcE9Ah9wPJBI=; h=Date:From:Subject:To:Reply-To; b=KOZetzdMnzLEAmVvKOVg8Lu1ghs1+8qP4w9UMJSengLzNnIDYb7l6E4A+lBWnpgbv gqsuET37XOODNT6AqU6J4kP383x5Qnngv/hgZEjiQy9Yw1hogabPbWfOdoPSDHOa8i q0dWOpn7PsI+O95wrMQtjcbXBLv0QiEnJasRb8P0= Received: by cvs.NetBSD.org (Postfix, from userid 500) id C239BFA2C; Tue, 16 Apr 2024 18:59:49 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 16 Apr 2024 18:59:49 +0000 From: "Martin Husemann" Subject: CVS commit: [netbsd-10] src/sys/dev/usb To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20240416185949.C239BFA2C@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Martin Husemann" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: martin Date: Tue Apr 16 18:59:49 UTC 2024 Modified Files: src/sys/dev/usb [netbsd-10]: ugen.c Log Message: Pull up following revision(s) (requested by thorpej in ticket #651): sys/dev/usb/ugen.c: revision 1.177 ugen and ugenif share the same /dev/ugenN.xx namespace in such a way that the device unit number does not necessarily match the /dev/ugenN.xx unit number (N). If you ONLY have ugen devices, it happens to work out and devpubd scripts can be extremely naive. If you ONLY have ugenif devices, it also happens to work out, but your devpubd scripts have to slightly more informed. If you have a mix of ugen AND ugenif devices, though, you're pretty much out of luck. So, this change adds a "ugen-unit" device property which devpubd scripts can query to determine which /dev/ugenN.xx nodes a given ugen or ugenif device is using. To generate a diff of this commit: cvs rdiff -u -r1.171.2.1 -r1.171.2.2 src/sys/dev/usb/ugen.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.