summaryrefslogtreecommitdiff
path: root/sys/dev/amd/amd.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2000-03-27 20:24:02 +0000
committerWarner Losh <imp@FreeBSD.org>2000-03-27 20:24:02 +0000
commitd0d3b8345b0d7c853b385d92e44553a1dbd26ea5 (patch)
treeb0e0712f81bd575ae5b3509ae9f83cbb8d8edf51 /sys/dev/amd/amd.c
parentb9d308bed267dbbbaa1a76c0bad817e90ad9a81a (diff)
Notes
Diffstat (limited to 'sys/dev/amd/amd.c')
-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 3d172f3d695b..073f6267a6d0 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