X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=pcilib.man;h=b4c9f5617669fc770c9c1b19575b46c99b6823a2;hb=3444b81f6b0e83eacb391e10b41f9a7b60e66f4e;hp=d9d8a0a9265c50ae07f824c13e258f92f354245e;hpb=40e253d7569396db6a12245fc0b0d204263a2a71;p=pciutils.git diff --git a/pcilib.man b/pcilib.man index d9d8a0a..b4c9f56 100644 --- a/pcilib.man +++ b/pcilib.man @@ -1,5 +1,4 @@ .TH pcilib 7 "@TODAY@" "@VERSION@" "The PCI Utilities" -.IX pcilib .SH NAME pcilib \- a library for accessing PCI devices @@ -41,6 +40,20 @@ on Linux, Solaris/x86, GNU Hurd, Windows, BeOS and Haiku. Requires root privileg is able to address only the first 16 devices on any bus and it seems to be very unreliable in many cases. .TP +.B mmio-conf1 +Direct hardware access via Intel configuration mechanism 1 via memory-mapped I/O. +Mostly used on non-i386 platforms. Requires root privileges. Warning: This method +needs to be properly configured via the +.B mmio-conf1.addrs +parameter. +.TP +.B mmio-conf1-ext +Direct hardware access via Extended PCIe Intel configuration mechanism 1 via memory-mapped I/O. +Mostly used on non-i386 platforms. Requires root privileges. Warning: This method +needs to be properly configured via the +.B mmio-conf1-ext.addrs +parameter. +.TP .B fbsd-device The .B /dev/pci @@ -63,6 +76,52 @@ 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. +.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. +.TP +.B win32-kldbg +Access to the PCI configuration space via Kernel Local Debugging Driver +kldbgdrv.sys. This driver is not part of the Windows system but is part of +the Microsoft WinDbg tool. It is required to have kldbgdrv.sys driver installed +in the system32 directory or to have windbg.exe or kd.exe binary in PATH. +kldbgdrv.sys driver has some restrictions. Process needs to have Debug privilege +and Windows system has to be booted with Debugging option. Debugging option can +be enabled by calling (takes effect after next boot): +.B bcdedit /debug on +.IP +Download links for WinDbg 6.12.2.633 standalone installer from Microsoft Windows +SDK for Windows 7 and .NET Framework 4: +.br +amd64: https://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/setup/WinSDKDebuggingTools_amd64/dbg_amd64.msi +.br +ia64: https://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/setup/WinSDKDebuggingTools_ia64/dbg_ia64.msi +.br +x86: https://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/setup/WinSDKDebuggingTools/dbg_x86.msi +.IP +Archived download links of previous WinDbg versions: +.br +https://web.archive.org/web/20110221133326/https://www.microsoft.com/whdc/devtools/debugging/installx86.mspx +.br +https://web.archive.org/web/20110214012715/https://www.microsoft.com/whdc/devtools/debugging/install64bit.mspx .SH PARAMETERS @@ -91,6 +150,21 @@ Path to the procfs bus tree. .TP .B sysfs.path Path to the sysfs device tree. +.TP +.B devmem.path +Path to the /dev/mem device. +.TP +.B mmio-conf1.addrs +Physical addresses of memory-mapped I/O ports for Intel configuration mechanism 1. +CF8 (address) and CFC (data) I/O port addresses are separated by slash and +multiple addresses for different PCI domains are separated by commas. +Format: 0xaddr1/0xdata1,0xaddr2/0xdata2,... +.TP +.B mmio-conf1-ext.addrs +Physical addresses of memory-mapped I/O ports for Extended PCIe Intel configuration mechanism 1. +It has same format as +.B mmio-conf1.addrs +parameter. .SS Parameters for resolving of ID's via DNS .TP @@ -100,10 +174,16 @@ DNS domain containing the ID database. .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), +.BR pci.ids (5), .BR update-pciids (8) .SH AUTHOR