diff options
author | peter <peter@FreeBSD.org> | 2000-03-19 13:07:12 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-03-19 13:07:12 +0000 |
commit | 35e00e91c81c202b223a8954e6798bff332b6ca2 (patch) | |
tree | 9a22fcf4c02473f470d31db949a7c6d32f882f33 /sys/i386/isa/isa.c | |
parent | d5a5d97386bb5078082d6af0f294010609a96f04 (diff) | |
download | FreeBSD-src-35e00e91c81c202b223a8954e6798bff332b6ca2.zip FreeBSD-src-35e00e91c81c202b223a8954e6798bff332b6ca2.tar.gz |
Connect the ISA and PCI compatability shims to an option. In this case
it's options COMPAT_OLDISA and COMPAT_OLDPCI. This is meant to be a
fairly strong incentive to update the older drivers to newbus, but doesn't
(quite) leave anybody hanging with no hardware support. I was talking with
a few folks and I was encouraged to simply break or disable the shims but
that was a bit too drastic for my liking.
Diffstat (limited to 'sys/i386/isa/isa.c')
-rw-r--r-- | sys/i386/isa/isa.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/i386/isa/isa.c b/sys/i386/isa/isa.c index 6c4b71a..5e9e69a 100644 --- a/sys/i386/isa/isa.c +++ b/sys/i386/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 } /* |