.B setpci
is a utility for querying and configuring PCI devices.
-To make use of all the features of this program, you need to have Linux kernel
-2.1.82 or newer which supports the /proc/bus/pci interface. With older kernels,
-the PCI utilities have to use direct hardware access which is available
-only to root and it suffers from numerous race conditions and other problems.
-
All numbers are entered in hexadecimal notation.
.SH OPTIONS
to see what your complex sequence of
.B setpci
operations does before you actually execute it.
+.TP
+.B --version
+Shows
+.I setpci
+version. This option should be used standalone.
+
.SH DEVICE SELECTION
.PP
.TP
.B -P <dir>
-Use Linux 2.1 style configuration access to directory
+Force use of Linux /proc/bus/pci style configuration access, using
.B <dir>
instead of /proc/bus/pci. (Linux 2.1 or newer only)
.TP
.PP
`setpci -s 0 device_id vendor_id' lists ID's of devices in slot 0 in all busses.
.PP
-`setpci -s 12:3.4 34.l=1,2,3' writes longword 1 to register 34, 2 to register 35
-and 3 to register 35 of device at bus 12, slot 3, function 4.
+`setpci -s 12:3.4 3c.l=1,2,3' writes longword 1 to register 3c, 2 to register 3d
+and 3 to register 3e of device at bus 12, slot 3, function 4.
.SH SEE ALSO
.BR lspci (8)
.SH AUTHOR
-The Linux PCI Utilities are maintained by Martin Mares <mj@atrey.karlin.mff.cuni.cz>.
+The Linux PCI Utilities are maintained by Martin Mares <mj@ucw.cz>.