cegger
|
49fc067aae
|
make functions static
|
2009-07-04 20:34:23 +00:00 |
cegger
|
c9c9fcbb99
|
remove unused global variable.
|
2009-07-04 13:54:14 +00:00 |
cegger
|
efe8489506
|
use EXIT_FAILURE in places I missed in previous.
|
2009-07-04 13:50:08 +00:00 |
cegger
|
6face9fc9c
|
- use EXIT_FAILURE, EXIT_SUCCESS
- main() needs no prototype
- ansify usage()
No functional changes.
|
2009-07-04 09:12:46 +00:00 |
lukem
|
9559646817
|
Fix WARNS=4 issues (-Wsign-compare -Wextra)
|
2009-04-18 07:17:16 +00:00 |
joerg
|
997634fe14
|
Fix preamble to match order set out by mdoc(7). Discussed with wiz.
|
2009-03-09 19:24:26 +00:00 |
hubertf
|
82105ff74f
|
Make the output of 'list -n' aligned by always printing 8 hex digits.
Suggested by Nicolas Joly <njoly@pasteur.fr> in private mail.
|
2007-02-08 23:27:07 +00:00 |
hubertf
|
0cc1170149
|
Xref drvctl(8), bump date
|
2007-01-29 00:48:34 +00:00 |
wiz
|
de593fa02d
|
New sentence, new line.
|
2006-10-03 02:08:16 +00:00 |
hubertf
|
fe81bd2f72
|
Add "list -n" to print ID and class numerical, instead of resolving to strings:
miyu% pcictl /dev/pci1 list
001:00:0: ATI Technologies Rage Fury MAXX AGP 4x (TMDS) (VGA display)
miyu% pcictl /dev/pci1 list -n
001:00:0: 0x50461002 (0x3000000)
OK'd by thorpej@
|
2006-10-01 00:13:27 +00:00 |
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 |