aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/aic7xxx/aic79xx_osm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/aic7xxx/aic79xx_osm.h')
-rw-r--r--sys/dev/aic7xxx/aic79xx_osm.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/aic7xxx/aic79xx_osm.h b/sys/dev/aic7xxx/aic79xx_osm.h
index 681c10d9ed56..80a0b8c323fd 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>