kettenis
b07261cf1c
Sync output of usage() with man page SYNOPSIS.
...
requested by jmc@
2009-11-06 23:59:14 +00:00
kettenis
2c15f7593a
Implement -r option that dunps the contents of a PCI ROM to file.
...
ok oga@
2009-11-05 20:32:49 +00:00
sobrado
baede216d5
improve spacing in usage()
2009-06-07 21:48:16 +00:00
jmc
068eb62114
sync usage();
2009-06-07 09:50:52 +00:00
deraadt
bfa536673c
Allow pcidump -xxv to work (show all the info)
...
ok phessler
2009-06-05 19:19:02 +00:00
dlg
ae624d2e94
dump pci devices from all the domains available in the system. this gives
...
a proper view of what is plugged into the box, previously only the first
domain was displayed.
from Paul de Weerd <weerd@weirdnet.nl> with help and feedback from
kettenis@. thanks paul :)
2008-10-07 09:23:32 +00:00
kettenis
45d8d13f1b
Stop printing the size of BARs; the way the code calculates it is wrong.
...
We'll need kernel support to do it properly.
ok dlg@
2008-07-23 15:39:52 +00:00
dlg
604e6abea8
pretty print the BARs
2008-04-07 12:12:48 +00:00
reyk
b54d2ef84a
if the device supports the PCI capabilities list and the verbose flag
...
is specified, print all PCI capabilities by name instead of just the
initial capabilities pointer.
ok dlg@ kettenis@
2008-03-15 14:46:13 +00:00
kettenis
6f6b1f1335
PCI devices are specified by bus:dev:func, not dev 🚌 func. Adjust usage
...
and man page.
2008-03-02 17:59:10 +00:00
chl
1f87c86015
remove "unused variable" warning
...
ok kettenis@
2007-11-20 13:56:36 +00:00
kettenis
6e862d19bf
Add support for dumping PCI config space in hex.
...
ok dlg@
2007-11-18 00:33:45 +00:00
kettenis
7551f76608
Add code to print type 1 (PCI-PCI bridge) and type 2 (CardBus bridge) devices.
2007-11-17 18:32:21 +00:00
tobias
6334b9d15c
Max values are 255:31:7 not 256:32:8.
...
OK dlg@, kettenis@
2007-10-25 10:27:21 +00:00
chl
271b14d723
add missing header to avoid warning
...
"commit!" dlg@
2007-10-23 06:57:28 +00:00
deraadt
927c4f3e97
variable does not need init; ok dlg
2007-10-22 20:54:52 +00:00
jasper
55e5c1e021
add RCS id
...
"free commit!" dlg@
2007-10-22 09:26:16 +00:00
deraadt
47851cc6b5
lint says __progname is not const
2007-10-22 01:22:48 +00:00
dlg
d30d053e9f
dmesg prints bus/dev/func locations in decimal, and the command line param
...
to pcidump takes decimals, so print the locations as decimals too. less
confusing, but maybe a bit uglier. ugliness can be fixed later though.
2007-10-22 01:21:30 +00:00
dlg
32891a6786
i wrote most of the code this year, so fix copyright.
2007-10-22 01:13:27 +00:00
dlg
1f68059872
put pcidump in the tree, a little tool for reading the pci configuration
...
spaces.
requested by kettenis@ ok kettenis@ deraadt@ marco@ and lots of others
2007-10-22 01:12:28 +00:00