]> mj.ucw.cz Git - pciutils.git/blobdiff - setpci.man
Merge pull request #176 from OscarL/haiku-build-fix
[pciutils.git] / setpci.man
index 27dc958b75b007f453416d7fb248009f4af7f944..fd4495f4d1b4e740af207b22cd33eca024e82277 100644 (file)
@@ -45,6 +45,13 @@ to verify that your complex sequence of
 .B setpci
 operations does what you think it should do.
 .TP
+.B -r
+Avoids bus scan if each operation selects a specific device (uses the
+.B -s
+selector with specific domain, bus, slot, and function). This is faster,
+but if the device does not exist, it fails instead of matching an empty
+set of devices.
+.TP
 .B --version
 Show
 .I setpci
@@ -71,7 +78,7 @@ available methods and their descriptions.
 .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
@@ -99,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
@@ -127,7 +135,7 @@ are hexadecimal numbers. In the latter case, only the bits corresponding to bina
 ones in the \fImask\fP are changed (technically, this is a read-modify-write operation).
 
 .PP
-There are several ways how to identity a register:
+There are several ways to identify a register:
 .IP \(bu
 Tell its address in hexadecimal.
 .IP \(bu