summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-07-21 05:25:49 +0000
committerpeter <peter@FreeBSD.org>2002-07-21 05:25:49 +0000
commit89dd52cb152309ea6837746e1b25212ede7655e2 (patch)
tree593e79d15028b8a1ba3a994e993843b7e85079b9
parent4a13c91393492858f32e981fcb9b883277d3d233 (diff)
downloadFreeBSD-src-89dd52cb152309ea6837746e1b25212ede7655e2.zip
FreeBSD-src-89dd52cb152309ea6837746e1b25212ede7655e2.tar.gz
Stop abusing NPCI for code that doesn't even work. Emit a warning.
-rw-r--r--sys/i386/isa/stallion.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/i386/isa/stallion.c b/sys/i386/isa/stallion.c
index 5706ea2..ca766c4 100644
--- a/sys/i386/isa/stallion.c
+++ b/sys/i386/isa/stallion.c
@@ -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"
OpenPOWER on IntegriCloud