.TH lspci 8 "@TODAY@" "@VERSION@" "The PCI Utilities"
-.IX lspci
.SH NAME
lspci \- list all PCI devices
.SH SYNOPSIS
.B -D
Always show PCI domain numbers. By default, lspci suppresses them on machines which
have only domain 0.
+.TP
+.B -P
+Identify PCI devices by path through each bridge, instead of by bus number.
+.TP
+.B -PP
+Identify PCI devices by path through each bridge, showing the bus number as
+well as the device number.
.SS Options to control resolving ID's to names
.TP
.SS Options for selection of devices
.TP
-.B -s [[[[<domain>]:]<bus>]:][<slot>][.[<func>]]
+.B -s [[[[<domain>]:]<bus>]:][<device>][.[<func>]]
Show only devices in the specified domain (in case your machine has several host bridges,
they can either share a common bus number space or each of them can address a PCI domain
-of its own; domains are numbered from 0 to ffff), bus (0 to ff), slot (0 to 1f) and function (0 to 7).
+of its own; domains are numbered from 0 to ffff), bus (0 to ff), device (0 to 1f) and function (0 to 7).
Each component of the device address can be omitted or set to "*", both meaning "any value". All numbers are
hexadecimal. E.g., "0:" means all devices on bus 0, "0" means all functions of device 0
on any bus, "0.3" selects third function of device 0 on all buses and ".4" shows only
the fourth function of each device.
.TP
-.B -d [<vendor>]:[<device>]
-Show only devices with specified vendor and device ID. Both ID's are given in
-hexadecimal and may be omitted or given as "*", both meaning "any value".
+.B -d [<vendor>]:[<device>][:<class>[:<prog-if>]]
+Show only devices with specified vendor, device, class ID, and programming interface.
+The ID's are given in hexadecimal and may be omitted or given as "*", both meaning
+"any value". The class ID can contain "x" characters which stand for "any digit".
.SS Other options
.TP
.TP
.B -M
Invoke bus mapping mode which performs a thorough scan of all PCI devices, including
-those behind misconfigured bridges etc. This option is available only to root and it
-gives meaningful results only if combined with direct hardware access mode (otherwise
-the results are identical to normal listing modes, modulo bugs in lspci). Please note
-that the bus mapper doesn't support PCI domains and scans only domain 0.
+those behind misconfigured bridges, etc. This option gives meaningful results only
+with a direct hardware access mode, which usually requires root privileges.
+By default, the bus mapper scans domain. You can use the
+.B -s
+option to select a different domain.
.TP
.B --version
Shows
.TP
.B -O <param>=<value>
The behavior of the library is controlled by several named parameters.
-This option allows to set the value of any of the parameters. Use \fB-O help\fP
+This option allows one to set the value of any of the parameters. Use \fB-O help\fP
for a list of known parameters and their default values.
.TP
.B -H1
.B SDevice
Name of the subsystem (optional).
+.TP
+.B PhySlot
+The physical slot where the device resides (optional, Linux only).
+
.TP
.B Rev
Revision number (optional).
.TP
.B Module
Kernel module reporting that it is capable of handling the device
-(optional, Linux only).
+(optional, Linux only). Multiple lines with this tag can occur.
+
+.TP
+.B NUMANode
+NUMA node this device is connected to (optional, Linux only).
+
+.TP
+.B IOMMUGroup
+IOMMU group that this device is part of (optional, Linux only).
.P
New tags can be added in future versions, so you should silently ignore any tags you don't recognize.
.TP
.B @IDSDIR@/pci.ids
A list of all known PCI ID's (vendors, devices, classes and subclasses). Maintained
-at http://pciids.sourceforge.net/, use the
+at https://pci-ids.ucw.cz/, use the
.B update-pciids
utility to download the most recent version.
.TP
.SH SEE ALSO
.BR setpci (8),
+.BR pci.ids (5),
.BR update-pciids (8),
.BR pcilib (7)