| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
pciconf -r none8@pci1:12:2: 0x0
now works.
PR: bin/10312
Submitted by: Castor Fu
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Do not start warn() message with uppercase.
|
| |
|
|
|
|
|
|
|
| |
Before:
isab0@pci0:8:0: class=0x060100 card=0x00000000 chip=0xffffffffc6931080 ...
After:
isab0@pci0:8:0: class=0x060100 card=0x00000000 chip=0xc6931080 ...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Submitted by: "Kenneth D. Merry" <ken@plutotech.com>
|
| |
|
|
|
|
| |
posix standard on the topic.
|
|
|
|
| |
to a device.
|
|
|
|
|
|
| |
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 ...)
|
|
access functions. Written by Garrett Wollman and modified by me to
better match my view of the (PCI) world.
Submitted by: wollman
|