summaryrefslogtreecommitdiffstats
path: root/sys/pci/adw_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/adw_pci.c')
-rw-r--r--sys/pci/adw_pci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/pci/adw_pci.c b/sys/pci/adw_pci.c
index 10eda81..97269df 100644
--- a/sys/pci/adw_pci.c
+++ b/sys/pci/adw_pci.c
@@ -31,6 +31,10 @@
* $FreeBSD$
*/
+#ifndef COMPAT_OLDPCI
+#error "The adw device requires the old pci compatibility shims"
+#endif
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
OpenPOWER on IntegriCloud