diff options
-rw-r--r-- | sys/i386/isa/stallion.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/i386/isa/stallion.c b/sys/i386/isa/stallion.c index 07528a0..2d35463 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 |