summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pciconf
Commit message (Collapse)AuthorAgeFilesLines
* - HT 2.00b added a new flag to the MSI mapping HT capability to indicatejhb2007-04-251-7/+12
| | | | | | | | | | | that the MSI mapping window is fixed at 0xfee00000 and the capability does not include two more dwords used to program the address. Supporting this mostly results in quieting spurious warnings during boot about non-default MSI mapping windows. - HT 2.00b also added a new HT capability type, so support that in pciconf. MFC after: 3 days Tested by: jmg
* - Bump document date.ru2007-02-061-3/+3
| | | | | - Kill whitespace at EOL. - Add missing markup bit.
* - Teach pciconf(8) to list the PCI capabilities supported by each devicejhb2007-02-025-46/+593
| | | | | | | | | | | | | | | | | via a new -c flag to be used with -l. Some simple parsing code is present for the following capabilities: Power Management, AGP, VPD, MSI, PCI-X, HyperTransport, Vendor-specific, EHCI Debug Port, PCI-PCI bridge subvendor ID, PCI-express, and MSI-X. - Fix a few warnings in pciconf.c. - Update some cruft in pciconf(8): - PCI 2.1 is no longer a revolutionary standard, and subvendor ID's are fairly common at this point, so reflect that. - Header type 2 is used for PCI-CardBus bridges. - Describe the -v option for -l after completing the basic -l description instead of disrupting the flow in the middle. Reviewed by: imp (partially) MFC after: 1 week
* Use larger buffers to read lines from the vendor list.des2005-08-181-3/+16
| | | | | | | | | Trim trailing whitespace and comments before parsing, and skip empty lines. Skip subvendor / subdevice entries (which start with two tab characters). Change the scanf() format string to match any amount and type of whitespace between the device ID and the description text. MFC after: 3 weeks
* Whitespace cleanup.des2005-08-181-13/+13
|
* add some additional pci classes and sub-classes..jmg2005-03-261-1/+25
| | | | Reviewed by: imp (almost 6 months ago)
* Revert unintended commit that came in with 3rd clause removalimp2004-08-071-67/+12
|
* Fix syntax error introduced in the last commit.le2004-08-071-2/+2
| | | | | Additionally, since this file is written in C and not in Perl, we need 'continue' instead of 'next'.
* Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived softwareimp2004-08-071-12/+67
| | | | (with permission of addtional copyright holders where appropriate)
* 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
|
OpenPOWER on IntegriCloud