| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
| |
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 ...
|
|
|
|
| |
Submitted by: Nathan Ahlstrom <nrahlstr@winternet.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
| |
CFLAGS=+-I${.CURDIR}/../../sys -> CFLAGS+= -I${.CURDIR}/../../sys
Asked about on BSDnet:#FreeBSD by: philw@dream.webmaster.com (Phillip White)
|
|
|
|
| |
Unfortunately, Makefile is not included in .depend.
|
| |
|
|
|
|
| |
posix standard on the topic.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
documentation on the ioctl() interface provided by /dev/pci ...
Reviewed by: wollman
|
|
|
|
| |
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
|