aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-01-17 01:21:08 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-01-17 01:21:08 +0000
commit7f12c0b5dfb2dddb9ded5172b632c0fe0eab0e68 (patch)
treeab939a7cc3ed36ed8de2d7b74079fc6a64d34d5e /sys
parenta1c9b755a707acdb12d0ace36b484961d178d861 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/isa/stallion.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/i386/isa/stallion.c b/sys/i386/isa/stallion.c
index 07528a0489a8..2d35463c202e 100644
--- a/sys/i386/isa/stallion.c
+++ b/sys/i386/isa/stallion.c
@@ -55,7 +55,15 @@
#include <machine/comstats.h>
#include "pci.h"
+#ifdef COMPILING_LINT
+#warning "The stallion pci device is broken and not compiled with LINT"
+#undef NPCI
+#define NPCI 0
+#endif
#if NPCI > 0
+#ifndef COMPAT_OLDPCI
+#error "The stallion pci driver requires the old pci compatibility shims"
+#endif
#include <pci/pcivar.h>
#include <pci/pcireg.h>
#endif