git: cc05f8de571d - main - pci.4: Update the information on pci_bar_mmap to match pciio.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 02 Apr 2025 19:48:36 UTC
The branch main has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=cc05f8de571dcb9f8c64a4151d7a5567873295e3 commit cc05f8de571dcb9f8c64a4151d7a5567873295e3 Author: Navdeep Parhar <np@FreeBSD.org> AuthorDate: 2025-04-02 19:15:46 +0000 Commit: Navdeep Parhar <np@FreeBSD.org> 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