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