summaryrefslogtreecommitdiff
path: root/sys/pci/if_en_pci.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2000-03-27 18:32:45 +0000
committerWarner Losh <imp@FreeBSD.org>2000-03-27 18:32:45 +0000
commit76fbc068b8a31546df0d53f547cb6d454ef944e8 (patch)
tree0ff2cd2b525ce28102d5fc22c547cfaa8e2d06e4 /sys/pci/if_en_pci.c
parent758aca682ca70669ae57ccef91befe17f9165783 (diff)
Notes
Diffstat (limited to 'sys/pci/if_en_pci.c')
-rw-r--r--sys/pci/if_en_pci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/pci/if_en_pci.c b/sys/pci/if_en_pci.c
index a72a292e874a..5212499ce213 100644
--- a/sys/pci/if_en_pci.c
+++ b/sys/pci/if_en_pci.c
@@ -45,6 +45,10 @@
* thanks to Matt Thomas for figuring out FreeBSD vs NetBSD vs etc.. diffs.
*/
+#ifndef COMPAT_OLDPCI
+#error "The en device requires the old pci compatibility shims"
+#endif
+
#include "en.h"
#include <sys/param.h>