summaryrefslogtreecommitdiffstats
path: root/sys/amd64/isa/isa.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64/isa/isa.c')
-rw-r--r--sys/amd64/isa/isa.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/amd64/isa/isa.c b/sys/amd64/isa/isa.c
index 6c4b71a..5e9e69a 100644
--- a/sys/amd64/isa/isa.c
+++ b/sys/amd64/isa/isa.c
@@ -56,6 +56,8 @@
* SUCH DAMAGE.
*/
+#include "opt_compat_oldisa.h"
+
#include <sys/param.h>
#include <sys/bus.h>
#include <sys/malloc.h>
@@ -69,7 +71,9 @@
void
isa_init(void)
{
- isa_wrap_old_drivers();
+#ifdef COMPAT_OLDISA
+ isa_wrap_old_drivers();
+#endif
}
/*
OpenPOWER on IntegriCloud