summaryrefslogtreecommitdiffstats
path: root/sys/dev/amd
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2000-03-27 20:24:02 +0000
committerimp <imp@FreeBSD.org>2000-03-27 20:24:02 +0000
commit08732049490f877a5a9ce7aca95b16362371d29a (patch)
treee805f7d91f322505bd74be263d11fcfc800fc557 /sys/dev/amd
parentc0e09df016e1c742635bf5439eda43e93cf6f171 (diff)
downloadFreeBSD-src-08732049490f877a5a9ce7aca95b16362371d29a.zip
FreeBSD-src-08732049490f877a5a9ce7aca95b16362371d29a.tar.gz
Ahhrggg. Put the test for the compat shims AFTER the file that includes
them. Pointed out by: bde
Diffstat (limited to 'sys/dev/amd')
-rw-r--r--sys/dev/amd/amd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/amd/amd.c b/sys/dev/amd/amd.c
index 3d172f3..073f626 100644
--- a/sys/dev/amd/amd.c
+++ b/sys/dev/amd/amd.c
@@ -50,10 +50,6 @@
/* #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>
@@ -83,6 +79,10 @@
#include <pci/amd.h>
+#ifndef COMPAT_OLDPCI
+#error "The amd device requires the old pci compatibility shims"
+#endif
+
#define PCI_DEVICE_ID_AMD53C974 0x20201022ul
#define PCI_BASE_ADDR0 0x10
OpenPOWER on IntegriCloud