Module Name:    src
Committed By:   mrg
Date:           Wed Sep 12 09:46:00 UTC 2018

Modified Files:
        src/share/man/man9: pci.9

Log Message:
- link to pci_mapreg_type() from pci_mapreg_map() for the type argument
- note that 64 bit memory mappings are different to others
- bump date


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/share/man/man9/pci.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man9/pci.9
diff -u src/share/man/man9/pci.9:1.46 src/share/man/man9/pci.9:1.47
--- src/share/man/man9/pci.9:1.46	Mon Jul  3 21:28:48 2017
+++ src/share/man/man9/pci.9	Wed Sep 12 09:45:59 2018
@@ -1,4 +1,4 @@
-.\"     $NetBSD: pci.9,v 1.46 2017/07/03 21:28:48 wiz Exp $
+.\"     $NetBSD: pci.9,v 1.47 2018/09/12 09:45:59 mrg Exp $
 .\"
 .\" Copyright (c) 2001, 2003 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd July 12, 2016
+.Dd September 12, 2018
 .Dt PCI 9
 .Os
 .Sh NAME
@@ -573,13 +573,17 @@ The physical address of the mapping is i
 (BAR) in configuration space specified by
 .Fa reg .
 Valid values for the type of mapping
-.Fa type
+.Fa type ,
+which can be obtained from
+.Fn pci_mapreg_type ,
 are:
 .Bl -tag -width compact
 .It Dv PCI_MAPREG_TYPE_IO
 The mapping should be to I/O address space.
 .It Dv PCI_MAPREG_TYPE_MEM
 The mapping should be to memory address space.
+.It Dv PCI_MAPREG_TYPE_MEM | PCI_MAPREG_MEM_TYPE_64BIT
+The mapping should be to 64-bit memory address space.
 .It Dv PCI_MAPREG_TYPE_ROM
 The mapping is to access ROM.
 This type of mapping is only permitted when the value for

Reply via email to