Commit Graph

15 Commits

Author SHA1 Message Date
Guy Helmer
589228bd6a Replace LKM with KLD.
Submitted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
1999-04-06 14:04:37 +00:00
Kenneth D. Merry
7f054c59a5 Modify pciconf(8) so that it will print out PCI devices that have no driver
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.
1998-11-12 00:22:30 +00:00
Justin T. Gibbs
06915ea69a Revive PCIConf.
Submitted by:	"Kenneth D. Merry" <ken@plutotech.com>
1998-09-15 08:21:13 +00:00
Philippe Charnier
fbe2a70d6b Sync usage string with man page. 1997-10-06 11:38:30 +00:00
Bill Paul
4dbcd98832 Unbreak this file some more:
CFLAGS=+-I${.CURDIR}/../../sys -> CFLAGS+= -I${.CURDIR}/../../sys

Asked about on BSDnet:#FreeBSD by: philw@dream.webmaster.com (Phillip White)
1997-07-14 19:57:50 +00:00
Guido van Rooij
ff196a51e4 Unbreak it. Apparently I forgot to do a make clean when testing :-(
Unfortunately, Makefile is not included in .depend.
1997-07-14 15:10:34 +00:00
Guido van Rooij
11523cf5fb Remove -I/sys 1997-07-13 11:51:42 +00:00
Warner Losh
6c3f552a31 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-31 05:11:47 +00:00
Peter Wemm
476602a9d0 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
Bruce Evans
ff51e85069 Oops, get the name of the new manpage right. 1997-02-17 04:38:05 +00:00
Bruce Evans
469321d858 Actually install the new manpage. 1997-02-12 03:36:10 +00:00
Stefan Eßer
da4e00105e Man page for the pciconf utility. There really should be some
documentation on the ioctl() interface provided by /dev/pci ...

Reviewed by:	wollman
1997-02-11 22:08:22 +00:00
Stefan Eßer
b755685be8 Add PCI LKM support:New -a option checks whether a driver has been assigned to a device. 1997-01-21 23:29:15 +00:00
Stefan Eßer
b1427fd412 Fix core dump after printing usage message (pointed out by BDE).
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 ...)
1996-11-16 22:05:52 +00:00
Stefan Eßer
d5ee39ef58 Initial version of the user land code for the PCI config register
access functions. Written by Garrett Wollman and modified by me to
better match my view of the (PCI) world.

Submitted by:	wollman
1996-10-22 20:27:47 +00:00