summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-08-22 05:54:52 +0000
committerimp <imp@FreeBSD.org>2003-08-22 05:54:52 +0000
commitc23aaeeba46cfb112bb22a74c0898470331d3e18 (patch)
tree633ff3cbdbfdb63210ca731968f72ea813a82ed7
parent15f81fe316b4b7defea9d5f5127ba0853ed8bfcd (diff)
downloadFreeBSD-src-c23aaeeba46cfb112bb22a74c0898470331d3e18.zip
FreeBSD-src-c23aaeeba46cfb112bb22a74c0898470331d3e18.tar.gz
Prefer new location of pci include files (which have only been in the
tree for two or more years now), except in a few places where there's code to be compatible with older versions of FreeBSD.
-rw-r--r--sys/dev/advansys/adv_pci.c4
-rw-r--r--sys/dev/advansys/adw_pci.c4
-rw-r--r--sys/dev/aic7xxx/aic79xx_osm.h7
-rw-r--r--sys/dev/aic7xxx/aic7xxx_osm.h7
-rw-r--r--sys/dev/amd/amd.c4
-rw-r--r--sys/dev/amr/amr.c4
-rw-r--r--sys/dev/amr/amr_pci.c4
-rw-r--r--sys/dev/an/if_an_pci.c4
-rw-r--r--sys/dev/ar/if_ar_pci.c4
-rw-r--r--sys/dev/asr/asr.c4
-rw-r--r--sys/dev/ata/ata-chipset.c4
-rw-r--r--sys/dev/ata/ata-dma.c2
-rw-r--r--sys/dev/ata/ata-pci.c4
-rw-r--r--sys/dev/bge/if_bge.c4
-rw-r--r--sys/dev/bktr/bktr_audio.c5
-rw-r--r--sys/dev/bktr/bktr_card.c5
-rw-r--r--sys/dev/bktr/bktr_core.c5
-rw-r--r--sys/dev/bktr/bktr_i2c.c7
-rw-r--r--sys/dev/bktr/bktr_os.c6
-rw-r--r--sys/dev/bktr/bktr_tuner.c5
-rw-r--r--sys/dev/buslogic/bt_pci.c4
-rw-r--r--sys/dev/ciss/ciss.c4
-rw-r--r--sys/dev/digi/digi_pci.c2
-rw-r--r--sys/dev/dpt/dpt_pci.c4
-rw-r--r--sys/dev/drm/drm_os_freebsd.h3
-rw-r--r--sys/dev/ed/if_ed_pci.c4
-rw-r--r--sys/dev/em/if_em.h4
-rw-r--r--sys/dev/em/if_em_osdep.h4
-rw-r--r--sys/dev/en/if_en_pci.c4
-rw-r--r--sys/dev/fatm/if_fatm.c4
-rw-r--r--sys/dev/fb/boot_font.c4
-rw-r--r--sys/dev/fb/gfb.c4
-rw-r--r--sys/dev/fb/s3_pci.c4
-rw-r--r--sys/dev/fb/tga.c4
-rw-r--r--sys/dev/firewire/fwohci_pci.c4
-rw-r--r--sys/dev/fxp/if_fxp.c4
36 files changed, 87 insertions, 67 deletions
diff --git a/sys/dev/advansys/adv_pci.c b/sys/dev/advansys/adv_pci.c
index 1719972..6b10b85 100644
--- a/sys/dev/advansys/adv_pci.c
+++ b/sys/dev/advansys/adv_pci.c
@@ -72,8 +72,8 @@
#include <sys/bus.h>
#include <sys/rman.h>
-#include <pci/pcireg.h>
-#include <pci/pcivar.h>
+#include <dev/pci/pcireg.h>
+#include <dev/pci/pcivar.h>
#include <dev/advansys/advansys.h>
diff --git a/sys/dev/advansys/adw_pci.c b/sys/dev/advansys/adw_pci.c
index c0ed436..77bd27b 100644
--- a/sys/dev/advansys/adw_pci.c
+++ b/sys/dev/advansys/adw_pci.c
@@ -49,8 +49,8 @@
#include <sys/rman.h>
-#include <pci/pcireg.h>
-#include <pci/pcivar.h>
+#include <dev/pci/pcireg.h>
+#include <dev/pci/pcivar.h>
#include <cam/cam.h>
#include <cam/scsi/scsi_all.h>
diff --git a/sys/dev/aic7xxx/aic79xx_osm.h b/sys/dev/aic7xxx/aic79xx_osm.h
index 681c10d..80a0b8c 100644
--- a/sys/dev/aic7xxx/aic79xx_osm.h
+++ b/sys/dev/aic7xxx/aic79xx_osm.h
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: //depot/aic7xxx/freebsd/dev/aic7xxx/aic79xx_osm.h#20 $
+ * $Id: aic79xx_osm.h,v 1.11 2003/07/01 15:51:52 scottl Exp $
*
* $FreeBSD$
*/
@@ -61,8 +61,13 @@
#include <sys/rman.h>
+#if __FreeBSD_version >= 500000
+#include <dev/pci/pcireg.h>
+#include <dev/pci/pcivar.h>
+#else
#include <pci/pcireg.h>
#include <pci/pcivar.h>
+#endif
#include <cam/cam.h>
#include <cam/cam_ccb.h>
diff --git a/sys/dev/aic7xxx/aic7xxx_osm.h b/sys/dev/aic7xxx/aic7xxx_osm.h
index 952a605..9fbb905 100644
--- a/sys/dev/aic7xxx/aic7xxx_osm.h
+++ b/sys/dev/aic7xxx/aic7xxx_osm.h
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: aic7xxx_osm.h,v 1.22 2003/06/10 03:25:24 gibbs Exp $
+ * $Id: aic7xxx_osm.h,v 1.23 2003/07/01 15:51:52 scottl Exp $
*
* $FreeBSD$
*/
@@ -69,8 +69,13 @@
#include <sys/rman.h>
#if NPCI > 0
+#if __FreeBSD_version < 500000
#include <pci/pcireg.h>
#include <pci/pcivar.h>
+#else
+#include <dev/pci/pcireg.h>
+#include <dev/pci/pcivar.h>
+#endif
#endif
#include <cam/cam.h>
diff --git a/sys/dev/amd/amd.c b/sys/dev/amd/amd.c
index dd025a1..d601ebc 100644
--- a/sys/dev/amd/amd.c
+++ b/sys/dev/amd/amd.c
@@ -76,8 +76,8 @@
#include <cam/scsi/scsi_all.h>
#include <cam/scsi/scsi_message.h>
-#include <pci/pcivar.h>
-#include <pci/pcireg.h>
+#include <dev/pci/pcivar.h>
+#include <dev/pci/pcireg.h>
#include <dev/amd/amd.h>
#define PCI_DEVICE_ID_AMD53C974 0x20201022ul
diff --git a/sys/dev/amr/amr.c b/sys/dev/amr/amr.c
index 29e0a30..dd24e97 100644
--- a/sys/dev/amr/amr.c
+++ b/sys/dev/amr/amr.c
@@ -76,8 +76,8 @@
#include <machine/resource.h>
#include <sys/rman.h>
-#include <pci/pcireg.h>
-#include <pci/pcivar.h>
+#include <dev/pci/pcireg.h>
+#include <dev/pci/pcivar.h>
#include <dev/amr/amrio.h>
#include <dev/amr/amrreg.h>
diff --git a/sys/dev/amr/amr_pci.c b/sys/dev/amr/amr_pci.c
index d9dca76..6ff94ae 100644
--- a/sys/dev/amr/amr_pci.c
+++ b/sys/dev/amr/amr_pci.c
@@ -70,8 +70,8 @@
#include <machine/resource.h>
#include <sys/rman.h>
-#include <pci/pcireg.h>
-#include <pci/pcivar.h>
+#include <dev/pci/pcireg.h>
+#include <dev/pci/pcivar.h>
#include <dev/amr/amrio.h>
#include <dev/amr/amrreg.h>
diff --git a/sys/dev/an/if_an_pci.c b/sys/dev/an/if_an_pci.c
index 2ec7057..5fe7901 100644
--- a/sys/dev/an/if_an_pci.c
+++ b/sys/dev/an/if_an_pci.c
@@ -80,8 +80,8 @@ __FBSDID("$FreeBSD$");
#include <net/if_dl.h>
#include <net/if_media.h>
-#include <pci/pcireg.h>
-#include <pci/pcivar.h>
+#include <dev/pci/pcireg.h>
+#include <dev/pci/pcivar.h>
#include <dev/an/if_aironet_ieee.h>
#include <dev/an/if_anreg.h>
diff --git a/sys/dev/ar/if_ar_pci.c b/sys/dev/ar/if_ar_pci.c
index 07a9edf..1af13cd 100644
--- a/sys/dev/ar/if_ar_pci.c
+++ b/sys/dev/ar/if_ar_pci.c
@@ -40,8 +40,8 @@
#include <machine/bus_memio.h>
#include <sys/rman.h>
-#include <pci/pcireg.h>
-#include <pci/pcivar.h>
+#include <dev/pci/pcireg.h>
+#include <dev/pci/pcivar.h>
#include <dev/ic/hd64570.h>
#include <dev/ar/if_arregs.h>
diff --git a/sys/dev/asr/asr.c b/sys/dev/asr/asr.c
index 1a60f54..4ca3a96 100644
--- a/sys/dev/asr/asr.c
+++ b/sys/dev/asr/asr.c
@@ -243,8 +243,8 @@ static dpt_sig_S ASR_sig = {
#endif
#include <machine/vmparam.h>
-#include <pci/pcivar.h>
-#include <pci/pcireg.h>
+#include <dev/pci/pcivar.h>
+#include <dev/pci/pcireg.h>
#define STATIC static
#define INLINE
diff --git a/sys/dev/ata/ata-chipset.c b/sys/dev/ata/ata-chipset.c
index d731265..add97ea 100644
--- a/sys/dev/ata/ata-chipset.c
+++ b/sys/dev/ata/ata-chipset.c
@@ -39,8 +39,8 @@
#include <machine/resource.h>
#include <machine/bus.h>
#include <sys/rman.h>
-#include <pci/pcivar.h>
-#include <pci/pcireg.h>
+#include <dev/pci/pcivar.h>
+#include <dev/pci/pcireg.h>
#include <dev/ata/ata-all.h>
#include <dev/ata/ata-pci.h>
diff --git a/sys/dev/ata/ata-dma.c b/sys/dev/ata/ata-dma.c
index a2f108e..4dfff5a 100644
--- a/sys/dev/ata/ata-dma.c
+++ b/sys/dev/ata/ata-dma.c
@@ -37,7 +37,7 @@
#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/bus.h>
-#include <pci/pcivar.h>
+#include <dev/pci/pcivar.h>
#include <machine/bus.h>
#include <sys/rman.h>
#include <dev/ata/ata-all.h>
diff --git a/sys/dev/ata/ata-pci.c b/sys/dev/ata/ata-pci.c
index 7027da7..4a40ae2 100644
--- a/sys/dev/ata/ata-pci.c
+++ b/sys/dev/ata/ata-pci.c
@@ -42,8 +42,8 @@
#include <machine/md_var.h>
#endif
#include <sys/rman.h>
-#include <pci/pcivar.h>
-#include <pci/pcireg.h>
+#include <dev/pci/pcivar.h>
+#include <dev/pci/pcireg.h>
#include <dev/ata/ata-all.h>
#include <dev/ata/ata-pci.h>
diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c
index 838ba2b..8b6d05f 100644
--- a/sys/dev/bge/if_bge.c
+++ b/sys/dev/bge/if_bge.c
@@ -103,8 +103,8 @@ __FBSDID("$FreeBSD$");
#include "miidevs.h"
#include <dev/mii/brgphyreg.h>
-#include <pci/pcireg.h>
-#include <pci/pcivar.h>
+#include <dev/pci/pcireg.h>
+#include <dev/pci/pcivar.h>
#include <dev/bge/if_bgereg.h>
diff --git a/sys/dev/bktr/bktr_audio.c b/sys/dev/bktr/bktr_audio.c
index b948891..3821b8a 100644
--- a/sys/dev/bktr/bktr_audio.c
+++ b/sys/dev/bktr/bktr_audio.c
@@ -57,9 +57,10 @@
#if (__FreeBSD_version < 500000)
#include <machine/clock.h> /* for DELAY */
-#endif
-
#include <pci/pcivar.h>
+#else
+#include <dev/pci/pcivar.h>
+#endif
#if (__FreeBSD_version >=300000)
#include <machine/bus_memio.h> /* for bus space */
diff --git a/sys/dev/bktr/bktr_card.c b/sys/dev/bktr/bktr_card.c
index c61e4e2..fdae22e 100644
--- a/sys/dev/bktr/bktr_card.c
+++ b/sys/dev/bktr/bktr_card.c
@@ -57,9 +57,10 @@
#if (__FreeBSD_version < 500000)
#include <machine/clock.h> /* for DELAY */
-#endif
-
#include <pci/pcivar.h>
+#else
+#include <dev/pci/pcivar.h>
+#endif
#if (__FreeBSD_version >=300000)
#include <machine/bus_memio.h> /* for bus space */
diff --git a/sys/dev/bktr/bktr_core.c b/sys/dev/bktr/bktr_core.c
index b95c534..0d00658 100644
--- a/sys/dev/bktr/bktr_core.c
+++ b/sys/dev/bktr/bktr_core.c
@@ -131,9 +131,11 @@
#include <machine/clock.h> /* for DELAY */
#define PROC_LOCK(p)
#define PROC_UNLOCK(p)
+#include <pci/pcivar.h>
+#else
+#include <dev/pci/pcivar.h>
#endif
-#include <pci/pcivar.h>
#if (__FreeBSD_version >=300000)
#include <machine/bus_memio.h> /* for bus space */
@@ -223,7 +225,6 @@ bktr_name(bktr_ptr_t bktr)
#endif /* __NetBSD__ || __OpenBSD__ */
-
typedef u_char bool_t;
#define BKTRPRI (PZERO+8)|PCATCH
diff --git a/sys/dev/bktr/bktr_i2c.c b/sys/dev/bktr/bktr_i2c.c
index 7ed0988..2075eea 100644
--- a/sys/dev/bktr/bktr_i2c.c
+++ b/sys/dev/bktr/bktr_i2c.c
@@ -51,6 +51,11 @@
#if (__FreeBSD_version < 500000)
#include <machine/clock.h> /* for DELAY */
+#include <pci/pcivar.h>
+#include <pci/pcireg.h>
+#else
+#include <dev/pci/pcivar.h>
+#include <dev/pci/pcireg.h>
#endif
#if (__FreeBSD_version >=300000)
@@ -59,8 +64,6 @@
#include <sys/bus.h>
#endif
-#include <pci/pcivar.h>
-#include <pci/pcireg.h>
#include <machine/ioctl_meteor.h>
#include <machine/ioctl_bt848.h> /* extensions to ioctl_meteor.h */
diff --git a/sys/dev/bktr/bktr_os.c b/sys/dev/bktr/bktr_os.c
index 8451ae9..1a7a807 100644
--- a/sys/dev/bktr/bktr_os.c
+++ b/sys/dev/bktr/bktr_os.c
@@ -96,10 +96,12 @@
#if (__FreeBSD_version < 500000)
#include <machine/clock.h> /* for DELAY */
-#endif
-
#include <pci/pcivar.h>
#include <pci/pcireg.h>
+#else
+#include <dev/pci/pcivar.h>
+#include <dev/pci/pcireg.h>
+#endif
#include <sys/sysctl.h>
int bt848_card = -1;
diff --git a/sys/dev/bktr/bktr_tuner.c b/sys/dev/bktr/bktr_tuner.c
index 999766c..5f3b15c 100644
--- a/sys/dev/bktr/bktr_tuner.c
+++ b/sys/dev/bktr/bktr_tuner.c
@@ -54,10 +54,11 @@
#endif
#ifdef __FreeBSD__
-#include <pci/pcivar.h>
-
#if (__FreeBSD_version < 500000)
#include <machine/clock.h> /* for DELAY */
+#include <pci/pcivar.h>
+#else
+#include <dev/pci/pcivar.h>
#endif
#if (__FreeBSD_version >=300000)
diff --git a/sys/dev/buslogic/bt_pci.c b/sys/dev/buslogic/bt_pci.c
index 2e10020..9669200 100644
--- a/sys/dev/buslogic/bt_pci.c
+++ b/sys/dev/buslogic/bt_pci.c
@@ -36,8 +36,8 @@
#include <sys/mutex.h>
#include <sys/bus.h>
-#include <pci/pcireg.h>
-#include <pci/pcivar.h>
+#include <dev/pci/pcireg.h>
+#include <dev/pci/pcivar.h>
#include <machine/bus_memio.h>
#include <machine/bus_pio.h>
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c
index bdfabfe..fe83f29 100644
--- a/sys/dev/ciss/ciss.c
+++ b/sys/dev/ciss/ciss.c
@@ -91,8 +91,8 @@
#include <machine/resource.h>
#include <sys/rman.h>
-#include <pci/pcireg.h>
-#include <pci/pcivar.h>
+#include <dev/pci/pcireg.h>
+#include <dev/pci/pcivar.h>
#include <dev/ciss/cissreg.h>
#include <dev/ciss/cissvar.h>
diff --git a/sys/dev/digi/digi_pci.c b/sys/dev/digi/digi_pci.c
index 14d0360..182835b 100644
--- a/sys/dev/digi/digi_pci.c
+++ b/sys/dev/digi/digi_pci.c
@@ -40,7 +40,7 @@
#include <machine/resource.h>
#include <vm/vm.h>
#include <vm/pmap.h>
-#include <pci/pcivar.h>
+#include <dev/pci/pcivar.h>
#include <sys/digiio.h>
#include <dev/digi/digireg.h>
diff --git a/sys/dev/dpt/dpt_pci.c b/sys/dev/dpt/dpt_pci.c
index 4da3d80..de6f76f 100644
--- a/sys/dev/dpt/dpt_pci.c
+++ b/sys/dev/dpt/dpt_pci.c
@@ -43,8 +43,8 @@
#include <machine/resource.h>
#include <sys/rman.h>
-#include <pci/pcireg.h>
-#include <pci/pcivar.h>
+#include <dev/pci/pcireg.h>
+#include <dev/pci/pcivar.h>
#include <cam/scsi/scsi_all.h>
diff --git a/sys/dev/drm/drm_os_freebsd.h b/sys/dev/drm/drm_os_freebsd.h
index 745b4e7..bfcdce9 100644
--- a/sys/dev/drm/drm_os_freebsd.h
+++ b/sys/dev/drm/drm_os_freebsd.h
@@ -61,10 +61,11 @@
#include <sys/mman.h>
#include <sys/rman.h>
#include <sys/memrange.h>
-#include <pci/pcivar.h>
#if __FreeBSD_version >= 500000
+#include <dev/pci/pcivar.h>
#include <sys/selinfo.h>
#else
+#include <pci/pcivar.h>
#include <sys/select.h>
#endif
#include <sys/bus.h>
diff --git a/sys/dev/ed/if_ed_pci.c b/sys/dev/ed/if_ed_pci.c
index ee8067b..e83b03a 100644
--- a/sys/dev/ed/if_ed_pci.c
+++ b/sys/dev/ed/if_ed_pci.c
@@ -36,8 +36,8 @@
#include <net/if_arp.h>
#include <net/if_mib.h>
-#include <pci/pcireg.h>
-#include <pci/pcivar.h>
+#include <dev/pci/pcireg.h>
+#include <dev/pci/pcivar.h>
#include <dev/ed/if_edvar.h>
diff --git a/sys/dev/em/if_em.h b/sys/dev/em/if_em.h
index ca85fbb..7ed3ef3 100644
--- a/sys/dev/em/if_em.h
+++ b/sys/dev/em/if_em.h
@@ -69,8 +69,8 @@ POSSIBILITY OF SUCH DAMAGE.
#include <vm/vm.h>
#include <vm/pmap.h>
#include <machine/clock.h>
-#include <pci/pcivar.h>
-#include <pci/pcireg.h>
+#include <dev/pci/pcivar.h>
+#include <dev/pci/pcireg.h>
#include <sys/endian.h>
#include <sys/proc.h>
#include <sys/sysctl.h>
diff --git a/sys/dev/em/if_em_osdep.h b/sys/dev/em/if_em_osdep.h
index 0bd806e..5c010ec 100644
--- a/sys/dev/em/if_em_osdep.h
+++ b/sys/dev/em/if_em_osdep.h
@@ -51,8 +51,8 @@ POSSIBILITY OF SUCH DAMAGE.
#include <vm/vm.h>
#include <vm/pmap.h>
#include <machine/clock.h>
-#include <pci/pcivar.h>
-#include <pci/pcireg.h>
+#include <dev/pci/pcivar.h>
+#include <dev/pci/pcireg.h>
#define ASSERT(x) if(!(x)) panic("EM: x")
diff --git a/sys/dev/en/if_en_pci.c b/sys/dev/en/if_en_pci.c
index 7be0804..43b8f06 100644
--- a/sys/dev/en/if_en_pci.c
+++ b/sys/dev/en/if_en_pci.c
@@ -63,8 +63,8 @@ __FBSDID("$FreeBSD$");
#include <net/if_atm.h>
#include <net/if_media.h>
-#include <pci/pcivar.h>
-#include <pci/pcireg.h>
+#include <dev/pci/pcivar.h>
+#include <dev/pci/pcireg.h>
#include <dev/utopia/utopia.h>
#include <dev/en/midwayreg.h>
diff --git a/sys/dev/fatm/if_fatm.c b/sys/dev/fatm/if_fatm.c
index f21ee97..15ef591 100644
--- a/sys/dev/fatm/if_fatm.c
+++ b/sys/dev/fatm/if_fatm.c
@@ -67,8 +67,8 @@ __FBSDID("$FreeBSD$");
#include <machine/resource.h>
#include <sys/bus.h>
#include <sys/rman.h>
-#include <pci/pcireg.h>
-#include <pci/pcivar.h>
+#include <dev/pci/pcireg.h>
+#include <dev/pci/pcivar.h>
#include <dev/utopia/utopia.h>
diff --git a/sys/dev/fb/boot_font.c b/sys/dev/fb/boot_font.c
index db82efc..66167ba 100644
--- a/sys/dev/fb/boot_font.c
+++ b/sys/dev/fb/boot_font.c
@@ -72,8 +72,8 @@ __FBSDID("$FreeBSD$");
#include <sys/bus.h>
#include <sys/rman.h>
-#include <pci/pcireg.h>
-#include <pci/pcivar.h>
+#include <dev/pci/pcireg.h>
+#include <dev/pci/pcivar.h>
#include <dev/fb/fbreg.h>
#include <dev/fb/gfb.h>
diff --git a/sys/dev/fb/gfb.c b/sys/dev/fb/gfb.c
index 4e03169..4667dac 100644
--- a/sys/dev/fb/gfb.c
+++ b/sys/dev/fb/gfb.c
@@ -80,8 +80,8 @@ __FBSDID("$FreeBSD$");
#include <sys/bus.h>
#include <sys/rman.h>
-#include <pci/pcireg.h>
-#include <pci/pcivar.h>
+#include <dev/pci/pcireg.h>
+#include <dev/pci/pcivar.h>
#include <dev/fb/fbreg.h>
#include <dev/fb/gfb.h>
diff --git a/sys/dev/fb/s3_pci.c b/sys/dev/fb/s3_pci.c
index 69549db..7ad2071 100644
--- a/sys/dev/fb/s3_pci.c
+++ b/sys/dev/fb/s3_pci.c
@@ -52,8 +52,8 @@
#include <sys/malloc.h>
#include <sys/fbio.h>
-#include <pci/pcireg.h>
-#include <pci/pcivar.h>
+#include <dev/pci/pcireg.h>
+#include <dev/pci/pcivar.h>
#include <machine/md_var.h>
#include <machine/vm86.h>
diff --git a/sys/dev/fb/tga.c b/sys/dev/fb/tga.c
index a5a56c0..8ad6bb5 100644
--- a/sys/dev/fb/tga.c
+++ b/sys/dev/fb/tga.c
@@ -85,8 +85,8 @@ __FBSDID("$FreeBSD$");
#include <sys/bus.h>
#include <sys/rman.h>
-#include <pci/pcireg.h>
-#include <pci/pcivar.h>
+#include <dev/pci/pcireg.h>
+#include <dev/pci/pcivar.h>
#include <dev/fb/fbreg.h>
#include <dev/syscons/syscons.h>
diff --git a/sys/dev/firewire/fwohci_pci.c b/sys/dev/firewire/fwohci_pci.c
index 513343a..0d3630a 100644
--- a/sys/dev/firewire/fwohci_pci.c
+++ b/sys/dev/firewire/fwohci_pci.c
@@ -55,8 +55,8 @@
#include <machine/clock.h> /* for DELAY() */
#endif
-#include <pci/pcivar.h>
-#include <pci/pcireg.h>
+#include <dev/pci/pcivar.h>
+#include <dev/pci/pcireg.h>
#include <dev/firewire/firewire.h>
#include <dev/firewire/firewirereg.h>
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index 2b08b86..5b84666 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -69,8 +69,8 @@ __FBSDID("$FreeBSD$");
#include <machine/in_cksum.h>
#endif
-#include <pci/pcivar.h>
-#include <pci/pcireg.h> /* for PCIM_CMD_xxx */
+#include <dev/pci/pcivar.h>
+#include <dev/pci/pcireg.h> /* for PCIM_CMD_xxx */
#include <dev/mii/mii.h>
#include <dev/mii/miivar.h>
OpenPOWER on IntegriCloud