summaryrefslogtreecommitdiffstats
path: root/sys/dev/agp
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-11-12 21:51:38 +0000
committerjhb <jhb@FreeBSD.org>2007-11-12 21:51:38 +0000
commit416921ea8bc9f79e424643d092160c48dd485029 (patch)
tree59dd9aa4c8d8e187dd99419fa3cd65f9f4fa941a /sys/dev/agp
parentae69575f80d2706e656f987f88f184f30aa5022e (diff)
downloadFreeBSD-src-416921ea8bc9f79e424643d092160c48dd485029.zip
FreeBSD-src-416921ea8bc9f79e424643d092160c48dd485029.tar.gz
Move the agp(4) driver from sys/pci to sys/dev/agp. __FreeBSD_version was
bumped to 800004 to note the change though userland apps should not be affected since they use <sys/agpio.h> rather than the headers in sys/dev/agp. Discussed with: anholt Repocopy by: simon
Diffstat (limited to 'sys/dev/agp')
-rw-r--r--sys/dev/agp/agp.c6
-rw-r--r--sys/dev/agp/agp_ali.c4
-rw-r--r--sys/dev/agp/agp_amd.c4
-rw-r--r--sys/dev/agp/agp_amd64.c4
-rw-r--r--sys/dev/agp/agp_ati.c4
-rw-r--r--sys/dev/agp/agp_i810.c4
-rw-r--r--sys/dev/agp/agp_if.m4
-rw-r--r--sys/dev/agp/agp_intel.c4
-rw-r--r--sys/dev/agp/agp_nvidia.c4
-rw-r--r--sys/dev/agp/agp_sis.c4
-rw-r--r--sys/dev/agp/agp_via.c4
-rw-r--r--sys/dev/agp/agppriv.h2
-rw-r--r--sys/dev/agp/agpvar.h2
13 files changed, 25 insertions, 25 deletions
diff --git a/sys/dev/agp/agp.c b/sys/dev/agp/agp.c
index ec0807a..baff9a5 100644
--- a/sys/dev/agp/agp.c
+++ b/sys/dev/agp/agp.c
@@ -42,11 +42,11 @@ __FBSDID("$FreeBSD$");
#include <sys/mutex.h>
#include <sys/proc.h>
+#include <dev/agp/agppriv.h>
+#include <dev/agp/agpvar.h>
+#include <dev/agp/agpreg.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
-#include <pci/agppriv.h>
-#include <pci/agpvar.h>
-#include <pci/agpreg.h>
#include <vm/vm.h>
#include <vm/vm_object.h>
diff --git a/sys/dev/agp/agp_ali.c b/sys/dev/agp/agp_ali.c
index 74bd2b1..f6ecd78 100644
--- a/sys/dev/agp/agp_ali.c
+++ b/sys/dev/agp/agp_ali.c
@@ -39,10 +39,10 @@ __FBSDID("$FreeBSD$");
#include <sys/mutex.h>
#include <sys/proc.h>
+#include <dev/agp/agppriv.h>
+#include <dev/agp/agpreg.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
-#include <pci/agppriv.h>
-#include <pci/agpreg.h>
#include <vm/vm.h>
#include <vm/vm_object.h>
diff --git a/sys/dev/agp/agp_amd.c b/sys/dev/agp/agp_amd.c
index 7c3bd0d..e0cb679 100644
--- a/sys/dev/agp/agp_amd.c
+++ b/sys/dev/agp/agp_amd.c
@@ -39,10 +39,10 @@ __FBSDID("$FreeBSD$");
#include <sys/mutex.h>
#include <sys/proc.h>
+#include <dev/agp/agppriv.h>
+#include <dev/agp/agpreg.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
-#include <pci/agppriv.h>
-#include <pci/agpreg.h>
#include <vm/vm.h>
#include <vm/vm_object.h>
diff --git a/sys/dev/agp/agp_amd64.c b/sys/dev/agp/agp_amd64.c
index 7c1a25d..3269d5f 100644
--- a/sys/dev/agp/agp_amd64.c
+++ b/sys/dev/agp/agp_amd64.c
@@ -39,10 +39,10 @@ __FBSDID("$FreeBSD$");
#include <sys/mutex.h>
#include <sys/proc.h>
+#include <dev/agp/agppriv.h>
+#include <dev/agp/agpreg.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
-#include <pci/agppriv.h>
-#include <pci/agpreg.h>
#include <vm/vm.h>
#include <vm/vm_object.h>
diff --git a/sys/dev/agp/agp_ati.c b/sys/dev/agp/agp_ati.c
index 6bc6019..05022f2 100644
--- a/sys/dev/agp/agp_ati.c
+++ b/sys/dev/agp/agp_ati.c
@@ -41,10 +41,10 @@ __FBSDID("$FreeBSD$");
#include <sys/mutex.h>
#include <sys/proc.h>
+#include <dev/agp/agppriv.h>
+#include <dev/agp/agpreg.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
-#include <pci/agppriv.h>
-#include <pci/agpreg.h>
#include <vm/vm.h>
#include <vm/vm_object.h>
diff --git a/sys/dev/agp/agp_i810.c b/sys/dev/agp/agp_i810.c
index 9e081be..db98d80 100644
--- a/sys/dev/agp/agp_i810.c
+++ b/sys/dev/agp/agp_i810.c
@@ -45,10 +45,10 @@ __FBSDID("$FreeBSD$");
#include <sys/mutex.h>
#include <sys/proc.h>
+#include <dev/agp/agppriv.h>
+#include <dev/agp/agpreg.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
-#include <pci/agppriv.h>
-#include <pci/agpreg.h>
#include <vm/vm.h>
#include <vm/vm_object.h>
diff --git a/sys/dev/agp/agp_if.m b/sys/dev/agp/agp_if.m
index faf7b1a..da2e19a 100644
--- a/sys/dev/agp/agp_if.m
+++ b/sys/dev/agp/agp_if.m
@@ -32,7 +32,7 @@
# The AGP interface is used internally to the agp driver to isolate the
# differences between various AGP chipsets into chipset mini drivers. It
# should not be used outside the AGP driver. The kernel api for accessing
-# AGP functionality is described in <pci/agpvar.h>
+# AGP functionality is described in <dev/agp/agpvar.h>
#
INTERFACE agp;
@@ -80,7 +80,7 @@ METHOD void flush_tlb {
#
# Enable the agp hardware with the relavent mode. The mode bits are
-# defined in <pci/agpreg.h>
+# defined in <dev/agp/agpreg.h>
#
METHOD int enable {
device_t dev;
diff --git a/sys/dev/agp/agp_intel.c b/sys/dev/agp/agp_intel.c
index 60e0e6f..3e457ab 100644
--- a/sys/dev/agp/agp_intel.c
+++ b/sys/dev/agp/agp_intel.c
@@ -39,10 +39,10 @@ __FBSDID("$FreeBSD$");
#include <sys/mutex.h>
#include <sys/proc.h>
+#include <dev/agp/agppriv.h>
+#include <dev/agp/agpreg.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
-#include <pci/agppriv.h>
-#include <pci/agpreg.h>
#include <vm/vm.h>
#include <vm/vm_object.h>
diff --git a/sys/dev/agp/agp_nvidia.c b/sys/dev/agp/agp_nvidia.c
index 8e2d243..72cd4b8 100644
--- a/sys/dev/agp/agp_nvidia.c
+++ b/sys/dev/agp/agp_nvidia.c
@@ -51,10 +51,10 @@ __FBSDID("$FreeBSD$");
#include <sys/proc.h>
#endif
+#include <dev/agp/agppriv.h>
+#include <dev/agp/agpreg.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
-#include <pci/agppriv.h>
-#include <pci/agpreg.h>
#include <vm/vm.h>
#include <vm/vm_object.h>
diff --git a/sys/dev/agp/agp_sis.c b/sys/dev/agp/agp_sis.c
index a51514a..f85fa11 100644
--- a/sys/dev/agp/agp_sis.c
+++ b/sys/dev/agp/agp_sis.c
@@ -39,10 +39,10 @@ __FBSDID("$FreeBSD$");
#include <sys/mutex.h>
#include <sys/proc.h>
+#include <dev/agp/agppriv.h>
+#include <dev/agp/agpreg.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
-#include <pci/agppriv.h>
-#include <pci/agpreg.h>
#include <vm/vm.h>
#include <vm/vm_object.h>
diff --git a/sys/dev/agp/agp_via.c b/sys/dev/agp/agp_via.c
index d60f49a..9b8bbc8 100644
--- a/sys/dev/agp/agp_via.c
+++ b/sys/dev/agp/agp_via.c
@@ -39,10 +39,10 @@ __FBSDID("$FreeBSD$");
#include <sys/mutex.h>
#include <sys/proc.h>
+#include <dev/agp/agppriv.h>
+#include <dev/agp/agpreg.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
-#include <pci/agppriv.h>
-#include <pci/agpreg.h>
#include <vm/vm.h>
#include <vm/vm_object.h>
diff --git a/sys/dev/agp/agppriv.h b/sys/dev/agp/agppriv.h
index b4c90a0..32ec78a 100644
--- a/sys/dev/agp/agppriv.h
+++ b/sys/dev/agp/agppriv.h
@@ -34,7 +34,7 @@
*/
#include <sys/agpio.h>
-#include <pci/agpvar.h>
+#include <dev/agp/agpvar.h>
#define AGP_DEBUGxx
diff --git a/sys/dev/agp/agpvar.h b/sys/dev/agp/agpvar.h
index df3112b..52d40ef 100644
--- a/sys/dev/agp/agpvar.h
+++ b/sys/dev/agp/agpvar.h
@@ -87,7 +87,7 @@ int agp_release(device_t dev);
/*
* Enable the agp hardware with the relavent mode. The mode bits are
- * defined in <pci/agpreg.h>
+ * defined in <dev/agp/agpreg.h>
*/
int agp_enable(device_t dev, u_int32_t mode);
OpenPOWER on IntegriCloud