summaryrefslogtreecommitdiff
path: root/sys/pci/if_sr_p.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_sr_p.c
parent758aca682ca70669ae57ccef91befe17f9165783 (diff)
Notes
Diffstat (limited to 'sys/pci/if_sr_p.c')
-rw-r--r--sys/pci/if_sr_p.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/pci/if_sr_p.c b/sys/pci/if_sr_p.c
index 04d0db82c418..50ddb7fcb799 100644
--- a/sys/pci/if_sr_p.c
+++ b/sys/pci/if_sr_p.c
@@ -30,6 +30,10 @@
* $FreeBSD$
*/
+#ifndef COMPAT_OLDPCI
+#error "The sr device requires the old pci compatibility shims"
+#endif
+
#include "sr.h"
#include <sys/param.h>