summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pciconf
Commit message (Collapse)AuthorAgeFilesLines
* Update pciconf man page to indicate that only some of the functionsrwatson2004-01-061-1/+2
| | | | | | in pciconf are limited to the superuser. Requested by: ru
* Only a read-only file descriptor is required to implement list_devs()rwatson2003-12-311-1/+1
| | | | | | | | and list_verbose(), so don't open /dev/pci read-write. This allows pciconf -l[v] to work for non-root users, assuming the securelevel is 0 or -1. Problem experienced by: William Michael Grim <wgrim@siue.edu>
* make pciconf understand it's own output as stated in the manpage.jmg2003-06-201-5/+13
| | | | | | | | pciconf -r none8@pci1:12:2: 0x0 now works. PR: bin/10312 Submitted by: Castor Fu
* Moved $FreeBSD$ tag to where it belongs.ru2003-05-221-1/+2
| | | | Approved by: re (blanket)
* Fix up some grammar.trhodes2003-01-091-2/+2
| | | | Noticed by: sheldonh
* Markup fixes. Document more correctly.trhodes2002-12-141-8/+14
| | | | | PR: 43678 Submitted by: ru
* Use consistent terminology in the usage message, the man pagejdp2002-09-172-10/+10
| | | | | | | | synopsis, and the man page description ("selector" vs. "sel" and "addr" vs. "reg"). Fix the usage message and man page synopsis to show that the "value" argument is not optional.
* mdoc(7) police: Removed redundant .Ns calls.ru2002-08-131-1/+1
|
* The .Nm utilitycharnier2002-07-141-4/+4
|
* mdoc(7) police: make SYNOPSIS really match usage().ru2002-05-301-7/+3
|
* pciconf(8) has an incorrect synopsis which argues the output from thetrhodes2002-05-151-2/+2
| | | | actual program.
* When asked to print bytes (-b option) do that and put 16 on a line.sos2002-02-261-3/+4
|
* Add missing -v option to the SYNOPSIS.sheldonh2001-11-271-1/+1
|
* Spell "FreeBSD" with "F" and "BSD" in uppercase.ru2001-08-131-1/+1
|
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-0/+1
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Remove whitespace at EOL.dd2001-07-151-39/+39
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Support a range of registers to read.imp2001-05-312-10/+38
| | | | | | | | | eg pciconf -r pci0:10:0 0:0xff and keep the output of the old singleton the same. Reviewed by: audit@, dd MFC after: 10 days
* Minor style(9) tweak: if ( instead of if(.imp2001-05-311-3/+3
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-1/+1
|
* Update for new location of pcireg.h.msmith2000-12-091-1/+1
|
* Update to improve handling of verbose PCI vendor/device information.msmith2000-12-074-4504/+240
| | | | | | | - Read the database from /usr/share/misc (or wherever else we're pointed) rather than compiling it in. - Decode the class/subclass fields if requested. - Print things in a slightly longer but more readable format.
* mdoc(7) police: do not split author names in the AUTHORS section.ru2000-11-221-0/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-5/+9
|
* Add support for decoding the PCI vendor and device ID registers. Add amsmith2000-11-133-7/+4522
| | | | | | database of about 1400 vendors and 2700 devices courtesy of www.yourvote.com/pci. We still need to add some more, but this is a good start.
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-5/+10
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* [ repository copy of sys/pci/pci_ioctl.h to sys/sys/pciio.h happened in theken1999-12-081-3/+1
| | | | | | | | | | | | | | | | | background ] Rename sys/pci/pci_ioctl.h to sys/sys/pciio.h to make it easier for userland programs to use this interface. Reformat the file, and add a BSD-style copyright to it. Add a new man page for pci(4). The PCIOCGETCONF, PCIOCREAD, and PCIOCWRITE ioctls are documented, but the PCIOCATTACHED ioctl is not documented because it is not implemented. Change includes of <pci/pci_ioctl.h> to <sys/pciio.h> or remove them altogether. In many cases, pci_ioctl.h was unused. Reviewed by: steve
* .Fn -> .Xrcharnier1999-11-272-3/+3
| | | | Do not start warn() message with uppercase.
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Fix a few problems on the Alpha, and fix -Wall while here.peter1999-08-231-5/+5
| | | | | | | Before: isab0@pci0:8:0: class=0x060100 card=0x00000000 chip=0xffffffffc6931080 ... After: isab0@pci0:8:0: class=0x060100 card=0x00000000 chip=0xc6931080 ...
* Replace LKM with KLD.ghelmer1999-04-061-5/+5
| | | | Submitted by: Nathan Ahlstrom <nrahlstr@winternet.com>
* Modify pciconf(8) so that it will print out PCI devices that have no driverken1998-11-122-9/+19
| | | | | | | | | | | | | | configured in the kernel. It gives them a device name of "none" and monotonically incrementing unit numbers. (starting at 0) Before, pciconf would just skip over unconfigured devices. (unconfigured devices can be detected because they have a null string for a device name) Update the man page to reflect the new pciconf output. Unfortunately, this causes the sample 'pciconf -l' output lines to wrap, but I'm not sure what to do about that really. If anyone presents a reasonable case for printing out something other than "none1" for unconfigured devices, I'm willing to listen.
* Revive PCIConf.gibbs1998-09-151-14/+44
| | | | Submitted by: "Kenneth D. Merry" <ken@plutotech.com>
* Sync usage string with man page.charnier1997-10-062-17/+25
|
* Unbreak this file some more:wpaul1997-07-141-1/+1
| | | | | | CFLAGS=+-I${.CURDIR}/../../sys -> CFLAGS+= -I${.CURDIR}/../../sys Asked about on BSDnet:#FreeBSD by: philw@dream.webmaster.com (Phillip White)
* Unbreak it. Apparently I forgot to do a make clean when testing :-(guido1997-07-141-0/+1
| | | | Unfortunately, Makefile is not included in .depend.
* Remove -I/sysguido1997-07-131-1/+0
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-311-1/+1
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Oops, get the name of the new manpage right.bde1997-02-171-1/+1
|
* Actually install the new manpage.bde1997-02-121-1/+0
|
* Man page for the pciconf utility. There really should be somese1997-02-111-0/+182
| | | | | | documentation on the ioctl() interface provided by /dev/pci ... Reviewed by: wollman
* Add PCI LKM support:New -a option checks whether a driver has been assigned ↵se1997-01-211-6/+39
| | | | to a device.
* Fix core dump after printing usage message (pointed out by BDE).se1996-11-161-2/+3
| | | | | | Add printing of PCI header type register. (This makes the output 80 columns wide. Ughh. I'm looking for a better way to put the information on one line ...)
* Initial version of the user land code for the PCI config registerse1996-10-223-0/+213
access functions. Written by Garrett Wollman and modified by me to better match my view of the (PCI) world. Submitted by: wollman
OpenPOWER on IntegriCloud