summaryrefslogtreecommitdiffstats
path: root/sys/pci/amd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/amd.c')
-rw-r--r--sys/pci/amd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/pci/amd.c b/sys/pci/amd.c
index decdfc3..3d172f3 100644
--- a/sys/pci/amd.c
+++ b/sys/pci/amd.c
@@ -50,6 +50,10 @@
/* #define AMD_DEBUG0 */
/* #define AMD_DEBUG_SCSI_PHASE */
+#ifndef COMPAT_OLDPCI
+#error "The amd device requires the old pci compatibility shims"
+#endif
+
#include <sys/param.h>
#include <sys/systm.h>
OpenPOWER on IntegriCloud