pci: Move legacyvar.h to bus/pci/i386
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 5 Jul 2009 11:24:28 +0000 (19:24 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 8 Jul 2009 10:50:42 +0000 (18:50 +0800)
sys/bus/pci/i386/legacy.c
sys/bus/pci/i386/legacyvar.h [moved from sys/platform/pc32/include/legacyvar.h with 100% similarity]
sys/bus/pci/i386/pci_bus.c

index 50003e5..1561c58 100644 (file)
@@ -48,7 +48,7 @@
 #include <i386/bios/mca_machdep.h>
 #endif
 
-#include <machine/legacyvar.h>
+#include "legacyvar.h"
 
 static MALLOC_DEFINE(M_LEGACYDEV, "legacydrv", "legacy system device");
 struct legacy_device {
index fa710cb..606e9a3 100644 (file)
@@ -42,7 +42,8 @@
 #include <bus/pci/pcib_private.h>
 #include <bus/isa/isavar.h>
 #include <machine/md_var.h>
-#include <machine/legacyvar.h>
+
+#include "legacyvar.h"
 #include "pci_cfgreg.h"
 
 #include "pcib_if.h"