diff options
author | ken <ken@FreeBSD.org> | 1999-12-08 17:44:04 +0000 |
---|---|---|
committer | ken <ken@FreeBSD.org> | 1999-12-08 17:44:04 +0000 |
commit | cdf669dd0c4c5349e23a6a7b332274e7ce22ed95 (patch) | |
tree | 6f72060e6e960edfc33f6b93c4adb3a488dd32bf /sys/dev/pci | |
parent | 9c42a64866402347e4236cd8093f94f654bae318 (diff) | |
download | FreeBSD-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 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/pci.c | 2 | ||||
-rw-r--r-- | sys/dev/pci/pcivar.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index a65249b..d7c6b41 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -54,7 +54,7 @@ #include <pci/pcireg.h> #include <pci/pcivar.h> -#include <pci/pci_ioctl.h> +#include <sys/pciio.h> #ifdef APIC_IO #include <machine/smp.h> diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h index 31cea00..510e96f 100644 --- a/sys/dev/pci/pcivar.h +++ b/sys/dev/pci/pcivar.h @@ -34,7 +34,6 @@ #define PCI_COMPAT #endif -#include <pci/pci_ioctl.h> /* XXX KDM */ #include <sys/queue.h> /* some PCI bus constants */ |