Stop abusing NPCI for code that doesn't even work. Emit a warning.

This commit is contained in:
Peter Wemm 2002-07-21 05:25:49 +00:00
parent e344afe7c9
commit cd71fd08cc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100433

View File

@ -54,12 +54,8 @@
#include <i386/isa/ic/scd1400.h>
#include <machine/comstats.h>
#include "pci.h"
#ifdef COMPILING_LINT
#warning "The stallion pci device is broken and not compiled with LINT"
#undef NPCI
#warning "The stallion pci attachment is broken and not compiled"
#define NPCI 0
#endif
#if NPCI > 0
#ifndef COMPAT_OLDPCI
#error "The stallion pci driver requires the old pci compatibility shims"