summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/vx/if_vx_pci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/vx/if_vx_pci.c b/sys/dev/vx/if_vx_pci.c
index c9f918d..39ef809 100644
--- a/sys/dev/vx/if_vx_pci.c
+++ b/sys/dev/vx/if_vx_pci.c
@@ -44,6 +44,10 @@
#include <dev/vx/if_vxreg.h>
+#ifndef COMPAT_OLDPCI
+#error "The vx driver requires the old pci compatability shims."
+#endif
+
static void vx_pci_shutdown(void *, int);
static const char *vx_pci_probe(pcici_t, pcidi_t);
static void vx_pci_attach(pcici_t, int unit);
OpenPOWER on IntegriCloud