diff options
author | imp <imp@FreeBSD.org> | 2000-03-27 18:32:45 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2000-03-27 18:32:45 +0000 |
commit | 555f22a351f5004bd4d2895057c98c77cd762fd2 (patch) | |
tree | 9d3ec66e518c43c9981521b79448556d55b68c94 /sys/pci/amd.c | |
parent | 0c07470770f70fcf4958f45f9065c5cd3f418f2d (diff) | |
download | FreeBSD-src-555f22a351f5004bd4d2895057c98c77cd762fd2.zip FreeBSD-src-555f22a351f5004bd4d2895057c98c77cd762fd2.tar.gz |
Per conversations in -current, add #error to these drivers when you don't
have the right compatibility shims enabled. ISA drivers to follow later.
Diffstat (limited to 'sys/pci/amd.c')
-rw-r--r-- | sys/pci/amd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/pci/amd.c b/sys/pci/amd.c index decdfc3..3d172f3 100644 --- a/sys/pci/amd.c +++ b/sys/pci/amd.c @@ -50,6 +50,10 @@ /* #define AMD_DEBUG0 */ /* #define AMD_DEBUG_SCSI_PHASE */ +#ifndef COMPAT_OLDPCI +#error "The amd device requires the old pci compatibility shims" +#endif + #include <sys/param.h> #include <sys/systm.h> |