aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2022-04-16 01:26:19 +0200
committerMartin Mares <mj@ucw.cz>2022-04-16 01:26:19 +0200
commit2c32712a1b78818c4d3fd6dc814bc505ba78f52c (patch)
tree32adc91a3918bc291daea46de50f0cbdbc2012e6
parent511122b83c127487f3aa1d27c7a5977d033454e2 (diff)
downloadpciutils-2c32712a1b78818c4d3fd6dc814bc505ba78f52c.tar.gz
Document new filter syntax in man pages
-rw-r--r--lspci.man8
-rw-r--r--setpci.man7
2 files changed, 8 insertions, 7 deletions
diff --git a/lspci.man b/lspci.man
index c12aaa8..624404e 100644
--- a/lspci.man
+++ b/lspci.man
@@ -142,10 +142,10 @@ hexadecimal. E.g., "0:" means all devices on bus 0, "0" means all functions of
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>][:<class>]
-Show only devices with specified vendor, device and class ID. The 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
diff --git a/setpci.man b/setpci.man
index 6fee784..9e4e1d8 100644
--- a/setpci.man
+++ b/setpci.man
@@ -106,9 +106,10 @@ hexadecimal. E.g., "0:" means all devices on bus 0, "0" means all functions of
on any bus, "0.3" selects third function of device 0 on all buses and ".4" matches only
the fourth function of each device.
.TP
-.B -d [<vendor>]:[<device>]
-Select 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>]]
+Select 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".
.PP
When
.B -s