diff options
author | imp <imp@FreeBSD.org> | 2003-08-22 05:54:52 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2003-08-22 05:54:52 +0000 |
commit | c23aaeeba46cfb112bb22a74c0898470331d3e18 (patch) | |
tree | 633ff3cbdbfdb63210ca731968f72ea813a82ed7 /sys/dev/bktr/bktr_i2c.c | |
parent | 15f81fe316b4b7defea9d5f5127ba0853ed8bfcd (diff) | |
download | FreeBSD-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.
Diffstat (limited to 'sys/dev/bktr/bktr_i2c.c')
-rw-r--r-- | sys/dev/bktr/bktr_i2c.c | 7 |
1 files changed, 5 insertions, 2 deletions
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 */ |