summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-05-28 15:59:52 +0000
committerpeter <peter@FreeBSD.org>2000-05-28 15:59:52 +0000
commit76506d9fe2ec1fbf30910ab2e5af58be135b75f9 (patch)
treec695ecd2622449774273bf68e23e68cc3dae3cec /sys
parentcb68f6fdc05a6e458a724dc69fe05ae5ad9bfcee (diff)
downloadFreeBSD-src-76506d9fe2ec1fbf30910ab2e5af58be135b75f9.zip
FreeBSD-src-76506d9fe2ec1fbf30910ab2e5af58be135b75f9.tar.gz
Warn that this as an oldpci device..
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