summaryrefslogtreecommitdiffstats
path: root/sys/pci/meteor.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-01-17 00:47:46 +0000
committerpeter <peter@FreeBSD.org>2001-01-17 00:47:46 +0000
commit136bb589b55a34b9c00424c70b0776e4322018f7 (patch)
treed884ac45aba8c81796d3ca6278cc751dcca06d32 /sys/pci/meteor.c
parent9cc5c3f0428021956a4a8d5b95d31e2c4d18911d (diff)
downloadFreeBSD-src-136bb589b55a34b9c00424c70b0776e4322018f7.zip
FreeBSD-src-136bb589b55a34b9c00424c70b0776e4322018f7.tar.gz
Special case for compiling LINT - just give a warning and continue on.
At least we have a chance at getting test compile coverage for the rest of the kernel now.
Diffstat (limited to 'sys/pci/meteor.c')
-rw-r--r--sys/pci/meteor.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/pci/meteor.c b/sys/pci/meteor.c
index b3cbc0b..d9fe31a 100644
--- a/sys/pci/meteor.c
+++ b/sys/pci/meteor.c
@@ -145,6 +145,10 @@
future version of this driver.
*/
+#ifdef COMPILING_LINT
+#warning "The meteor driver is broken and is not compiled with LINT"
+#else
+
#include "meteor.h"
#include "opt_meteor.h"
@@ -2120,3 +2124,4 @@ meteor_mmap(dev_t dev, vm_offset_t offset, int nprot)
return i386_btop(vtophys(mtr->bigbuf) + offset);
}
+#endif
OpenPOWER on IntegriCloud