]> mj.ucw.cz Git - pciutils.git/blobdiff - pcilib.man
lspci: Add support for CXL GPF Device DVSEC
[pciutils.git] / pcilib.man
index 6cf56825fe75c1e452187be2f0254a33ec826f91..115f1f350423d03cc0047777c445cb91faf3f39d 100644 (file)
@@ -1,5 +1,4 @@
 .TH pcilib 7 "@TODAY@" "@VERSION@" "The PCI Utilities"
 .TH pcilib 7 "@TODAY@" "@VERSION@" "The PCI Utilities"
-.IX pcilib
 .SH NAME
 pcilib \- a library for accessing PCI devices
 
 .SH NAME
 pcilib \- a library for accessing PCI devices
 
@@ -21,8 +20,9 @@ of \fIlspci\fP).
 The
 .B /sys
 filesystem on Linux 2.6 and newer. The standard header of the config space is available
 The
 .B /sys
 filesystem on Linux 2.6 and newer. The standard header of the config space is available
-to all users, the rest only to root. Supports extended configuration space, PCI domains
-and information on attached kernel drivers.
+to all users, the rest only to root. Supports extended configuration space, PCI domains,
+VPD (from Linux 2.6.26), physical slots (also since Linux 2.6.26) and information on attached
+kernel drivers.
 .TP
 .B linux-proc
 The
 .TP
 .B linux-proc
 The
@@ -32,11 +32,11 @@ to all users, the rest only to root.
 .TP
 .B intel-conf1
 Direct hardware access via Intel configuration mechanism 1. Available on i386 and compatibles
 .TP
 .B intel-conf1
 Direct hardware access via Intel configuration mechanism 1. Available on i386 and compatibles
-on Linux, Solaris/x86, GNU Hurd and Windows. Requires root privileges.
+on Linux, Solaris/x86, GNU Hurd, Windows, BeOS and Haiku. Requires root privileges.
 .TP
 .B intel-conf2
 Direct hardware access via Intel configuration mechanism 2. Available on i386 and compatibles
 .TP
 .B intel-conf2
 Direct hardware access via Intel configuration mechanism 2. Available on i386 and compatibles
-on Linux, Solaris/x86, GNU Hurd and Windows. Requires root privileges. Warning: This method
+on Linux, Solaris/x86, GNU Hurd, Windows, BeOS and Haiku. Requires root privileges. Warning: This method
 is able to address only the first 16 devices on any bus and it seems to be very
 unreliable in many cases.
 .TP
 is able to address only the first 16 devices on any bus and it seems to be very
 unreliable in many cases.
 .TP
@@ -62,6 +62,27 @@ device on OpenBSD. Requires root privileges.
 Read the contents of configuration registers from a file specified in the
 .B dump.name
 parameter. The format corresponds to the output of \fIlspci\fP \fB-x\fP.
 Read the contents of configuration registers from a file specified in the
 .B dump.name
 parameter. The format corresponds to the output of \fIlspci\fP \fB-x\fP.
+.TP
+.B darwin
+Access method used on Mac OS X / Darwin. Must be run as root and the system
+must have been booted with debug=0x144.
+.TP
+.B win32-cfgmgr32
+Device listing on Windows systems using the Windows Configuration Manager
+via cfgmgr32.dll system library. This method does not require any special
+Administrator rights or privileges. Configuration Manager provides only basic
+information about devices, assigned resources and device tree structure. There
+is no access to the PCI configuration space but libpci provides read-only
+virtual emulation based on information from Configuration Manager. Starting
+with Windows 8 (NT 6.2) it is not possible to retrieve resources from 32-bit
+application or library on 64-bit system.
+.TP
+.B win32-sysdbg
+Access to the PCI configuration space via NT SysDbg interface on Windows
+systems. Process needs to have Debug privilege, which local Administrators
+have by default. Not available on 64-bit systems and neither on recent 32-bit
+systems. Only devices from the first domain are accessible and only first
+256 bytes of the PCI configuration space is accessible via this method.
 
 .SH PARAMETERS
 
 
 .SH PARAMETERS
 
@@ -99,10 +120,16 @@ DNS domain containing the ID database.
 .B net.cache_name
 Name of the file used for caching of resolved ID's.
 
 .B net.cache_name
 Name of the file used for caching of resolved ID's.
 
+.SS Parameters for resolving of ID's via UDEV's HWDB
+.TP
+.B hwdb.disable
+Disable use of HWDB if set to a non-zero value.
+
 .SH SEE ALSO
 
 .BR lspci (8),
 .BR setpci (8),
 .SH SEE ALSO
 
 .BR lspci (8),
 .BR setpci (8),
+.BR pci.ids (5),
 .BR update-pciids (8)
 
 .SH AUTHOR
 .BR update-pciids (8)
 
 .SH AUTHOR