summaryrefslogtreecommitdiffstats
path: root/sys/pci/alpm.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2000-03-27 18:32:45 +0000
committerimp <imp@FreeBSD.org>2000-03-27 18:32:45 +0000
commit555f22a351f5004bd4d2895057c98c77cd762fd2 (patch)
tree9d3ec66e518c43c9981521b79448556d55b68c94 /sys/pci/alpm.c
parent0c07470770f70fcf4958f45f9065c5cd3f418f2d (diff)
downloadFreeBSD-src-555f22a351f5004bd4d2895057c98c77cd762fd2.zip
FreeBSD-src-555f22a351f5004bd4d2895057c98c77cd762fd2.tar.gz
Per conversations in -current, add #error to these drivers when you don't
have the right compatibility shims enabled. ISA drivers to follow later.
Diffstat (limited to 'sys/pci/alpm.c')
-rw-r--r--sys/pci/alpm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/pci/alpm.c b/sys/pci/alpm.c
index 358a032..7ed28d5 100644
--- a/sys/pci/alpm.c
+++ b/sys/pci/alpm.c
@@ -27,6 +27,10 @@
*
*/
+#ifndef COMPAT_OLDPCI
+#error "The alpm device requires the old pci compatibility shims"
+#endif
+
/*
* Power Management support for the Acer M15x3 chipsets
*/
OpenPOWER on IntegriCloud