]> mj.ucw.cz Git - pciutils.git/commitdiff
Document new filter syntax in man pages
authorMartin Mares <mj@ucw.cz>
Fri, 15 Apr 2022 23:26:19 +0000 (01:26 +0200)
committerMartin Mares <mj@ucw.cz>
Fri, 15 Apr 2022 23:26:19 +0000 (01:26 +0200)
lspci.man
setpci.man

index c12aaa87c6e35dbb5a1f780869cb5816082121e1..624404e8671237dfd75fb1b94bd3a5858a55b67a 100644 (file)
--- 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
index 6fee784b4c82e9256723b142fcf636798cacd334..9e4e1d8a6c44c2963b33449cd1c8ee4dddb191ea 100644 (file)
@@ -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