summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_sr_p.c
diff options
context:
space:
mode:
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 04d0db8..50ddb7f 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>
OpenPOWER on IntegriCloud