diff options
author | Warner Losh <imp@FreeBSD.org> | 2000-03-27 18:32:45 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2000-03-27 18:32:45 +0000 |
commit | 76fbc068b8a31546df0d53f547cb6d454ef944e8 (patch) | |
tree | 0ff2cd2b525ce28102d5fc22c547cfaa8e2d06e4 /sys/dev/amd | |
parent | 758aca682ca70669ae57ccef91befe17f9165783 (diff) | |
download | src-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/dev/amd')
-rw-r--r-- | sys/dev/amd/amd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/amd/amd.c b/sys/dev/amd/amd.c index decdfc3c82e0..3d172f3d695b 100644 --- a/sys/dev/amd/amd.c +++ b/sys/dev/amd/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> |