From 555f22a351f5004bd4d2895057c98c77cd762fd2 Mon Sep 17 00:00:00 2001 From: imp Date: Mon, 27 Mar 2000 18:32:45 +0000 Subject: Per conversations in -current, add #error to these drivers when you don't have the right compatibility shims enabled. ISA drivers to follow later. --- sys/dev/en/if_en_pci.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/dev/en/if_en_pci.c') diff --git a/sys/dev/en/if_en_pci.c b/sys/dev/en/if_en_pci.c index a72a292..5212499 100644 --- a/sys/dev/en/if_en_pci.c +++ b/sys/dev/en/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 -- cgit v1.1