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 #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 #include #endif