From nobody Tue Mar 10 17:21:08 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4fVgdd55rxz6TkQ4; Tue, 10 Mar 2026 17:21:09 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fVgdd0Mgqz3qV8; Tue, 10 Mar 2026 17:21:09 +0000 (UTC) (envelope-from jhb@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773163269; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qnsvs0F+9otKopVVuf88Ltv01QAEqsRuDyGoeSiWFko=; b=JAtA3xFWl1Yf1ftpG0pc6vEyIZ7/tU8hHdTnHdF0EFo2os0nm+DoMV1xwByFrKaXusUrym SvgaF0B0luup2X/EWspvNyHSex2riRi7BrIUpTTIxDEx845NxaAaw6Ig7nDGHYgKBGIcC7 83A/L5Y6400iA5kPIT66ENQcJ9Zv39knNfmWPQlZsXP/vBxa7kLpa3Lljo04AsGFwQ5By6 FDGZsvces17KmmlAh/gy+YLuEcMTBTQDoH0yDFbLYmWADh1XgTdX/h29kJSg8p+aYLJyyr 9DrVkTy1jr7Ba1C5+i9JDFXhDRMQSMQP8W/QrpedVtZppUYC1dFxTYJrK5LiqQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1773163269; a=rsa-sha256; cv=none; b=f2fd0gyjem7APKnxtNXatJxdVABnf4CNC5GoBV2DV90u1NXRkte4fIUtEiJJdQBtTCusnA /nDjKQ7oSldjq+SAKpEU8lwf1PJ28wYjstgTVCzYRzS8pGpzrhXPICMqYCidJ9/uZp8PN7 h81rHEuqA6Ous2qGDVCcf5ZNI4hQ1xOqs9s7JFxpZddO6PXXLQCQ9taJciCDcDRsLIaoIR O48dbT25AKROAqhk1W6pXX4YBENcA5+lALvgDj1Ujw8apVbcQoKWKRTAry0Ok+0jSl4hnm p+xgaE8uHVkRKR/TKipNXF58/Ii43d6HyKlQQUBjSZJc22f3h88BvzXYyojHSg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773163269; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qnsvs0F+9otKopVVuf88Ltv01QAEqsRuDyGoeSiWFko=; b=Dy6S6YQjIt9lJuIKvtdyz2a1QrBnIDqPJOLVfxLWELzG84vPsi5my3KAIOVIVKseC74vXT tsJhKbmhLROt/Euh3H9yJKu69mrTSyhH/doZPhfn5AR5qIrfGwn1vYkvu1AZy/KjrQ8ab/ l3kRLzwmKg7ZHkHgHFU/uiQOpzlo52p7uHOgSuLBlJGN1qhY/2H6NXbw4tfHnN7cdbtW4h gyDQZXG6qqqOXrML2uJrNTinGPi2ktNYyVojvfNxoJ9INqZh9KIHE0Sscbpe9uphzrp66w 0mQkAWYSLHLfu4o8+mpKciiY2uOiDKxiUXYNYW3FwtU3Ibu7Avz7KwQ0V7pZEQ== Received: from [IPV6:2601:5c0:4202:5670:41db:1f31:9abb:a71c] (unknown [IPv6:2601:5c0:4202:5670:41db:1f31:9abb:a71c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id 4fVgdc63Xyz1CqK; Tue, 10 Mar 2026 17:21:08 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Message-ID: <98d8aa2f-a312-4b33-afca-5e83d90e4bf7@FreeBSD.org> Date: Tue, 10 Mar 2026 13:21:08 -0400 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: git: 14b8a27883c1 - main - pciconf: Add a tree mode Content-Language: en-US From: John Baldwin To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org References: <69b04ca7.43a7d.58a4e367@gitrepo.freebsd.org> In-Reply-To: <69b04ca7.43a7d.58a4e367@gitrepo.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/10/26 12:53, John Baldwin wrote: > The branch main has been updated by jhb: > > URL: https://cgit.FreeBSD.org/src/commit/?id=14b8a27883c15d3add3114f855eff7c6bda1b015 > > commit 14b8a27883c15d3add3114f855eff7c6bda1b015 > Author: John Baldwin > AuthorDate: 2026-03-10 16:51:00 +0000 > Commit: John Baldwin > CommitDate: 2026-03-10 16:51:00 +0000 > > pciconf: Add a tree mode > > This lists PCI devices in a hierarchy showing the parent/child > relationship of PCI devices and bridges. While this is inspired by > lspci -t output, the format is closer to ps -d and also prefers using > new-bus device names when possible. If a device does not have a > driver, the PCI selector is output in place of the device name. > > When the -v flag is given, the vendor and device ID strings are output > after the device name. If a string for an ID isn't found, the hex ID > values are output instead. > > Reviewed by: imp > Sponsored by: Chelsio Communications > Differential Revision: https://reviews.freebsd.org/D55774 I did play with enabling some of other list options like -b and -B to output as indented under each node in the tree. If there is a desire for that, I could add it. I found it a bit distracting when I prototyped it. OTOH, it might be useful for -c at least. One of the things I think is helpful in this view is that you can easily see the PCI bridge that is the upstream port of a PCI-e link connecting to a leaf device. -- John Baldwin