From nobody Wed Apr 02 19:48:36 2025 X-Original-To: dev-commits-src-main@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 4ZSb5d1L82z5rWcR; Wed, 02 Apr 2025 19:48:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZSb5d0XQNz3QVr; Wed, 02 Apr 2025 19:48:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743623317; 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; bh=TenN7cVhbNpMUSFz2EY0+5hkj9vDXqKKSZhURcV8ERU=; b=IMwOeo1F+P9yAcwJ4IE7BfYPKcFTfeqwvuk7sa+UGAv5b33uqu5g+hJQXVYDnlU2Zy1hP8 t8zVcTsYvQ0GHACBS0eSDMp/xnIPU29Oo3fF7XMMdtOKrLc48+x0SpU2izUKUYTtrp2/1L Z8jPiT1sSue/yz7UaoAoj1qfeA2DO1qr5ogrume8DZi2WQOBnQv0BiwPtfMkpfLDRsXMmS CCtKxHYrds0z63+l0+Z9tXrBIj79huCh96iPHj/XgNGmy2Q9qM47lXTHqCbbz0w8FZWBJk FpIuQeieEzIwl24kx/kYO+vZoB75RwxZFzQKWVR/R+c3gb61si/tIK303GHgtQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1743623317; a=rsa-sha256; cv=none; b=IYR5MWYvdP06kSWBTif5Ti6uxgLscJkVf6ahsP2MUvJVCI7wrODx6WDXfCMPevmA1c4+hS dxXSsg7VND26oxElKl2Ylv8K5fTYgwEIj7/TZ/dxPmNGjxJagJexNvbKU+DcYEDAUaVdgf 0g1rW1Y2bpfD/WjeQ0hp5sbd+tE3sbYLvSI0LELSeDSPElLoAnmAtgDscUMasP1UAyfyGX 5ygnZ+CtY8j+MpY+OWaQsMDi+KwSyN0KXOkYtJSQLITrvxoMaCODY8I8VuUg79Wet42qvU FQrLcu/YXaXAPA8OwunVZifYcWEI9shP1qS+Tt9tJJkVxTeEOgBJA/5dEs0RLw== 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=1743623317; 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; bh=TenN7cVhbNpMUSFz2EY0+5hkj9vDXqKKSZhURcV8ERU=; b=dX4kTg/t9UWkKB3PkV9dmjpeMMzs+wIlho5Wt/T3t6PVR1PnHL0ethCyNPNQOw+yvT0l6k Ckvv6stI26V0YaLEJQRRbYEmIOTlX23rmokSnDHPIbfKMvgissohOsYrR2kEZ55JGxUgmu WiM13DxwM61L3VIdGA/FVwe8DpHgNOmTlzyAeyotyDeyg1OmQRNvh/4cLuxO3cAG2uQhv2 8y6236+6BEEwXxfU6qwC7qV+Bayl5cWKCHFsQffoh0oHa9DUeLnrW3iCO3vRxpVPo5Ym4G 7DEcAEt+0f19YQUMGUBrXPtMoPi5i5XQeVOD68UGjLbkofjeXzx64IQP/gqdpw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ZSb5c6lG2zVMh; Wed, 02 Apr 2025 19:48:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 532Jmar1067882; Wed, 2 Apr 2025 19:48:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 532JmaON067879; Wed, 2 Apr 2025 19:48:36 GMT (envelope-from git) Date: Wed, 2 Apr 2025 19:48:36 GMT Message-Id: <202504021948.532JmaON067879@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Navdeep Parhar Subject: git: cc05f8de571d - main - pci.4: Update the information on pci_bar_mmap to match pciio.h List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: np X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cc05f8de571dcb9f8c64a4151d7a5567873295e3 Auto-Submitted: auto-generated The branch main has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=cc05f8de571dcb9f8c64a4151d7a5567873295e3 commit cc05f8de571dcb9f8c64a4151d7a5567873295e3 Author: Navdeep Parhar AuthorDate: 2025-04-02 19:15:46 +0000 Commit: Navdeep Parhar CommitDate: 2025-04-02 19:47:59 +0000 pci.4: Update the information on pci_bar_mmap to match pciio.h Reviewed by: kib,markj,ziaee MFC after: 1 week Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D49639 --- share/man/man4/pci.4 | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/share/man/man4/pci.4 b/share/man/man4/pci.4 index 8623eaf3c3b5..91fbb557f644 100644 --- a/share/man/man4/pci.4 +++ b/share/man/man4/pci.4 @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd March 1, 2025 +.Dd April 2, 2025 .Dt PCI 4 .Os .Sh NAME @@ -372,16 +372,18 @@ The input parameters and results are passed in the .Va pci_bar_mmap structure, which has the following fields: .Bl -tag -width Vt struct pcise pbm_sel -.It Vt uint64_t pbm_map_base +.It Vt void *pbm_map_base Reports the established mapping base to the caller. If .Va PCIIO_BAR_MMAP_FIXED flag was specified, then this field must be filled before the call with the desired address for the mapping. -.It Vt uint64_t pbm_map_length +.It Vt size_t pbm_map_length Reports the mapped length of the BAR, in bytes. -Its .Vt uint64_t value is always multiple of machine pages. -.It Vt int64_t pbm_bar_length +Its +.Vt size_t +value is always multiple of machine pages. +.It Vt uint64_t pbm_bar_length Reports length of the bar as exposed by the device. .It Vt int pbm_bar_off Reports offset from the mapped base to the start of the