Index: pciconf.8 =================================================================== RCS file: /home/ncvs/src/usr.sbin/pciconf/pciconf.8,v retrieving revision 1.22 diff -u -r1.22 pciconf.8 --- pciconf.8 2002/09/17 18:10:39 1.22 +++ pciconf.8 2002/11/24 01:30:28 @@ -108,11 +108,10 @@ device, which contains several (similar or independent) functions on one chip. .Pp -The -.Fl l -option is the only one available to non-root users. -All other invocations of +All invocations of .Nm +except for +.Fl l require a .Ar selector of the form @@ -163,6 +162,13 @@ .Fl h indicates a halfword (two-byte) operation. The default is to read or write a longword (four bytes). +.Pp +.Sh NOTE +.Nm +is limited to users with right access to +.Em /dev/pci , +usually +.Em root . .Sh ENVIRONMENT The PCI vendor/device information database is normally read from .Pa /usr/share/misc/pci_vendors . @@ -170,7 +176,8 @@ .Ev PCICONF_VENDOR_DATABASE . .Sh SEE ALSO .Xr ioctl 2 , -.\" .Xr pci 4 , +.Xr pci 4 , +.Xr devinfo 8 , .Xr kldload 8 .Sh HISTORY The @@ -200,15 +207,3 @@ .Nm , but not in the underlying .Xr ioctl 2 . -.Pp -It might be useful to give non-root users access to the -.Fl a -and -.Fl r -options. -But only root will be able to execute a -.Nm kldload -to provide the device with a driver KLD, and reading of configuration space -registers may cause a failure in badly designed -.Tn PCI -chips.