summaryrefslogtreecommitdiffstats
path: root/sys/pci/meteor.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-07-03 20:17:08 +0000
committerpeter <peter@FreeBSD.org>1999-07-03 20:17:08 +0000
commite5f4c63f137412a3f0691e64764e14569e7980db (patch)
tree2214af4f0dd363ebb3955ef6675f2e07918ae16b /sys/pci/meteor.c
parent7afdd102ca81aa50337adf724b0a330ca4120544 (diff)
downloadFreeBSD-src-e5f4c63f137412a3f0691e64764e14569e7980db.zip
FreeBSD-src-e5f4c63f137412a3f0691e64764e14569e7980db.tar.gz
Eliminate a bunch of #include "pci.h" and #if NPCI > 0 around entire
files. config will leave the whole file out if configured to do so.
Diffstat (limited to 'sys/pci/meteor.c')
-rw-r--r--sys/pci/meteor.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/pci/meteor.c b/sys/pci/meteor.c
index 804e2e7..f96c1e2 100644
--- a/sys/pci/meteor.c
+++ b/sys/pci/meteor.c
@@ -147,7 +147,6 @@
#include "meteor.h"
-#if NMETEOR > 0
#include "opt_devfs.h"
#include "opt_meteor.h"
@@ -171,11 +170,8 @@
#include <vm/pmap.h>
#include <vm/vm_extern.h>
-#include "pci.h"
-#if NPCI > 0
#include <pci/pcivar.h>
#include <pci/pcireg.h>
-#endif
#include <machine/ioctl_meteor.h>
#include <pci/meteor_reg.h>
@@ -2134,5 +2130,3 @@ meteor_mmap(dev_t dev, vm_offset_t offset, int nprot)
return i386_btop(vtophys(mtr->bigbuf) + offset);
}
-
-#endif /* NMETEOR > 0 */
OpenPOWER on IntegriCloud