X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=setpci.man;h=f12f0287f24c914d6354cf863aeb0a9397254445;hb=239ff18adf556b63a16be968725ba9fd0e6d5227;hp=865e9b624728c4563fdf481cdc5dd2164aa102ab;hpb=727ce158868ed101006ecc5d3dd3faede927165c;p=pciutils.git diff --git a/setpci.man b/setpci.man index 865e9b6..f12f028 100644 --- a/setpci.man +++ b/setpci.man @@ -13,11 +13,6 @@ setpci \- configure PCI devices .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 @@ -42,6 +37,12 @@ It's useful to try 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 @@ -162,7 +163,7 @@ it's supported in. .TP .B -P -Use Linux 2.1 style configuration access to directory +Force use of Linux /proc/bus/pci style configuration access, using .B instead of /proc/bus/pci. (Linux 2.1 or newer only) .TP @@ -192,11 +193,11 @@ Increase debug level of the library. (All systems) .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 . +The Linux PCI Utilities are maintained by Martin Mares .