]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Modify pciconf(8) so that it will print out PCI devices that have no driver
authorken <ken@FreeBSD.org>
Thu, 12 Nov 1998 00:22:30 +0000 (00:22 +0000)
committerken <ken@FreeBSD.org>
Thu, 12 Nov 1998 00:22:30 +0000 (00:22 +0000)
commit0a5629342320bff180a7842a0d6b212c66f307d4
tree791a873eebeac7a60c197805462ad616dbd7a3e1
parent72d94f3752451e5e09da0e1a432eadf2bdb38c7e
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.
usr.sbin/pciconf/pciconf.8
usr.sbin/pciconf/pciconf.c