summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/aac_pci.c4
-rw-r--r--sys/dev/pci/cac_pci.c4
-rw-r--r--sys/dev/pci/dpt_pci.c4
-rw-r--r--sys/dev/pci/gdt_pci.c4
-rw-r--r--sys/dev/pci/hifn7751reg.h4
-rw-r--r--sys/dev/pci/if_atw_pci.c5
-rw-r--r--sys/dev/pci/if_cas.c5
-rw-r--r--sys/dev/pci/if_gem_pci.c5
-rw-r--r--sys/dev/pci/if_ipw.c4
-rw-r--r--sys/dev/pci/if_iwi.c4
-rw-r--r--sys/dev/pci/if_iwn.c4
-rw-r--r--sys/dev/pci/if_pcn.c4
-rw-r--r--sys/dev/pci/if_rtw_pci.c5
-rw-r--r--sys/dev/pci/if_wpi.c4
-rw-r--r--sys/dev/pci/if_xge.c4
-rw-r--r--sys/dev/pci/pciide.c4
-rw-r--r--sys/dev/pci/siop_pci_common.c5
17 files changed, 34 insertions, 39 deletions
diff --git a/sys/dev/pci/aac_pci.c b/sys/dev/pci/aac_pci.c
index b79fed81b39..21d2e29239b 100644
--- a/sys/dev/pci/aac_pci.c
+++ b/sys/dev/pci/aac_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aac_pci.c,v 1.24 2009/04/06 15:18:45 kettenis Exp $ */
+/* $OpenBSD: aac_pci.c,v 1.25 2014/12/19 22:44:58 guenther Exp $ */
/*-
* Copyright (c) 2000 Michael Smith
@@ -46,9 +46,9 @@
#include <sys/queue.h>
#include <sys/selinfo.h>
#include <sys/rwlock.h>
+#include <sys/endian.h>
#include <machine/bus.h>
-#include <machine/endian.h>
#include <machine/intr.h>
#include <scsi/scsi_all.h>
diff --git a/sys/dev/pci/cac_pci.c b/sys/dev/pci/cac_pci.c
index 144cfe5a888..b0db83ed21e 100644
--- a/sys/dev/pci/cac_pci.c
+++ b/sys/dev/pci/cac_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cac_pci.c,v 1.14 2013/05/30 16:15:02 deraadt Exp $ */
+/* $OpenBSD: cac_pci.c,v 1.15 2014/12/19 22:44:58 guenther Exp $ */
/* $NetBSD: cac_pci.c,v 1.10 2001/01/10 16:48:04 ad Exp $ */
/*-
@@ -39,8 +39,8 @@
#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/queue.h>
+#include <sys/endian.h>
-#include <machine/endian.h>
#include <machine/bus.h>
#include <dev/pci/pcidevs.h>
diff --git a/sys/dev/pci/dpt_pci.c b/sys/dev/pci/dpt_pci.c
index 13a309e35fd..e7f6a9412fe 100644
--- a/sys/dev/pci/dpt_pci.c
+++ b/sys/dev/pci/dpt_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dpt_pci.c,v 1.8 2013/12/06 21:03:03 deraadt Exp $ */
+/* $OpenBSD: dpt_pci.c,v 1.9 2014/12/19 22:44:58 guenther Exp $ */
/* $NetBSD: dpt_pci.c,v 1.2 1999/09/29 17:33:02 ad Exp $ */
/*
@@ -38,8 +38,8 @@
#include <sys/device.h>
#include <sys/queue.h>
#include <sys/proc.h>
+#include <sys/endian.h>
-#include <machine/endian.h>
#include <machine/bus.h>
#ifdef __NetBSD__
diff --git a/sys/dev/pci/gdt_pci.c b/sys/dev/pci/gdt_pci.c
index 87004b36c27..573d9a2bc09 100644
--- a/sys/dev/pci/gdt_pci.c
+++ b/sys/dev/pci/gdt_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gdt_pci.c,v 1.23 2014/05/04 20:09:15 sf Exp $ */
+/* $OpenBSD: gdt_pci.c,v 1.24 2014/12/19 22:44:58 guenther Exp $ */
/*
* Copyright (c) 1999, 2000 Niklas Hallqvist. All rights reserved.
@@ -35,9 +35,9 @@
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/queue.h>
+#include <sys/endian.h>
#include <machine/bus.h>
-#include <machine/endian.h>
#include <machine/intr.h>
#include <scsi/scsi_all.h>
diff --git a/sys/dev/pci/hifn7751reg.h b/sys/dev/pci/hifn7751reg.h
index e8407603d24..a1bc208181e 100644
--- a/sys/dev/pci/hifn7751reg.h
+++ b/sys/dev/pci/hifn7751reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hifn7751reg.h,v 1.45 2005/09/06 18:27:54 jolan Exp $ */
+/* $OpenBSD: hifn7751reg.h,v 1.46 2014/12/19 22:44:58 guenther Exp $ */
/*
* Invertex AEON / Hifn 7751 driver
@@ -41,7 +41,7 @@
#ifndef __HIFN_H__
#define __HIFN_H__
-#include <machine/endian.h>
+#include <sys/endian.h>
/*
* Some PCI configuration space offset defines. The names were made
diff --git a/sys/dev/pci/if_atw_pci.c b/sys/dev/pci/if_atw_pci.c
index a2a14d33f9a..615939aee47 100644
--- a/sys/dev/pci/if_atw_pci.c
+++ b/sys/dev/pci/if_atw_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_atw_pci.c,v 1.15 2012/10/18 21:44:21 deraadt Exp $ */
+/* $OpenBSD: if_atw_pci.c,v 1.16 2014/12/19 22:44:58 guenther Exp $ */
/* $NetBSD: if_atw_pci.c,v 1.7 2004/07/23 07:07:55 dyoung Exp $ */
/*-
@@ -46,8 +46,7 @@
#include <sys/ioctl.h>
#include <sys/errno.h>
#include <sys/device.h>
-
-#include <machine/endian.h>
+#include <sys/endian.h>
#include <net/if.h>
#include <net/if_dl.h>
diff --git a/sys/dev/pci/if_cas.c b/sys/dev/pci/if_cas.c
index cdab4e1245e..42f54369ef6 100644
--- a/sys/dev/pci/if_cas.c
+++ b/sys/dev/pci/if_cas.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_cas.c,v 1.35 2014/11/18 01:56:32 brad Exp $ */
+/* $OpenBSD: if_cas.c,v 1.36 2014/12/19 22:44:58 guenther Exp $ */
/*
*
@@ -55,8 +55,7 @@
#include <sys/ioctl.h>
#include <sys/errno.h>
#include <sys/device.h>
-
-#include <machine/endian.h>
+#include <sys/endian.h>
#include <net/if.h>
#include <net/if_dl.h>
diff --git a/sys/dev/pci/if_gem_pci.c b/sys/dev/pci/if_gem_pci.c
index d30bd4bb038..d6d436c93f6 100644
--- a/sys/dev/pci/if_gem_pci.c
+++ b/sys/dev/pci/if_gem_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_gem_pci.c,v 1.34 2012/10/16 10:58:04 jsg Exp $ */
+/* $OpenBSD: if_gem_pci.c,v 1.35 2014/12/19 22:44:58 guenther Exp $ */
/* $NetBSD: if_gem_pci.c,v 1.1 2001/09/16 00:11:42 eeh Exp $ */
/*
@@ -41,8 +41,7 @@
#include <sys/socket.h>
#include <sys/errno.h>
#include <sys/device.h>
-
-#include <machine/endian.h>
+#include <sys/endian.h>
#include <net/if.h>
#include <net/if_dl.h>
diff --git a/sys/dev/pci/if_ipw.c b/sys/dev/pci/if_ipw.c
index 1385cea1671..78dae1db277 100644
--- a/sys/dev/pci/if_ipw.c
+++ b/sys/dev/pci/if_ipw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ipw.c,v 1.103 2014/12/19 15:46:22 krw Exp $ */
+/* $OpenBSD: if_ipw.c,v 1.104 2014/12/19 22:44:58 guenther Exp $ */
/*-
* Copyright (c) 2004-2008
@@ -32,9 +32,9 @@
#include <sys/systm.h>
#include <sys/conf.h>
#include <sys/device.h>
+#include <sys/endian.h>
#include <machine/bus.h>
-#include <machine/endian.h>
#include <machine/intr.h>
#include <dev/pci/pcireg.h>
diff --git a/sys/dev/pci/if_iwi.c b/sys/dev/pci/if_iwi.c
index 5e506e42b4e..01d58612383 100644
--- a/sys/dev/pci/if_iwi.c
+++ b/sys/dev/pci/if_iwi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwi.c,v 1.119 2014/11/18 02:37:30 tedu Exp $ */
+/* $OpenBSD: if_iwi.c,v 1.120 2014/12/19 22:44:58 guenther Exp $ */
/*-
* Copyright (c) 2004-2008
@@ -32,9 +32,9 @@
#include <sys/conf.h>
#include <sys/device.h>
#include <sys/task.h>
+#include <sys/endian.h>
#include <machine/bus.h>
-#include <machine/endian.h>
#include <machine/intr.h>
#include <dev/pci/pcireg.h>
diff --git a/sys/dev/pci/if_iwn.c b/sys/dev/pci/if_iwn.c
index 963ea1538e1..4b63190ecbf 100644
--- a/sys/dev/pci/if_iwn.c
+++ b/sys/dev/pci/if_iwn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwn.c,v 1.135 2014/09/10 07:22:09 dcoppa Exp $ */
+/* $OpenBSD: if_iwn.c,v 1.136 2014/12/19 22:44:58 guenther Exp $ */
/*-
* Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr>
@@ -33,9 +33,9 @@
#include <sys/conf.h>
#include <sys/device.h>
#include <sys/task.h>
+#include <sys/endian.h>
#include <machine/bus.h>
-#include <machine/endian.h>
#include <machine/intr.h>
#include <dev/pci/pcireg.h>
diff --git a/sys/dev/pci/if_pcn.c b/sys/dev/pci/if_pcn.c
index 107bc4ba58b..5b0d57b12d9 100644
--- a/sys/dev/pci/if_pcn.c
+++ b/sys/dev/pci/if_pcn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pcn.c,v 1.31 2014/12/08 16:21:38 brad Exp $ */
+/* $OpenBSD: if_pcn.c,v 1.32 2014/12/19 22:44:58 guenther Exp $ */
/* $NetBSD: if_pcn.c,v 1.26 2005/05/07 09:15:44 is Exp $ */
/*
@@ -78,6 +78,7 @@
#include <sys/errno.h>
#include <sys/device.h>
#include <sys/queue.h>
+#include <sys/endian.h>
#include <net/if.h>
#include <net/if_dl.h>
@@ -95,7 +96,6 @@
#include <machine/bus.h>
#include <machine/intr.h>
-#include <machine/endian.h>
#include <dev/mii/mii.h>
#include <dev/mii/miivar.h>
diff --git a/sys/dev/pci/if_rtw_pci.c b/sys/dev/pci/if_rtw_pci.c
index aafad4db5b2..7d787a1d49e 100644
--- a/sys/dev/pci/if_rtw_pci.c
+++ b/sys/dev/pci/if_rtw_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_rtw_pci.c,v 1.17 2012/12/05 23:20:20 deraadt Exp $ */
+/* $OpenBSD: if_rtw_pci.c,v 1.18 2014/12/19 22:44:58 guenther Exp $ */
/* $NetBSD: if_rtw_pci.c,v 1.1 2004/09/26 02:33:36 dyoung Exp $ */
/*-
@@ -48,8 +48,7 @@
#include <sys/ioctl.h>
#include <sys/errno.h>
#include <sys/device.h>
-
-#include <machine/endian.h>
+#include <sys/endian.h>
#include <net/if.h>
#include <net/if_dl.h>
diff --git a/sys/dev/pci/if_wpi.c b/sys/dev/pci/if_wpi.c
index 9910ecdd999..993338a74ca 100644
--- a/sys/dev/pci/if_wpi.c
+++ b/sys/dev/pci/if_wpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wpi.c,v 1.120 2014/07/22 13:12:11 mpi Exp $ */
+/* $OpenBSD: if_wpi.c,v 1.121 2014/12/19 22:44:58 guenther Exp $ */
/*-
* Copyright (c) 2006-2008
@@ -33,9 +33,9 @@
#include <sys/conf.h>
#include <sys/device.h>
#include <sys/task.h>
+#include <sys/endian.h>
#include <machine/bus.h>
-#include <machine/endian.h>
#include <machine/intr.h>
#include <dev/pci/pcireg.h>
diff --git a/sys/dev/pci/if_xge.c b/sys/dev/pci/if_xge.c
index edd937f5b1b..796ebd22709 100644
--- a/sys/dev/pci/if_xge.c
+++ b/sys/dev/pci/if_xge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_xge.c,v 1.57 2014/07/22 13:12:11 mpi Exp $ */
+/* $OpenBSD: if_xge.c,v 1.58 2014/12/19 22:44:58 guenther Exp $ */
/* $NetBSD: if_xge.c,v 1.1 2005/09/09 10:30:27 ragge Exp $ */
/*
@@ -50,6 +50,7 @@
#include <sys/kernel.h>
#include <sys/socket.h>
#include <sys/device.h>
+#include <sys/endian.h>
#include <net/if.h>
#include <net/if_dl.h>
@@ -71,7 +72,6 @@
#include <machine/bus.h>
#include <machine/intr.h>
-#include <machine/endian.h>
#include <dev/mii/mii.h>
#include <dev/mii/miivar.h>
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c
index 36a29bcb57b..1201948e2c8 100644
--- a/sys/dev/pci/pciide.c
+++ b/sys/dev/pci/pciide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide.c,v 1.349 2014/10/16 19:30:59 kettenis Exp $ */
+/* $OpenBSD: pciide.c,v 1.350 2014/12/19 22:44:58 guenther Exp $ */
/* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */
/*
@@ -89,9 +89,9 @@ int wdcdebug_pciide_mask = WDCDEBUG_PCIIDE_MASK;
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/malloc.h>
+#include <sys/endian.h>
#include <machine/bus.h>
-#include <machine/endian.h>
#include <dev/ata/atavar.h>
#include <dev/ata/satareg.h>
diff --git a/sys/dev/pci/siop_pci_common.c b/sys/dev/pci/siop_pci_common.c
index 6faa6909c21..bd5c8a621de 100644
--- a/sys/dev/pci/siop_pci_common.c
+++ b/sys/dev/pci/siop_pci_common.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: siop_pci_common.c,v 1.18 2010/07/23 07:47:13 jsg Exp $ */
+/* $OpenBSD: siop_pci_common.c,v 1.19 2014/12/19 22:44:58 guenther Exp $ */
/* $NetBSD: siop_pci_common.c,v 1.25 2005/06/28 00:28:42 thorpej Exp $ */
/*
@@ -33,8 +33,7 @@
#include <sys/malloc.h>
#include <sys/buf.h>
#include <sys/kernel.h>
-
-#include <machine/endian.h>
+#include <sys/endian.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>