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_device.h | |
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_device.h')
-rw-r--r-- | sys/i386/isa/isa_device.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/i386/isa/isa_device.h b/sys/i386/isa/isa_device.h index 0a86c0b..e6e7353 100644 --- a/sys/i386/isa/isa_device.h +++ b/sys/i386/isa/isa_device.h @@ -41,12 +41,14 @@ #ifndef _ISA_ISAVAR_H_ #include <i386/isa/isa_dma.h> #endif +#include "opt_compat_oldisa.h" #endif /* * ISA Bus Autoconfiguration */ +#ifdef COMPAT_OLDISA /* * Per device structure. */ @@ -95,4 +97,6 @@ int isa_compat_nextid __P((void)); #endif +#endif /* COMPAT_OLDISA */ + #endif /* !_I386_ISA_ISA_DEVICE_H_ */ |