Commit Graph

10 Commits

Author SHA1 Message Date
bsh
2abd1dd123 avoid very long loop when you run pcictl on a PCI bus which has no devices on it. 2006-08-24 07:30:16 +00:00
kleink
9ef6a94e02 Update for new pci_devinfo(3) signature. 2004-04-24 13:41:51 +00:00
jmmv
b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
yyamano
9d1bacfdb9 fix typo. 2003-08-18 16:12:58 +00:00
grant
eda9e509bb sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:40:16 +00:00
tron
4c61cd90ba Don't abuse opendisk(3) to open PCI bus devices which are no disks. This
fixes PR bin/14468 by Valeriy E. Ushakov.
2001-11-08 08:05:05 +00:00
joda
f51bc9e68b use strtol instead of atoi to catch non numeric values 2001-09-17 10:05:57 +00:00
thorpej
8b531ac998 By poppular demand, don't wildcard "bus" on the "list" command
by default.
2001-09-15 18:35:00 +00:00
thorpej
477798fcac Fix missing : in a getopt() string. 2001-09-14 17:28:36 +00:00
thorpej
0c91ac689b pcictl(8) -- a program for frobbing the PCI bus, and also an example
of how to use libpci.

Currently has "list" (list devices within a PCI domain) and "dump" (dump
PCI configuration header for a device) sub-commands.
2001-09-13 23:51:04 +00:00