aboutsummaryrefslogtreecommitdiff
path: root/sys/pci/if_mn.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_mn.c
parent758aca682ca70669ae57ccef91befe17f9165783 (diff)
downloadsrc-76fbc068b8a31546df0d53f547cb6d454ef944e8.tar.gz
src-76fbc068b8a31546df0d53f547cb6d454ef944e8.zip
Per conversations in -current, add #error to these drivers when you don't
have the right compatibility shims enabled. ISA drivers to follow later.
Notes
Notes: svn path=/head/; revision=58695
Diffstat (limited to 'sys/pci/if_mn.c')
-rw-r--r--sys/pci/if_mn.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/pci/if_mn.c b/sys/pci/if_mn.c
index c7af95f08668..5796eb3333d7 100644
--- a/sys/pci/if_mn.c
+++ b/sys/pci/if_mn.c
@@ -24,6 +24,10 @@
* $FreeBSD$
*/
+#ifndef COMPAT_OLDPCI
+#error "The mn device requires the old pci compatibility shims"
+#endif
+
/*
* Stuff to describe the MUNIC32X and FALC54 chips.
*/