diff --git a/sys/dev/advansys/adv_pci.c b/sys/dev/advansys/adv_pci.c index 1719972b7df..6b10b85979d 100644 --- a/sys/dev/advansys/adv_pci.c +++ b/sys/dev/advansys/adv_pci.c @@ -72,8 +72,8 @@ #include #include -#include -#include +#include +#include #include diff --git a/sys/dev/advansys/adw_pci.c b/sys/dev/advansys/adw_pci.c index c0ed43667c0..77bd27bfde6 100644 --- a/sys/dev/advansys/adw_pci.c +++ b/sys/dev/advansys/adw_pci.c @@ -49,8 +49,8 @@ #include -#include -#include +#include +#include #include #include diff --git a/sys/dev/aic7xxx/aic79xx_osm.h b/sys/dev/aic7xxx/aic79xx_osm.h index 681c10d9ed5..80a0b8c323f 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 +#if __FreeBSD_version >= 500000 +#include +#include +#else #include #include +#endif #include #include diff --git a/sys/dev/aic7xxx/aic7xxx_osm.h b/sys/dev/aic7xxx/aic7xxx_osm.h index 952a6057cf2..9fbb905ea1d 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 #if NPCI > 0 +#if __FreeBSD_version < 500000 #include #include +#else +#include +#include +#endif #endif #include diff --git a/sys/dev/amd/amd.c b/sys/dev/amd/amd.c index dd025a1678f..d601ebc866f 100644 --- a/sys/dev/amd/amd.c +++ b/sys/dev/amd/amd.c @@ -76,8 +76,8 @@ #include #include -#include -#include +#include +#include #include #define PCI_DEVICE_ID_AMD53C974 0x20201022ul diff --git a/sys/dev/amr/amr.c b/sys/dev/amr/amr.c index 29e0a301d8f..dd24e97243e 100644 --- a/sys/dev/amr/amr.c +++ b/sys/dev/amr/amr.c @@ -76,8 +76,8 @@ #include #include -#include -#include +#include +#include #include #include diff --git a/sys/dev/amr/amr_pci.c b/sys/dev/amr/amr_pci.c index d9dca7612f3..6ff94ae7dcf 100644 --- a/sys/dev/amr/amr_pci.c +++ b/sys/dev/amr/amr_pci.c @@ -70,8 +70,8 @@ #include #include -#include -#include +#include +#include #include #include diff --git a/sys/dev/an/if_an_pci.c b/sys/dev/an/if_an_pci.c index 2ec7057484a..5fe7901fc45 100644 --- a/sys/dev/an/if_an_pci.c +++ b/sys/dev/an/if_an_pci.c @@ -80,8 +80,8 @@ __FBSDID("$FreeBSD$"); #include #include -#include -#include +#include +#include #include #include diff --git a/sys/dev/ar/if_ar_pci.c b/sys/dev/ar/if_ar_pci.c index 07a9edf5527..1af13cdf3f0 100644 --- a/sys/dev/ar/if_ar_pci.c +++ b/sys/dev/ar/if_ar_pci.c @@ -40,8 +40,8 @@ #include #include -#include -#include +#include +#include #include #include diff --git a/sys/dev/asr/asr.c b/sys/dev/asr/asr.c index 1a60f5478ce..4ca3a967b9a 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 -#include -#include +#include +#include #define STATIC static #define INLINE diff --git a/sys/dev/ata/ata-chipset.c b/sys/dev/ata/ata-chipset.c index d731265e59c..add97eacd93 100644 --- a/sys/dev/ata/ata-chipset.c +++ b/sys/dev/ata/ata-chipset.c @@ -39,8 +39,8 @@ #include #include #include -#include -#include +#include +#include #include #include diff --git a/sys/dev/ata/ata-dma.c b/sys/dev/ata/ata-dma.c index a2f108eb175..4dfff5adc69 100644 --- a/sys/dev/ata/ata-dma.c +++ b/sys/dev/ata/ata-dma.c @@ -37,7 +37,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/sys/dev/ata/ata-pci.c b/sys/dev/ata/ata-pci.c index 7027da7a981..4a40ae2515a 100644 --- a/sys/dev/ata/ata-pci.c +++ b/sys/dev/ata/ata-pci.c @@ -42,8 +42,8 @@ #include #endif #include -#include -#include +#include +#include #include #include diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c index 838ba2b053c..8b6d05fc017 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 -#include -#include +#include +#include #include diff --git a/sys/dev/bktr/bktr_audio.c b/sys/dev/bktr/bktr_audio.c index b9488916142..3821b8a8793 100644 --- a/sys/dev/bktr/bktr_audio.c +++ b/sys/dev/bktr/bktr_audio.c @@ -57,9 +57,10 @@ #if (__FreeBSD_version < 500000) #include /* for DELAY */ -#endif - #include +#else +#include +#endif #if (__FreeBSD_version >=300000) #include /* for bus space */ diff --git a/sys/dev/bktr/bktr_card.c b/sys/dev/bktr/bktr_card.c index c61e4e26ec0..fdae22ef8c9 100644 --- a/sys/dev/bktr/bktr_card.c +++ b/sys/dev/bktr/bktr_card.c @@ -57,9 +57,10 @@ #if (__FreeBSD_version < 500000) #include /* for DELAY */ -#endif - #include +#else +#include +#endif #if (__FreeBSD_version >=300000) #include /* for bus space */ diff --git a/sys/dev/bktr/bktr_core.c b/sys/dev/bktr/bktr_core.c index b95c534e1f6..0d006587629 100644 --- a/sys/dev/bktr/bktr_core.c +++ b/sys/dev/bktr/bktr_core.c @@ -131,9 +131,11 @@ #include /* for DELAY */ #define PROC_LOCK(p) #define PROC_UNLOCK(p) +#include +#else +#include #endif -#include #if (__FreeBSD_version >=300000) #include /* 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 7ed0988ec9a..2075eeabda1 100644 --- a/sys/dev/bktr/bktr_i2c.c +++ b/sys/dev/bktr/bktr_i2c.c @@ -51,6 +51,11 @@ #if (__FreeBSD_version < 500000) #include /* for DELAY */ +#include +#include +#else +#include +#include #endif #if (__FreeBSD_version >=300000) @@ -59,8 +64,6 @@ #include #endif -#include -#include #include #include /* extensions to ioctl_meteor.h */ diff --git a/sys/dev/bktr/bktr_os.c b/sys/dev/bktr/bktr_os.c index 8451ae9f71d..1a7a8077760 100644 --- a/sys/dev/bktr/bktr_os.c +++ b/sys/dev/bktr/bktr_os.c @@ -96,10 +96,12 @@ #if (__FreeBSD_version < 500000) #include /* for DELAY */ -#endif - #include #include +#else +#include +#include +#endif #include int bt848_card = -1; diff --git a/sys/dev/bktr/bktr_tuner.c b/sys/dev/bktr/bktr_tuner.c index 999766c0fa6..5f3b15ca7bd 100644 --- a/sys/dev/bktr/bktr_tuner.c +++ b/sys/dev/bktr/bktr_tuner.c @@ -54,10 +54,11 @@ #endif #ifdef __FreeBSD__ -#include - #if (__FreeBSD_version < 500000) #include /* for DELAY */ +#include +#else +#include #endif #if (__FreeBSD_version >=300000) diff --git a/sys/dev/buslogic/bt_pci.c b/sys/dev/buslogic/bt_pci.c index 2e1002035c4..96692009be9 100644 --- a/sys/dev/buslogic/bt_pci.c +++ b/sys/dev/buslogic/bt_pci.c @@ -36,8 +36,8 @@ #include #include -#include -#include +#include +#include #include #include diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c index bdfabfe8901..fe83f2935fc 100644 --- a/sys/dev/ciss/ciss.c +++ b/sys/dev/ciss/ciss.c @@ -91,8 +91,8 @@ #include #include -#include -#include +#include +#include #include #include diff --git a/sys/dev/digi/digi_pci.c b/sys/dev/digi/digi_pci.c index 14d036072ae..182835bef63 100644 --- a/sys/dev/digi/digi_pci.c +++ b/sys/dev/digi/digi_pci.c @@ -40,7 +40,7 @@ #include #include #include -#include +#include #include #include diff --git a/sys/dev/dpt/dpt_pci.c b/sys/dev/dpt/dpt_pci.c index 4da3d805caa..de6f76f2b51 100644 --- a/sys/dev/dpt/dpt_pci.c +++ b/sys/dev/dpt/dpt_pci.c @@ -43,8 +43,8 @@ #include #include -#include -#include +#include +#include #include diff --git a/sys/dev/drm/drm_os_freebsd.h b/sys/dev/drm/drm_os_freebsd.h index 745b4e71c5e..bfcdce97b35 100644 --- a/sys/dev/drm/drm_os_freebsd.h +++ b/sys/dev/drm/drm_os_freebsd.h @@ -61,10 +61,11 @@ #include #include #include -#include #if __FreeBSD_version >= 500000 +#include #include #else +#include #include #endif #include diff --git a/sys/dev/ed/if_ed_pci.c b/sys/dev/ed/if_ed_pci.c index ee8067b654e..e83b03a230e 100644 --- a/sys/dev/ed/if_ed_pci.c +++ b/sys/dev/ed/if_ed_pci.c @@ -36,8 +36,8 @@ #include #include -#include -#include +#include +#include #include diff --git a/sys/dev/em/if_em.h b/sys/dev/em/if_em.h index ca85fbb3077..7ed3ef3fd81 100644 --- a/sys/dev/em/if_em.h +++ b/sys/dev/em/if_em.h @@ -69,8 +69,8 @@ POSSIBILITY OF SUCH DAMAGE. #include #include #include -#include -#include +#include +#include #include #include #include diff --git a/sys/dev/em/if_em_osdep.h b/sys/dev/em/if_em_osdep.h index 0bd806efd50..5c010ec25ec 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 #include #include -#include -#include +#include +#include #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 7be080415c5..43b8f068c7b 100644 --- a/sys/dev/en/if_en_pci.c +++ b/sys/dev/en/if_en_pci.c @@ -63,8 +63,8 @@ __FBSDID("$FreeBSD$"); #include #include -#include -#include +#include +#include #include #include diff --git a/sys/dev/fatm/if_fatm.c b/sys/dev/fatm/if_fatm.c index f21ee972958..15ef591b2ff 100644 --- a/sys/dev/fatm/if_fatm.c +++ b/sys/dev/fatm/if_fatm.c @@ -67,8 +67,8 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include -#include +#include +#include #include diff --git a/sys/dev/fb/boot_font.c b/sys/dev/fb/boot_font.c index db82efcc4a0..66167ba199b 100644 --- a/sys/dev/fb/boot_font.c +++ b/sys/dev/fb/boot_font.c @@ -72,8 +72,8 @@ __FBSDID("$FreeBSD$"); #include #include -#include -#include +#include +#include #include #include diff --git a/sys/dev/fb/gfb.c b/sys/dev/fb/gfb.c index 4e031692ee2..4667dac260a 100644 --- a/sys/dev/fb/gfb.c +++ b/sys/dev/fb/gfb.c @@ -80,8 +80,8 @@ __FBSDID("$FreeBSD$"); #include #include -#include -#include +#include +#include #include #include diff --git a/sys/dev/fb/s3_pci.c b/sys/dev/fb/s3_pci.c index 69549db99ad..7ad2071e844 100644 --- a/sys/dev/fb/s3_pci.c +++ b/sys/dev/fb/s3_pci.c @@ -52,8 +52,8 @@ #include #include -#include -#include +#include +#include #include #include diff --git a/sys/dev/fb/tga.c b/sys/dev/fb/tga.c index a5a56c02940..8ad6bb5b66b 100644 --- a/sys/dev/fb/tga.c +++ b/sys/dev/fb/tga.c @@ -85,8 +85,8 @@ __FBSDID("$FreeBSD$"); #include #include -#include -#include +#include +#include #include #include diff --git a/sys/dev/firewire/fwohci_pci.c b/sys/dev/firewire/fwohci_pci.c index 513343ae97e..0d3630a76e5 100644 --- a/sys/dev/firewire/fwohci_pci.c +++ b/sys/dev/firewire/fwohci_pci.c @@ -55,8 +55,8 @@ #include /* for DELAY() */ #endif -#include -#include +#include +#include #include #include diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index 2b08b86db4d..5b846662b2e 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -69,8 +69,8 @@ __FBSDID("$FreeBSD$"); #include #endif -#include -#include /* for PCIM_CMD_xxx */ +#include +#include /* for PCIM_CMD_xxx */ #include #include