From 76fbc068b8a31546df0d53f547cb6d454ef944e8 Mon Sep 17 00:00:00 2001 From: Warner Losh 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/sr/if_sr_pci.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/dev/sr') diff --git a/sys/dev/sr/if_sr_pci.c b/sys/dev/sr/if_sr_pci.c index 04d0db82c418..50ddb7fcb799 100644 --- a/sys/dev/sr/if_sr_pci.c +++ b/sys/dev/sr/if_sr_pci.c @@ -30,6 +30,10 @@ * $FreeBSD$ */ +#ifndef COMPAT_OLDPCI +#error "The sr device requires the old pci compatibility shims" +#endif + #include "sr.h" #include -- cgit v1.3