summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pciconf
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>1999-12-08 17:44:04 +0000
committerken <ken@FreeBSD.org>1999-12-08 17:44:04 +0000
commitcdf669dd0c4c5349e23a6a7b332274e7ce22ed95 (patch)
tree6f72060e6e960edfc33f6b93c4adb3a488dd32bf /usr.sbin/pciconf
parent9c42a64866402347e4236cd8093f94f654bae318 (diff)
downloadFreeBSD-src-cdf669dd0c4c5349e23a6a7b332274e7ce22ed95.zip
FreeBSD-src-cdf669dd0c4c5349e23a6a7b332274e7ce22ed95.tar.gz
[ repository copy of sys/pci/pci_ioctl.h to sys/sys/pciio.h happened in the
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
Diffstat (limited to 'usr.sbin/pciconf')
-rw-r--r--usr.sbin/pciconf/pciconf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/pciconf/pciconf.c b/usr.sbin/pciconf/pciconf.c
index d137fbd..5def839 100644
--- a/usr.sbin/pciconf/pciconf.c
+++ b/usr.sbin/pciconf/pciconf.c
@@ -40,9 +40,7 @@ static const char rcsid[] =
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-
-#include <pci/pcivar.h>
-#include <pci/pci_ioctl.h>
+#include <sys/pciio.h>
#include "pathnames.h"
OpenPOWER on IntegriCloud