-/* $OpenBSD: aac_pci.c,v 1.28 2023/09/11 08:40:25 mvs Exp $ */
+/* $OpenBSD: aac_pci.c,v 1.29 2024/05/24 06:02:53 jsg Exp $ */
/*-
* Copyright (c) 2000 Michael Smith
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
-#include <sys/kernel.h>
-#include <sys/malloc.h>
#include <sys/queue.h>
#include <sys/rwlock.h>
-#include <sys/endian.h>
#include <machine/bus.h>
#include <machine/intr.h>
-/* $OpenBSD: adv_pci.c,v 1.15 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: adv_pci.c,v 1.16 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: adv_pci.c,v 1.5 1998/09/26 15:52:55 dante Exp $ */
/*
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
#include <sys/queue.h>
#include <sys/device.h>
-/* $OpenBSD: adw_pci.c,v 1.20 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: adw_pci.c,v 1.21 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: adw_pci.c,v 1.7 2000/05/26 15:13:46 dante Exp $ */
/*
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
#include <sys/queue.h>
#include <sys/device.h>
-#include <sys/timeout.h>
#include <machine/bus.h>
-/* $OpenBSD: agp.c,v 1.50 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: agp.c,v 1.51 2024/05/24 06:02:53 jsg Exp $ */
/*-
* Copyright (c) 2000 Doug Rabson
* All rights reserved.
#include <uvm/uvm_extern.h>
#include <dev/pci/pcivar.h>
-#include <dev/pci/pcidevs.h>
-
-#include <dev/ic/mc6845reg.h>
-#include <dev/ic/pcdisplayvar.h>
-#include <dev/ic/vgareg.h>
-#include <dev/ic/vgavar.h>
#include <dev/pci/agpvar.h>
#include <dev/pci/agpreg.h>
-/* $OpenBSD: agp_ali.c,v 1.17 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: agp_ali.c,v 1.18 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: agp_ali.c,v 1.2 2001/09/15 00:25:00 thorpej Exp $ */
*/
#include <sys/param.h>
-#include <sys/malloc.h>
#include <sys/systm.h>
#include <sys/device.h>
-#include <sys/rwlock.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/pcidevs.h>
-#include <dev/pci/vga_pcivar.h>
#include <dev/pci/agpvar.h>
#include <dev/pci/agpreg.h>
-/* $OpenBSD: agp_amd.c,v 1.23 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: agp_amd.c,v 1.24 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: agp_amd.c,v 1.6 2001/10/06 02:48:50 thorpej Exp $ */
/*-
#include <sys/systm.h>
#include <sys/malloc.h>
#include <sys/device.h>
-#include <sys/rwlock.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
-#include <dev/pci/vga_pcivar.h>
#include <dev/pci/agpvar.h>
#include <dev/pci/agpreg.h>
-/* $OpenBSD: agp_apple.c,v 1.8 2016/05/07 22:46:54 kettenis Exp $ */
+/* $OpenBSD: agp_apple.c,v 1.9 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2012 Martin Pieuchot <mpi@openbsd.org>
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/malloc.h>
#include <sys/device.h>
-#include <sys/rwlock.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
-/* $OpenBSD: agp_i810.c,v 1.96 2024/05/13 01:15:51 jsg Exp $ */
+/* $OpenBSD: agp_i810.c,v 1.97 2024/05/24 06:02:53 jsg Exp $ */
/*-
* Copyright (c) 2000 Doug Rabson
#include <sys/systm.h>
#include <sys/malloc.h>
#include <sys/device.h>
-#include <sys/rwlock.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
-/* $OpenBSD: agp_intel.c,v 1.25 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: agp_intel.c,v 1.26 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: agp_intel.c,v 1.3 2001/09/15 00:25:00 thorpej Exp $ */
/*-
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/malloc.h>
#include <sys/device.h>
-#include <sys/rwlock.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
-/* $OpenBSD: agp_sis.c,v 1.20 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: agp_sis.c,v 1.21 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: agp_sis.c,v 1.2 2001/09/15 00:25:00 thorpej Exp $ */
/*-
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/malloc.h>
#include <sys/device.h>
-#include <sys/rwlock.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/pcidevs.h>
-#include <dev/pci/vga_pcivar.h>
#include <dev/pci/agpvar.h>
#include <dev/pci/agpreg.h>
-/* $OpenBSD: agp_via.c,v 1.22 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: agp_via.c,v 1.23 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: agp_via.c,v 1.2 2001/09/15 00:25:00 thorpej Exp $ */
/*-
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/malloc.h>
#include <sys/device.h>
-#include <sys/rwlock.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/pcidevs.h>
-#include <dev/pci/vga_pcivar.h>
#include <dev/pci/agpvar.h>
#include <dev/pci/agpreg.h>
-/* $OpenBSD: ahc_pci.c,v 1.63 2022/10/21 17:45:40 kn Exp $ */
+/* $OpenBSD: ahc_pci.c,v 1.64 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: ahc_pci.c,v 1.43 2003/08/18 09:16:22 taca Exp $ */
/*
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
*
- * $Id: ahc_pci.c,v 1.63 2022/10/21 17:45:40 kn Exp $
+ * $Id: ahc_pci.c,v 1.64 2024/05/24 06:02:53 jsg Exp $
*
* //depot/aic7xxx/aic7xxx/aic7xxx_pci.c#57 $
*
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/malloc.h>
-#include <sys/kernel.h>
#include <sys/queue.h>
#include <sys/device.h>
-#include <sys/reboot.h>
#include <machine/bus.h>
#include <machine/intr.h>
-/* $OpenBSD: ahci_pci.c,v 1.16 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: ahci_pci.c,v 1.17 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2006 David Gwynne <dlg@openbsd.org>
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/buf.h>
-#include <sys/kernel.h>
-#include <sys/malloc.h>
#include <sys/device.h>
-#include <sys/timeout.h>
#include <sys/queue.h>
#include <sys/mutex.h>
-#include <sys/pool.h>
#include <machine/bus.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcidevs.h>
-#include <dev/ata/pmreg.h>
-
#include <dev/ic/ahcireg.h>
#include <dev/ic/ahcivar.h>
-/* $OpenBSD: alipm.c,v 1.17 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: alipm.c,v 1.18 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2005 Mark Kettenis
#include <sys/param.h>
#include <sys/device.h>
-#include <sys/kernel.h>
#include <sys/rwlock.h>
#include <sys/systm.h>
-/* $OpenBSD: amdiic.c,v 1.13 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: amdiic.c,v 1.14 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2005 Alexander Yurchenko <grange@openbsd.org>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
-#include <sys/kernel.h>
#include <sys/rwlock.h>
#include <machine/bus.h>
-/* $OpenBSD: amdpm.c,v 1.39 2023/02/04 19:19:37 cheloha Exp $ */
+/* $OpenBSD: amdpm.c,v 1.40 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
-#include <sys/kernel.h>
#include <sys/rwlock.h>
#include <sys/timeout.h>
#include <sys/timetc.h>
-/* $OpenBSD: ami_pci.c,v 1.45 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: ami_pci.c,v 1.46 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
-#include <sys/malloc.h>
#include <sys/device.h>
#include <sys/rwlock.h>
-/* $OpenBSD: arc.c,v 1.125 2024/04/13 23:44:11 jsg Exp $ */
+/* $OpenBSD: arc.c,v 1.126 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2006 David Gwynne <dlg@openbsd.org>
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/buf.h>
-#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/mutex.h>
#include <sys/device.h>
-/* $OpenBSD: auacer.c,v 1.29 2024/05/13 01:15:51 jsg Exp $ */
+/* $OpenBSD: auacer.c,v 1.30 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: auacer.c,v 1.3 2004/11/10 04:20:26 kent Exp $ */
/*-
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/device.h>
-/* $OpenBSD: auixp.c,v 1.52 2023/09/11 08:41:26 mvs Exp $ */
+/* $OpenBSD: auixp.c,v 1.53 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: auixp.c,v 1.9 2005/06/27 21:13:09 thorpej Exp $ */
/*
#include <sys/systm.h>
#include <sys/malloc.h>
#include <sys/device.h>
-#include <sys/conf.h>
-#include <sys/exec.h>
#include <sys/audioio.h>
#include <sys/queue.h>
-/* $OpenBSD: autri.c,v 1.50 2022/10/26 20:19:08 kn Exp $ */
+/* $OpenBSD: autri.c,v 1.51 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2001 SOMEYA Yoshihiko and KUROSAWA Takahiro.
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/fcntl.h>
#include <sys/malloc.h>
#include <sys/device.h>
#include <dev/audio_if.h>
#include <dev/midi_if.h>
#include <dev/ic/ac97.h>
-#include <dev/ic/mpuvar.h>
#include <machine/bus.h>
#include <machine/intr.h>
-/* $OpenBSD: berkwdt.c,v 1.11 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: berkwdt.c,v 1.12 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2009 Wim Van Sebroeck <wim@iguana.be>
#include <sys/param.h>
#include <sys/device.h>
-#include <sys/kernel.h>
#include <sys/systm.h>
#include <machine/bus.h>
-/* $OpenBSD: cac_pci.c,v 1.18 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: cac_pci.c,v 1.19 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: cac_pci.c,v 1.10 2001/01/10 16:48:04 ad Exp $ */
/*-
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/queue.h>
-#include <sys/endian.h>
#include <sys/sensors.h>
#include <machine/bus.h>
-/* $OpenBSD: ccp_pci.c,v 1.8 2023/11/24 08:47:35 jmatthew Exp $ */
+/* $OpenBSD: ccp_pci.c,v 1.9 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2018 David Gwynne <dlg@openbsd.org>
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
-#include <sys/rwlock.h>
#include <sys/device.h>
#include <sys/timeout.h>
-#include <sys/queue.h>
#include <machine/bus.h>
-/* $OpenBSD: ciss_pci.c,v 1.22 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: ciss_pci.c,v 1.23 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2005 Michael Shalayeff
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
-#include <sys/malloc.h>
#include <sys/device.h>
#include <dev/pci/pcidevs.h>
-/* $OpenBSD: cmpci.c,v 1.53 2023/03/08 04:43:08 guenther Exp $ */
+/* $OpenBSD: cmpci.c,v 1.54 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: cmpci.c,v 1.25 2004/10/26 06:32:20 xtraeme Exp $ */
/*
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/device.h>
#include <sys/audioio.h>
#include <dev/audio_if.h>
-#include <dev/midi_if.h>
#include <dev/pci/cmpcireg.h>
#include <dev/pci/cmpcivar.h>
-/* $OpenBSD: com_pci.c,v 1.3 2023/09/11 08:41:26 mvs Exp $ */
+/* $OpenBSD: com_pci.c,v 1.4 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2020 Patrick Wildt <patrick@blueri.se>
*
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/tty.h>
#include <dev/pci/pcidevs.h>
#include <dev/ic/comreg.h>
#include <dev/ic/comvar.h>
-#include <dev/ic/ns16550reg.h>
#define com_usr 31 /* Synopsys DesignWare UART */
-/* $OpenBSD: cs4280.c,v 1.60 2022/10/26 20:19:08 kn Exp $ */
+/* $OpenBSD: cs4280.c,v 1.61 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: cs4280.c,v 1.5 2000/06/26 04:56:23 simonb Exp $ */
/*
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
-#include <sys/fcntl.h>
#include <sys/malloc.h>
#include <sys/device.h>
-/* $OpenBSD: cs4281.c,v 1.45 2022/10/26 20:19:08 kn Exp $ */
+/* $OpenBSD: cs4281.c,v 1.46 2024/05/24 06:02:53 jsg Exp $ */
/* $Tera: cs4281.c,v 1.18 2000/12/27 14:24:45 tacha Exp $ */
/*
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/malloc.h>
-#include <sys/fcntl.h>
#include <sys/device.h>
#include <dev/pci/pcidevs.h>
#include <sys/audioio.h>
#include <dev/audio_if.h>
-#include <dev/midi_if.h>
#include <dev/ic/ac97.h>
-/* $OpenBSD: cy82c693.c,v 1.8 2015/03/14 03:38:48 jsg Exp $ */
+/* $OpenBSD: cy82c693.c,v 1.9 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: cy82c693.c,v 1.1 2000/06/06 03:07:39 thorpej Exp $ */
/*-
#include <machine/bus.h>
-#include <dev/pci/pcivar.h>
-
#include <dev/pci/cy82c693reg.h>
#include <dev/pci/cy82c693var.h>
-/* $OpenBSD: cz.c,v 1.28 2024/05/15 12:57:36 jsg Exp $ */
+/* $OpenBSD: cz.c,v 1.29 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: cz.c,v 1.15 2001/01/20 19:10:36 thorpej Exp $ */
/*-
#include <sys/tty.h>
#include <sys/conf.h>
#include <sys/time.h>
-#include <sys/kernel.h>
-#include <sys/fcntl.h>
#include <sys/syslog.h>
#include <dev/pci/pcireg.h>
-/* $OpenBSD: dwiic_pci.c,v 1.26 2024/04/07 01:04:58 jsg Exp $ */
+/* $OpenBSD: dwiic_pci.c,v 1.27 2024/05/24 06:02:53 jsg Exp $ */
/*
* Synopsys DesignWare I2C controller
* PCI attachment
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <dev/pci/pcidevs.h>
#include <dev/pci/pcireg.h>
-/* $OpenBSD: eap.c,v 1.64 2022/10/26 20:19:08 kn Exp $ */
+/* $OpenBSD: eap.c,v 1.65 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: eap.c,v 1.46 2001/09/03 15:07:37 reinoud Exp $ */
/*
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/fcntl.h>
#include <sys/device.h>
-/* $OpenBSD: ehci_pci.c,v 1.32 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: ehci_pci.c,v 1.33 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: ehci_pci.c,v 1.15 2004/04/23 21:13:06 itojun Exp $ */
/*
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/rwlock.h>
#include <sys/device.h>
#include <sys/timeout.h>
#include <dev/usb/usb.h>
#include <dev/usb/usbdi.h>
#include <dev/usb/usbdivar.h>
-#include <dev/usb/usb_mem.h>
#include <dev/usb/ehcireg.h>
#include <dev/usb/ehcivar.h>
-/* $OpenBSD: envy.c,v 1.87 2022/10/26 20:19:08 kn Exp $ */
+/* $OpenBSD: envy.c,v 1.88 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2007 Alexandre Ratchov <alex@caoua.org>
*
#include <sys/device.h>
#include <sys/audioio.h>
#include <sys/malloc.h>
-#include <sys/kernel.h>
#include <dev/audio_if.h>
#include <dev/midi_if.h>
#include <dev/ic/ac97.h>
-/* $OpenBSD: esa.c,v 1.42 2023/09/11 08:41:26 mvs Exp $ */
+/* $OpenBSD: esa.c,v 1.43 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: esa.c,v 1.12 2002/03/24 14:17:35 jmcneill Exp $ */
/*
#include <sys/systm.h>
#include <sys/malloc.h>
#include <sys/device.h>
-#include <sys/conf.h>
-#include <sys/exec.h>
#include <sys/audioio.h>
#include <machine/bus.h>
-/* $OpenBSD: eso.c,v 1.54 2023/03/08 04:43:08 guenther Exp $ */
+/* $OpenBSD: eso.c,v 1.55 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: eso.c,v 1.48 2006/12/18 23:13:39 kleink Exp $ */
/*
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/device.h>
#include <dev/audio_if.h>
#include <dev/midi_if.h>
-#include <dev/ic/mpuvar.h>
#include <dev/ic/i8237reg.h>
#include <dev/pci/esoreg.h>
#include <dev/pci/esovar.h>
-/* $OpenBSD: fms.c,v 1.37 2024/05/13 01:15:51 jsg Exp $ */
+/* $OpenBSD: fms.c,v 1.38 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: fms.c,v 1.5.4.1 2000/06/30 16:27:50 simonb Exp $ */
/*-
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/device.h>
#include <sys/audioio.h>
-/* $OpenBSD: fmsradio.c,v 1.8 2022/03/21 19:22:41 miod Exp $ */
+/* $OpenBSD: fmsradio.c,v 1.9 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2002 Vladimir Popov <jumbo@narod.ru>
#include <sys/malloc.h>
#include <sys/device.h>
#include <sys/errno.h>
-#include <sys/ioctl.h>
#include <sys/audioio.h>
#include <sys/radioio.h>
#include <machine/bus.h>
-#include <dev/pci/pcireg.h>
-#include <dev/pci/pcivar.h>
-#include <dev/pci/pcidevs.h>
-
-#include <dev/audio_if.h>
#include <dev/radio_if.h>
#include <dev/ic/ac97.h>
-/* $OpenBSD: gdt_pci.c,v 1.27 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: gdt_pci.c,v 1.28 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 1999, 2000 Niklas Hallqvist. All rights reserved.
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
-#include <sys/kernel.h>
-#include <sys/malloc.h>
#include <sys/queue.h>
-#include <sys/endian.h>
#include <machine/bus.h>
-/* $OpenBSD: i82365_pci.c,v 1.15 2024/05/13 01:15:51 jsg Exp $ */
+/* $OpenBSD: i82365_pci.c,v 1.16 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: i82365_pci.c,v 1.11 2000/02/24 03:42:44 itohy Exp $ */
/*
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/device.h>
#include <dev/ic/i82365reg.h>
#include <dev/pci/pcidevs.h>
#include <dev/pci/i82365_pcivar.h>
-#include <dev/isa/isavar.h>
#include <dev/isa/i82365_isavar.h>
/*
-/* $OpenBSD: ichiic.c,v 1.54 2024/03/06 00:11:25 jsg Exp $ */
+/* $OpenBSD: ichiic.c,v 1.55 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2005, 2006 Alexander Yurchenko <grange@openbsd.org>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
-#include <sys/kernel.h>
#include <sys/rwlock.h>
#include <machine/bus.h>
-/* $OpenBSD: if_acx_pci.c,v 1.10 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: if_acx_pci.c,v 1.11 2024/05/24 06:02:53 jsg Exp $ */
/*-
* Copyright (c) 2006 Theo de Raadt <deraadt@openbsd.org>
#include "bpfilter.h"
#include <sys/param.h>
-#include <sys/sockio.h>
-#include <sys/mbuf.h>
-#include <sys/kernel.h>
-#include <sys/socket.h>
#include <sys/systm.h>
-#include <sys/malloc.h>
#include <sys/timeout.h>
#include <sys/device.h>
-/* $OpenBSD: if_age.c,v 1.39 2023/11/10 15:51:20 bluhm Exp $ */
+/* $OpenBSD: if_age.c,v 1.40 2024/05/24 06:02:53 jsg Exp $ */
/*-
* Copyright (c) 2008, Pyun YongHyeon <yongari@FreeBSD.org>
#include <sys/sockio.h>
#include <sys/mbuf.h>
#include <sys/queue.h>
-#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/timeout.h>
-#include <sys/socket.h>
#include <machine/bus.h>
-/* $OpenBSD: if_alc.c,v 1.57 2023/11/10 15:51:20 bluhm Exp $ */
+/* $OpenBSD: if_alc.c,v 1.58 2024/05/24 06:02:53 jsg Exp $ */
/*-
* Copyright (c) 2009, Pyun YongHyeon <yongari@FreeBSD.org>
* All rights reserved.
#include <sys/sockio.h>
#include <sys/mbuf.h>
#include <sys/queue.h>
-#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/timeout.h>
-#include <sys/socket.h>
#include <machine/bus.h>
-/* $OpenBSD: if_ale.c,v 1.50 2023/11/10 15:51:20 bluhm Exp $ */
+/* $OpenBSD: if_ale.c,v 1.51 2024/05/24 06:02:53 jsg Exp $ */
/*-
* Copyright (c) 2008, Pyun YongHyeon <yongari@FreeBSD.org>
* All rights reserved.
#include <sys/sockio.h>
#include <sys/mbuf.h>
#include <sys/queue.h>
-#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/timeout.h>
-#include <sys/socket.h>
#include <machine/bus.h>
-/* $OpenBSD: if_an_pci.c,v 1.20 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: if_an_pci.c,v 1.21 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
-#include <sys/timeout.h>
-#include <sys/socket.h>
-#include <sys/tree.h>
#include <net/if.h>
#include <net/if_media.h>
-/* $OpenBSD: if_aq_pci.c,v 1.27 2024/05/13 01:15:51 jsg Exp $ */
+/* $OpenBSD: if_aq_pci.c,v 1.28 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: if_aq.c,v 1.27 2021/06/16 00:21:18 riastradh Exp $ */
/*
#include <sys/types.h>
#include <sys/device.h>
#include <sys/param.h>
-#include <sys/kernel.h>
#include <sys/sockio.h>
#include <sys/systm.h>
#include <sys/intrmap.h>
-/* $OpenBSD: if_ath_pci.c,v 1.27 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: if_ath_pci.c,v 1.28 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: if_ath_pci.c,v 1.7 2004/06/30 05:58:17 mycroft Exp $ */
/*-
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/mbuf.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
-#include <sys/lock.h>
-#include <sys/socket.h>
-#include <sys/sockio.h>
-#include <sys/errno.h>
#include <sys/device.h>
#include <sys/gpio.h>
-/* $OpenBSD: if_athn_pci.c,v 1.23 2022/07/24 17:22:12 kn Exp $ */
+/* $OpenBSD: if_athn_pci.c,v 1.24 2024/05/24 06:02:53 jsg Exp $ */
/*-
* Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr>
#include "bpfilter.h"
#include <sys/param.h>
-#include <sys/sockio.h>
-#include <sys/mbuf.h>
-#include <sys/kernel.h>
-#include <sys/socket.h>
#include <sys/systm.h>
-#include <sys/malloc.h>
#include <sys/timeout.h>
#include <sys/device.h>
-/* $OpenBSD: if_atw_pci.c,v 1.19 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: if_atw_pci.c,v 1.20 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: if_atw_pci.c,v 1.7 2004/07/23 07:07:55 dyoung Exp $ */
/*-
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/mbuf.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
-#include <sys/socket.h>
-#include <sys/ioctl.h>
-#include <sys/errno.h>
#include <sys/device.h>
-#include <sys/endian.h>
#include <net/if.h>
#include <net/if_media.h>
#include <machine/intr.h>
#include <dev/ic/atwreg.h>
-#include <dev/ic/rf3000reg.h>
-#include <dev/ic/si4136reg.h>
#include <dev/ic/atwvar.h>
#include <dev/pci/pcivar.h>
-/* $OpenBSD: if_bce.c,v 1.55 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: if_bce.c,v 1.56 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: if_bce.c,v 1.3 2003/09/29 01:53:02 mrg Exp $ */
/*
#include <sys/timeout.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
#include <sys/device.h>
-#include <sys/socket.h>
#include <net/if.h>
#include <net/if_media.h>
#include <dev/mii/mii.h>
#include <dev/mii/miivar.h>
-#include <dev/mii/miidevs.h>
#include <dev/pci/if_bcereg.h>
-/* $OpenBSD: if_bge.c,v 1.404 2024/04/14 03:26:25 jsg Exp $ */
+/* $OpenBSD: if_bge.c,v 1.405 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
#include <sys/sockio.h>
#include <sys/mbuf.h>
#include <sys/malloc.h>
-#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/timeout.h>
-#include <sys/socket.h>
#include <sys/atomic.h>
#include <sys/kstat.h>
#include <dev/mii/mii.h>
#include <dev/mii/miivar.h>
-#include <dev/mii/miidevs.h>
#include <dev/mii/brgphyreg.h>
#include <dev/pci/if_bgereg.h>
-/* $OpenBSD: if_bnxt.c,v 1.49 2024/05/07 18:35:23 jan Exp $ */
+/* $OpenBSD: if_bnxt.c,v 1.50 2024/05/24 06:02:53 jsg Exp $ */
/*-
* Broadcom NetXtreme-C/E network driver.
*
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
-#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/device.h>
#include <sys/stdint.h>
#include <machine/bus.h>
-#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcidevs.h>
-/* $OpenBSD: if_bwfm_pci.c,v 1.75 2022/12/30 14:10:17 kettenis Exp $ */
+/* $OpenBSD: if_bwfm_pci.c,v 1.76 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2010-2016 Broadcom Corporation
* Copyright (c) 2017 Patrick Wildt <patrick@blueri.se>
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include "bpfilter.h"
-
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/buf.h>
-#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/device.h>
#include <sys/queue.h>
#include <dev/ofw/openfirm.h>
#endif
-#if NBPFILTER > 0
-#include <net/bpf.h>
-#endif
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#include <netinet/in.h>
-/* $OpenBSD: if_bwi_pci.c,v 1.18 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: if_bwi_pci.c,v 1.19 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org>
#include "bpfilter.h"
#include <sys/param.h>
-#include <sys/sockio.h>
-#include <sys/mbuf.h>
-#include <sys/kernel.h>
-#include <sys/socket.h>
#include <sys/systm.h>
-#include <sys/malloc.h>
#include <sys/timeout.h>
#include <sys/device.h>
-/* $OpenBSD: if_cas.c,v 1.55 2023/11/10 15:51:20 bluhm Exp $ */
+/* $OpenBSD: if_cas.c,v 1.56 2024/05/24 06:02:53 jsg Exp $ */
/*
*
#include <sys/timeout.h>
#include <sys/mbuf.h>
#include <sys/syslog.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
-#include <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/errno.h>
#include <sys/device.h>
-#include <sys/endian.h>
#include <sys/atomic.h>
#include <net/if.h>
-/* $OpenBSD: if_dc_pci.c,v 1.78 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: if_dc_pci.c,v 1.79 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
* $FreeBSD: src/sys/pci/if_dc.c,v 1.5 2000/01/12 22:24:05 wpaul Exp $
*/
-#include "bpfilter.h"
-
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/mbuf.h>
-#include <sys/socket.h>
-#include <sys/ioctl.h>
-#include <sys/errno.h>
#include <sys/timeout.h>
#include <sys/malloc.h>
-#include <sys/kernel.h>
#include <sys/device.h>
#include <net/if.h>
#include <net/if_media.h>
-#if NBPFILTER > 0
-#include <net/bpf.h>
-#endif
-
#include <dev/mii/miivar.h>
#include <dev/pci/pcireg.h>
-/* $OpenBSD: if_de.c,v 1.142 2023/04/11 00:45:08 jsg Exp $ */
+/* $OpenBSD: if_de.c,v 1.143 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: if_de.c,v 1.58 1998/01/12 09:39:58 thorpej Exp $ */
/*-
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/errno.h>
-#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/timeout.h>
-#include <sys/pool.h>
#include <net/if.h>
#include <net/if_media.h>
***************************************************************************/
-/* $OpenBSD: if_em.c,v 1.376 2024/05/13 01:15:51 jsg Exp $ */
+/* $OpenBSD: if_em.c,v 1.377 2024/05/24 06:02:53 jsg Exp $ */
/* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */
#include <dev/pci/if_em.h>
#include <dev/pci/if_em_soc.h>
-#include <netinet/ip6.h>
-
/*********************************************************************
* Driver version
*********************************************************************/
*******************************************************************************/
-/* $OpenBSD: if_em_hw.c,v 1.120 2024/04/13 23:44:11 jsg Exp $ */
+/* $OpenBSD: if_em_hw.c,v 1.121 2024/05/24 06:02:53 jsg Exp $ */
/*
* if_em_hw.c Shared functions for accessing and configuring the MAC
*/
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/sockio.h>
-#include <sys/mbuf.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
#include <sys/device.h>
-#include <sys/socket.h>
-#include <sys/kstat.h>
#include <net/if.h>
#include <net/if_media.h>
#include <netinet/in.h>
#include <netinet/if_ether.h>
-#include <uvm/uvm_extern.h>
-
-#include <dev/pci/pcireg.h>
-#include <dev/pci/pcivar.h>
-
#include <dev/pci/if_em.h>
#include <dev/pci/if_em_hw.h>
#include <dev/pci/if_em_soc.h>
-/* $OpenBSD: if_ep_pci.c,v 1.37 2023/09/11 08:41:26 mvs Exp $ */
+/* $OpenBSD: if_ep_pci.c,v 1.38 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: if_ep_pci.c,v 1.13 1996/10/21 22:56:38 thorpej Exp $ */
/*
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "bpfilter.h"
-
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/mbuf.h>
-#include <sys/socket.h>
-#include <sys/ioctl.h>
-#include <sys/errno.h>
#include <sys/timeout.h>
-#include <sys/syslog.h>
#include <sys/device.h>
#include <net/if.h>
#include <netinet/in.h>
#include <netinet/if_ether.h>
-#if NBPFILTER > 0
-#include <net/bpf.h>
-#endif
-
-#include <machine/cpu.h>
#include <machine/bus.h>
#include <machine/intr.h>
-/* $OpenBSD: if_epic_pci.c,v 1.17 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: if_epic_pci.c,v 1.18 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: if_epic_pci.c,v 1.28 2005/02/27 00:27:32 perry Exp $ */
/*-
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/mbuf.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
-#include <sys/socket.h>
-#include <sys/ioctl.h>
-#include <sys/errno.h>
#include <sys/device.h>
#include <net/if.h>
-/* $OpenBSD: if_et.c,v 1.43 2023/11/10 15:51:20 bluhm Exp $ */
+/* $OpenBSD: if_et.c,v 1.44 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2007 The DragonFly Project. All rights reserved.
*
#include "bpfilter.h"
#include <sys/param.h>
-#include <sys/endian.h>
#include <sys/systm.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
#include <sys/queue.h>
-#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/timeout.h>
-#include <sys/socket.h>
#include <machine/bus.h>
#include <dev/mii/miivar.h>
-#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcidevs.h>
-/* $OpenBSD: if_fxp_pci.c,v 1.67 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: if_fxp_pci.c,v 1.68 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 1995, David Greenman
* Intel EtherExpress Pro/100B PCI Fast Ethernet driver
*/
-#include "bpfilter.h"
-
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/mbuf.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
-#include <sys/socket.h>
#include <sys/timeout.h>
-#include <sys/syslog.h>
#include <net/if.h>
#include <net/if_media.h>
#include <netinet/in.h>
-#include <sys/ioctl.h>
-#include <sys/errno.h>
#include <sys/device.h>
#include <netinet/if_ether.h>
-#include <machine/cpu.h>
#include <machine/bus.h>
#include <machine/intr.h>
-/* $OpenBSD: if_gem_pci.c,v 1.40 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: if_gem_pci.c,v 1.41 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: if_gem_pci.c,v 1.1 2001/09/16 00:11:42 eeh Exp $ */
/*
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
-#include <sys/socket.h>
-#include <sys/errno.h>
#include <sys/device.h>
-#include <sys/endian.h>
#include <net/if.h>
#include <net/if_media.h>
#endif
#include <dev/mii/miivar.h>
-#include <dev/mii/mii_bitbang.h>
#include <dev/ic/gemreg.h>
#include <dev/ic/gemvar.h>
-/* $OpenBSD: if_hme_pci.c,v 1.24 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: if_hme_pci.c,v 1.25 2024/05/24 06:02:53 jsg Exp $ */
/* $NetBSD: if_hme_pci.c,v 1.3 2000/12/28 22:59:13 sommerfeld Exp $ */
/*
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/syslog.h>
#include <sys/device.h>
-#include <sys/malloc.h>
-#include <sys/socket.h>
#include <net/if.h>
#include <net/if_media.h>
#include <machine/autoconf.h>
#include <dev/ofw/openfirm.h>
#endif
-#include <machine/cpu.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
-/* $OpenBSD: if_iavf.c,v 1.12 2023/11/10 15:51:20 bluhm Exp $ */
+/* $OpenBSD: if_iavf.c,v 1.13 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2013-2015, Intel Corporation
#include <sys/proc.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/kernel.h>
#include <sys/socket.h>
#include <sys/device.h>
#include <sys/pool.h>
#include <machine/intr.h>
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#if NBPFILTER > 0
-/* $OpenBSD: if_igc.c,v 1.24 2024/05/21 11:19:39 bluhm Exp $ */
+/* $OpenBSD: if_igc.c,v 1.25 2024/05/24 06:02:53 jsg Exp $ */
/*-
* SPDX-License-Identifier: BSD-2-Clause
*
#include <sys/sockio.h>
#include <sys/mbuf.h>
#include <sys/malloc.h>
-#include <sys/kernel.h>
#include <sys/socket.h>
#include <sys/device.h>
#include <sys/endian.h>
-/* $OpenBSD: if_iwi.c,v 1.148 2023/03/08 04:43:08 guenther Exp $ */
+/* $OpenBSD: if_iwi.c,v 1.149 2024/05/24 06:02:53 jsg Exp $ */
/*-
* Copyright (c) 2004-2008
#include <sys/param.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/kernel.h>
#include <sys/rwlock.h>
#include <sys/socket.h>
#include <sys/systm.h>
-#include <sys/conf.h>
#include <sys/device.h>
#include <sys/task.h>
#include <sys/endian.h>
-/* $OpenBSD: if_iwm.c,v 1.415 2024/04/13 23:44:11 jsg Exp $ */
+/* $OpenBSD: if_iwm.c,v 1.416 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2014, 2016 genua gmbh <info@genua.de>
#include "bpfilter.h"
#include <sys/param.h>
-#include <sys/conf.h>
-#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/mbuf.h>
-#include <sys/mutex.h>
-#include <sys/proc.h>
#include <sys/rwlock.h>
#include <sys/socket.h>
#include <sys/sockio.h>
#include <net/bpf.h>
#endif
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#include <netinet/in.h>
-/* $OpenBSD: if_iwn.c,v 1.262 2024/05/13 01:15:51 jsg Exp $ */
+/* $OpenBSD: if_iwn.c,v 1.263 2024/05/24 06:02:53 jsg Exp $ */
/*-
* Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr>
#include <sys/param.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/kernel.h>
#include <sys/rwlock.h>
#include <sys/socket.h>
#include <sys/systm.h>
#include <sys/malloc.h>
-#include <sys/conf.h>
#include <sys/device.h>
#include <sys/task.h>
#include <sys/endian.h>
-/* $OpenBSD: if_iwx.c,v 1.185 2024/05/13 01:15:51 jsg Exp $ */
+/* $OpenBSD: if_iwx.c,v 1.186 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2014, 2016 genua gmbh <info@genua.de>
#include "bpfilter.h"
#include <sys/param.h>
-#include <sys/conf.h>
-#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/mbuf.h>
-#include <sys/mutex.h>
-#include <sys/proc.h>
#include <sys/rwlock.h>
#include <sys/socket.h>
#include <sys/sockio.h>
#include <net/bpf.h>
#endif
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#include <netinet/in.h>
-/* $OpenBSD: if_ixl.c,v 1.100 2024/05/08 17:52:11 jan Exp $ */
+/* $OpenBSD: if_ixl.c,v 1.101 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2013-2015, Intel Corporation
#include <sys/proc.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/kernel.h>
#include <sys/socket.h>
#include <sys/device.h>
#include <sys/pool.h>
#include <machine/intr.h>
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#include <net/route.h>
#include <net/toeplitz.h>
-/* $OpenBSD: if_jme.c,v 1.57 2023/11/10 15:51:20 bluhm Exp $ */
+/* $OpenBSD: if_jme.c,v 1.58 2024/05/24 06:02:53 jsg Exp $ */
/*-
* Copyright (c) 2008, Pyun YongHyeon <yongari@FreeBSD.org>
* All rights reserved.
#include <sys/sockio.h>
#include <sys/mbuf.h>
#include <sys/queue.h>
-#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/timeout.h>
-#include <sys/socket.h>
#include <machine/bus.h>
-/* $OpenBSD: if_lge.c,v 1.80 2023/11/10 15:51:20 bluhm Exp $ */
+/* $OpenBSD: if_lge.c,v 1.81 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
* Copyright (c) 1997, 1998, 1999, 2000, 2001
#include <sys/systm.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
#include <sys/device.h>
-#include <sys/socket.h>
#include <net/if.h>
#include <net/if_media.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcidevs.h>
-#include <dev/mii/mii.h>
#include <dev/mii/miivar.h>
#define LGE_USEIOSPACE
-/* $OpenBSD: if_lii.c,v 1.46 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: if_lii.c,v 1.47 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2007 The NetBSD Foundation.
#include <sys/systm.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/kernel.h>
#include <sys/socket.h>
-#include <sys/malloc.h>
#include <sys/device.h>
#include <sys/timeout.h>
-/* $OpenBSD: if_malo_pci.c,v 1.11 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: if_malo_pci.c,v 1.12 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2006 Marcus Glocker <mglocker@openbsd.org>
#include "bpfilter.h"
#include <sys/param.h>
-#include <sys/sockio.h>
-#include <sys/mbuf.h>
-#include <sys/kernel.h>
-#include <sys/socket.h>
#include <sys/systm.h>
-#include <sys/malloc.h>
#include <sys/timeout.h>
#include <sys/device.h>
-/* $OpenBSD: if_mcx.c,v 1.114 2024/04/12 01:54:21 jsg Exp $ */
+/* $OpenBSD: if_mcx.c,v 1.115 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 2017 David Gwynne <dlg@openbsd.org>
#include <sys/systm.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/kernel.h>
#include <sys/socket.h>
#include <sys/device.h>
-#include <sys/pool.h>
-#include <sys/queue.h>
#include <sys/timeout.h>
#include <sys/task.h>
#include <sys/atomic.h>
#include <machine/intr.h>
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#include <net/toeplitz.h>
-/* $OpenBSD: if_msk.c,v 1.143 2023/11/10 15:51:20 bluhm Exp $ */
+/* $OpenBSD: if_msk.c,v 1.144 2024/05/24 06:02:53 jsg Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
#include <sys/sockio.h>
#include <sys/mbuf.h>
#include <sys/malloc.h>
-#include <sys/kernel.h>
-#include <sys/socket.h>
#include <sys/timeout.h>
#include <sys/device.h>
#include <sys/queue.h>
#include <sys/kstat.h>
#endif
-#include <dev/mii/mii.h>
#include <dev/mii/miivar.h>
#include <dev/pci/pcireg.h>
-/* $OpenBSD: if_mtd_pci.c,v 1.13 2022/08/29 06:08:04 jsg Exp $ */
+/* $OpenBSD: if_mtd_pci.c,v 1.14 2024/05/24 06:02:56 jsg Exp $ */
/*
* Copyright (c) 2003 Oleg Safiullin <form@pdp11.org.ru>
#include <sys/param.h>
#include <sys/device.h>
#include <sys/systm.h>
-#include <sys/socket.h>
#include <net/if.h>
#include <net/if_media.h>
-/* $OpenBSD: if_myx.c,v 1.119 2023/11/10 15:51:20 bluhm Exp $ */
+/* $OpenBSD: if_myx.c,v 1.120 2024/05/24 06:02:56 jsg Exp $ */
/*
* Copyright (c) 2007 Reyk Floeter <reyk@openbsd.org>
#include <sys/systm.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/kernel.h>
#include <sys/socket.h>
#include <sys/malloc.h>
#include <sys/pool.h>
#include <sys/timeout.h>
#include <sys/device.h>
-#include <sys/proc.h>
-#include <sys/queue.h>
#include <sys/rwlock.h>
#include <sys/kstat.h>
-/* $OpenBSD: if_ne_pci.c,v 1.21 2022/03/11 18:00:48 mpi Exp $ */
+/* $OpenBSD: if_ne_pci.c,v 1.22 2024/05/24 06:02:56 jsg Exp $ */
/* $NetBSD: if_ne_pci.c,v 1.8 1998/07/05 00:51:24 jonathan Exp $ */
/*-
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include "bpfilter.h"
-
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/mbuf.h>
-#include <sys/syslog.h>
-#include <sys/socket.h>
#include <sys/device.h>
#include <net/if.h>
-/* $OpenBSD: if_nep.c,v 1.34 2022/03/11 18:00:48 mpi Exp $ */
+/* $OpenBSD: if_nep.c,v 1.35 2024/05/24 06:02:56 jsg Exp $ */
/*
* Copyright (c) 2014, 2015 Mark Kettenis
*
#include <net/bpf.h>
#endif
-#include <dev/mii/mii.h>
#include <dev/mii/miivar.h>
#include <dev/pci/pcireg.h>
-/* $OpenBSD: if_nfe.c,v 1.125 2023/11/10 15:51:20 bluhm Exp $ */
+/* $OpenBSD: if_nfe.c,v 1.126 2024/05/24 06:02:56 jsg Exp $ */
/*-
* Copyright (c) 2006, 2007 Damien Bergamini <damien.bergamini@free.fr>
#include <sys/sockio.h>
#include <sys/mbuf.h>
#include <sys/queue.h>
-#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/timeout.h>
-#include <sys/socket.h>
#include <machine/bus.h>
-/* $OpenBSD: if_ngbe.c,v 1.4 2024/04/13 23:44:11 jsg Exp $ */
+/* $OpenBSD: if_ngbe.c,v 1.5 2024/05/24 06:02:56 jsg Exp $ */
/*
* Copyright (c) 2015-2017 Beijing WangXun Technology Co., Ltd.
#include <sys/sockio.h>
#include <sys/mbuf.h>
#include <sys/malloc.h>
-#include <sys/kernel.h>
-#include <sys/socket.h>
#include <sys/device.h>
#include <sys/endian.h>
#include <sys/intrmap.h>
-/* $OpenBSD: if_nge.c,v 1.98 2023/11/10 15:51:20 bluhm Exp $ */
+/* $OpenBSD: if_nge.c,v 1.99 2024/05/24 06:02:56 jsg Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
* Copyright (c) 1997, 1998, 1999, 2000, 2001
#include <sys/systm.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
#include <sys/device.h>
-#include <sys/socket.h>
#include <net/if.h>
#include <net/if_media.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcidevs.h>
-#include <dev/mii/mii.h>
#include <dev/mii/miivar.h>
#define NGE_USEIOSPACE
-/* $OpenBSD: if_nxe.c,v 1.80 2023/11/10 15:51:20 bluhm Exp $ */
+/* $OpenBSD: if_nxe.c,v 1.81 2024/05/24 06:02:56 jsg Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
#include <sys/systm.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/kernel.h>
#include <sys/socket.h>
#include <sys/malloc.h>
#include <sys/device.h>
-#include <sys/proc.h>
#include <sys/queue.h>
#include <sys/timeout.h>
#include <sys/sensors.h>
#include <dev/pci/pcidevs.h>
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#if NBPFILTER > 0
-/* $OpenBSD: if_oce.c,v 1.108 2023/11/10 15:51:20 bluhm Exp $ */
+/* $OpenBSD: if_oce.c,v 1.109 2024/05/24 06:02:56 jsg Exp $ */
/*
* Copyright (c) 2012 Mike Belopuhov
#include <sys/sockio.h>
#include <sys/mbuf.h>
#include <sys/malloc.h>
-#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/socket.h>
#include <sys/queue.h>
#include <netinet/in.h>
#include <netinet/if_ether.h>
-#ifdef INET6
-#include <netinet/ip6.h>
-#endif
-
#if NBPFILTER > 0
#include <net/bpf.h>
#endif
-/* $OpenBSD: if_pcn.c,v 1.49 2023/11/10 15:51:20 bluhm Exp $ */
+/* $OpenBSD: if_pcn.c,v 1.50 2024/05/24 06:02:56 jsg Exp $ */
/* $NetBSD: if_pcn.c,v 1.26 2005/05/07 09:15:44 is Exp $ */
/*
#include <sys/systm.h>
#include <sys/timeout.h>
#include <sys/mbuf.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
-#include <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/errno.h>
#include <sys/device.h>
-/* $OpenBSD: if_pgt_pci.c,v 1.19 2022/03/11 18:00:48 mpi Exp $ */
+/* $OpenBSD: if_pgt_pci.c,v 1.20 2024/05/24 06:02:56 jsg Exp $ */
/*
* Copyright (c) 2006 Marcus Glocker <mglocker@openbsd.org>
#include "bpfilter.h"
#include <sys/param.h>
-#include <sys/sockio.h>
-#include <sys/mbuf.h>
-#include <sys/kernel.h>
-#include <sys/socket.h>
#include <sys/systm.h>
-#include <sys/malloc.h>
#include <sys/timeout.h>
#include <sys/device.h>
-/* $OpenBSD: if_qwx_pci.c,v 1.15 2024/04/13 23:44:11 jsg Exp $ */
+/* $OpenBSD: if_qwx_pci.c,v 1.16 2024/05/24 06:02:56 jsg Exp $ */
/*
* Copyright 2023 Stefan Sperling <stsp@openbsd.org>
#include "bpfilter.h"
#include <sys/param.h>
-#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/kernel.h>
#include <sys/lock.h>
#include <sys/socket.h>
#include <sys/systm.h>
#include <sys/malloc.h>
-#include <sys/conf.h>
#include <sys/device.h>
#include <sys/endian.h>
-/* $OpenBSD: if_ral_pci.c,v 1.28 2022/03/11 18:00:48 mpi Exp $ */
+/* $OpenBSD: if_ral_pci.c,v 1.29 2024/05/24 06:02:56 jsg Exp $ */
/*-
* Copyright (c) 2005-2010 Damien Bergamini <damien.bergamini@free.fr>
#include "bpfilter.h"
#include <sys/param.h>
-#include <sys/sockio.h>
-#include <sys/mbuf.h>
-#include <sys/kernel.h>
-#include <sys/socket.h>
#include <sys/systm.h>
-#include <sys/malloc.h>
#include <sys/timeout.h>
#include <sys/device.h>
-/* $OpenBSD: if_re_pci.c,v 1.57 2024/01/19 03:46:15 dlg Exp $ */
+/* $OpenBSD: if_re_pci.c,v 1.58 2024/05/24 06:02:56 jsg Exp $ */
/*
* Copyright (c) 2005 Peter Valchev <pvalchev@openbsd.org>
*/
#include <sys/param.h>
-#include <sys/endian.h>
#include <sys/systm.h>
-#include <sys/sockio.h>
-#include <sys/mbuf.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/timeout.h>
-#include <sys/socket.h>
#include <net/if.h>
#include <net/if_media.h>
-/* $OpenBSD: if_rge.c,v 1.25 2024/05/20 01:51:32 kevlo Exp $ */
+/* $OpenBSD: if_rge.c,v 1.26 2024/05/24 06:02:56 jsg Exp $ */
/*
* Copyright (c) 2019, 2020, 2023 Kevin Lo <kevlo@openbsd.org>
#include <sys/sockio.h>
#include <sys/mbuf.h>
#include <sys/malloc.h>
-#include <sys/kernel.h>
-#include <sys/socket.h>
#include <sys/device.h>
#include <sys/endian.h>
-/* $OpenBSD: if_rl_pci.c,v 1.34 2022/03/11 18:00:48 mpi Exp $ */
+/* $OpenBSD: if_rl_pci.c,v 1.35 2024/05/24 06:02:56 jsg Exp $ */
/*
* Copyright (c) 1997, 1998
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "bpfilter.h"
-
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/sockio.h>
-#include <sys/mbuf.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
-#include <sys/socket.h>
#include <sys/device.h>
#include <sys/timeout.h>
#include <net/if_media.h>
-#if NBPFILTER > 0
-#include <net/bpf.h>
-#endif
-
#include <machine/bus.h>
#include <dev/mii/miivar.h>
-/* $OpenBSD: if_rtw_pci.c,v 1.21 2022/03/11 18:00:48 mpi Exp $ */
+/* $OpenBSD: if_rtw_pci.c,v 1.22 2024/05/24 06:02:56 jsg Exp $ */
/* $NetBSD: if_rtw_pci.c,v 1.1 2004/09/26 02:33:36 dyoung Exp $ */
/*-
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/mbuf.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
-#include <sys/socket.h>
-#include <sys/ioctl.h>
-#include <sys/errno.h>
#include <sys/device.h>
-#include <sys/endian.h>
#include <net/if.h>
#include <net/if_media.h>
#include <machine/intr.h>
#include <dev/ic/rtwreg.h>
-#include <dev/ic/sa2400reg.h>
#include <dev/ic/rtwvar.h>
#include <dev/pci/pcivar.h>
-/* $OpenBSD: if_rtwn.c,v 1.41 2023/07/14 14:28:47 kevlo Exp $ */
+/* $OpenBSD: if_rtwn.c,v 1.42 2024/05/24 06:02:56 jsg Exp $ */
/*-
* Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
#include "bpfilter.h"
#include <sys/param.h>
-#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/kernel.h>
#include <sys/socket.h>
#include <sys/systm.h>
-#include <sys/task.h>
#include <sys/timeout.h>
-#include <sys/conf.h>
#include <sys/device.h>
#include <sys/endian.h>
#include <net/bpf.h>
#endif
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#include <netinet/in.h>
-/* $OpenBSD: if_se.c,v 1.24 2023/11/10 15:51:20 bluhm Exp $ */
+/* $OpenBSD: if_se.c,v 1.25 2024/05/24 06:02:56 jsg Exp $ */
/*-
* Copyright (c) 2009, 2010 Christopher Zimmermann <madroach@zakweb.de>
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/ioctl.h>
-#include <sys/kernel.h>
#include <sys/mbuf.h>
-#include <sys/socket.h>
-#include <sys/sockio.h>
#include <sys/timeout.h>
#include <net/if.h>
-/* $OpenBSD: if_sf_pci.c,v 1.15 2022/03/11 18:00:48 mpi Exp $ */
+/* $OpenBSD: if_sf_pci.c,v 1.16 2024/05/24 06:02:56 jsg Exp $ */
/* $NetBSD: if_sf_pci.c,v 1.10 2006/06/17 23:34:27 christos Exp $ */
/*-
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/mbuf.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
-#include <sys/socket.h>
-#include <sys/ioctl.h>
-#include <sys/errno.h>
#include <sys/device.h>
#include <net/if.h>
-/* $OpenBSD: if_sis.c,v 1.144 2024/04/13 23:44:11 jsg Exp $ */
+/* $OpenBSD: if_sis.c,v 1.145 2024/05/24 06:02:56 jsg Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
* Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
-#include <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/errno.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
#include <sys/timeout.h>
#include <net/if.h>
-/* $OpenBSD: if_sk.c,v 1.195 2023/11/10 15:51:20 bluhm Exp $ */
+/* $OpenBSD: if_sk.c,v 1.196 2024/05/24 06:02:57 jsg Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
#include <sys/sockio.h>
#include <sys/mbuf.h>
#include <sys/malloc.h>
-#include <sys/kernel.h>
-#include <sys/socket.h>
#include <sys/timeout.h>
#include <sys/device.h>
#include <sys/queue.h>
-/* $OpenBSD: if_ste.c,v 1.70 2023/11/10 15:51:24 bluhm Exp $ */
+/* $OpenBSD: if_ste.c,v 1.71 2024/05/24 06:02:57 jsg Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
* Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
#include <sys/ioctl.h>
#include <sys/errno.h>
#include <sys/malloc.h>
-#include <sys/kernel.h>
#include <sys/timeout.h>
#include <net/if.h>
#include <sys/device.h>
-#include <dev/mii/mii.h>
#include <dev/mii/miivar.h>
#include <dev/pci/pcireg.h>
-/* $OpenBSD: if_stge.c,v 1.73 2023/11/10 15:51:24 bluhm Exp $ */
+/* $OpenBSD: if_stge.c,v 1.74 2024/05/24 06:02:57 jsg Exp $ */
/* $NetBSD: if_stge.c,v 1.27 2005/05/16 21:35:32 bouyer Exp $ */
/*-
#include <sys/systm.h>
#include <sys/timeout.h>
#include <sys/mbuf.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
-#include <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/errno.h>
#include <sys/device.h>
-/* $OpenBSD: if_tht.c,v 1.147 2023/11/10 15:51:24 bluhm Exp $ */
+/* $OpenBSD: if_tht.c,v 1.148 2024/05/24 06:02:57 jsg Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
#include <sys/systm.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/kernel.h>
#include <sys/socket.h>
#include <sys/malloc.h>
#include <sys/device.h>
-#include <sys/timeout.h>
#include <sys/queue.h>
#include <sys/rwlock.h>
#include <sys/time.h>
-/* $OpenBSD: if_ti_pci.c,v 1.7 2022/03/11 18:00:50 mpi Exp $ */
+/* $OpenBSD: if_ti_pci.c,v 1.8 2024/05/24 06:02:57 jsg Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
#include <sys/param.h>
#include <sys/device.h>
-#include <sys/socket.h>
#include <sys/systm.h>
#include <net/if.h>
-/* $OpenBSD: if_tl.c,v 1.78 2023/11/10 15:51:24 bluhm Exp $ */
+/* $OpenBSD: if_tl.c,v 1.79 2024/05/24 06:02:57 jsg Exp $ */
/*
* Copyright (c) 1997, 1998
#include <sys/systm.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
-#include <sys/socket.h>
#include <sys/device.h>
#include <sys/timeout.h>
-/* $OpenBSD: if_txp.c,v 1.130 2023/11/10 15:51:24 bluhm Exp $ */
+/* $OpenBSD: if_txp.c,v 1.131 2024/05/24 06:02:57 jsg Exp $ */
/*
* Copyright (c) 2001
#include <sys/sockio.h>
#include <sys/mbuf.h>
#include <sys/malloc.h>
-#include <sys/kernel.h>
#include <sys/socket.h>
#include <sys/device.h>
#include <sys/timeout.h>
-/* $OpenBSD: if_vge.c,v 1.77 2023/11/10 15:51:24 bluhm Exp $ */
+/* $OpenBSD: if_vge.c,v 1.78 2024/05/24 06:02:57 jsg Exp $ */
/* $FreeBSD: if_vge.c,v 1.3 2004/09/11 22:13:25 wpaul Exp $ */
/*
* Copyright (c) 2004
#include <sys/systm.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/timeout.h>
-#include <sys/socket.h>
#include <net/if.h>
#include <net/if_media.h>
-/* $OpenBSD: if_vic.c,v 1.105 2023/11/10 15:51:24 bluhm Exp $ */
+/* $OpenBSD: if_vic.c,v 1.106 2024/05/24 06:02:57 jsg Exp $ */
/*
* Copyright (c) 2006 Reyk Floeter <reyk@openbsd.org>
#include <sys/systm.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/kernel.h>
#include <sys/socket.h>
#include <sys/malloc.h>
#include <sys/timeout.h>
-/* $OpenBSD: if_vr.c,v 1.160 2023/12/05 13:43:39 kevlo Exp $ */
+/* $OpenBSD: if_vr.c,v 1.161 2024/05/24 06:02:57 jsg Exp $ */
/*
* Copyright (c) 1997, 1998
#include <sys/systm.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/kernel.h>
#include <sys/timeout.h>
-#include <sys/socket.h>
#include <net/if.h>
#include <sys/device.h>
-/* $OpenBSD: if_vte.c,v 1.27 2023/11/10 15:51:24 bluhm Exp $ */
+/* $OpenBSD: if_vte.c,v 1.28 2024/05/24 06:02:57 jsg Exp $ */
/*-
* Copyright (c) 2010, Pyun YongHyeon <yongari@FreeBSD.org>
* All rights reserved.
#include <sys/sockio.h>
#include <sys/mbuf.h>
#include <sys/queue.h>
-#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/timeout.h>
-#include <sys/socket.h>
#include <machine/bus.h>
#include <net/bpf.h>
#endif
-#include <dev/mii/mii.h>
#include <dev/mii/miivar.h>
-#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcidevs.h>
-/* $OpenBSD: if_wb.c,v 1.76 2024/05/13 01:15:51 jsg Exp $ */
+/* $OpenBSD: if_wb.c,v 1.77 2024/05/24 06:02:57 jsg Exp $ */
/*
* Copyright (c) 1997, 1998
#include <sys/systm.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
-#include <sys/socket.h>
#include <sys/device.h>
#include <sys/queue.h>
#include <sys/timeout.h>
#include <uvm/uvm_extern.h> /* for vtophys */
#define VTOPHYS(v) vtophys((vaddr_t)(v))
-#include <dev/mii/mii.h>
#include <dev/mii/miivar.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
-/* $OpenBSD: if_wi_pci.c,v 1.56 2022/03/11 18:00:50 mpi Exp $ */
+/* $OpenBSD: if_wi_pci.c,v 1.57 2024/05/24 06:02:57 jsg Exp $ */
/*
* Copyright (c) 2001-2003 Todd C. Miller <millert@openbsd.org>
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/timeout.h>
-#include <sys/socket.h>
-#include <sys/tree.h>
#include <net/if.h>
#include <net/if_media.h>
-/* $OpenBSD: if_wpi.c,v 1.157 2022/04/21 21:03:03 stsp Exp $ */
+/* $OpenBSD: if_wpi.c,v 1.158 2024/05/24 06:02:57 jsg Exp $ */
/*-
* Copyright (c) 2006-2008
#include <sys/param.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/kernel.h>
#include <sys/rwlock.h>
-#include <sys/socket.h>
#include <sys/systm.h>
#include <sys/malloc.h>
-#include <sys/conf.h>
#include <sys/device.h>
#include <sys/task.h>
#include <sys/endian.h>
-/* $OpenBSD: if_xge.c,v 1.83 2023/11/10 15:51:24 bluhm Exp $ */
+/* $OpenBSD: if_xge.c,v 1.84 2024/05/24 06:02:57 jsg Exp $ */
/* $NetBSD: if_xge.c,v 1.1 2005/09/09 10:30:27 ragge Exp $ */
/*
#include <sys/systm.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
-#include <sys/socket.h>
#include <sys/device.h>
#include <sys/endian.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/pcidevs.h>
-#include <sys/lock.h>
-
#include <dev/pci/if_xgereg.h>
/* Xframe chipset revisions */
-/* $OpenBSD: if_xl_pci.c,v 1.48 2022/03/11 18:00:50 mpi Exp $ */
+/* $OpenBSD: if_xl_pci.c,v 1.49 2024/05/24 06:02:57 jsg Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
* $FreeBSD: if_xl.c,v 1.72 2000/01/09 21:12:59 wpaul Exp $
*/
-#include "bpfilter.h"
-
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/mbuf.h>
-#include <sys/socket.h>
-#include <sys/ioctl.h>
-#include <sys/errno.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
#include <sys/device.h>
#include <net/if.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcidevs.h>
-#if NBPFILTER > 0
-#include <net/bpf.h>
-#endif
-
/*
* The following #define causes the code to use PIO to access the
* chip's registers instead of memory mapped mode. The reason PIO mode
-/* $OpenBSD: igc_base.c,v 1.1 2021/10/31 14:52:57 patrick Exp $ */
+/* $OpenBSD: igc_base.c,v 1.2 2024/05/24 06:02:57 jsg Exp $ */
/*-
* Copyright 2021 Intel Corp
* Copyright 2021 Rubicon Communications, LLC (Netgate)
*/
#include <dev/pci/igc_hw.h>
-#include <dev/pci/igc_i225.h>
#include <dev/pci/if_igc.h>
#include <dev/pci/igc_mac.h>
#include <dev/pci/igc_base.h>
-/* $OpenBSD: iosf_pci.c,v 1.1 2023/04/23 00:20:26 dlg Exp $ */
+/* $OpenBSD: iosf_pci.c,v 1.2 2024/05/24 06:02:57 jsg Exp $ */
/*
* Copyright (c) 2023 David Gwynne <dlg@openbsd.org>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
-#include <sys/mutex.h>
-#include <sys/rwlock.h>
#include <machine/bus.h>
-/* $OpenBSD: ips.c,v 1.135 2022/04/16 19:19:59 naddy Exp $ */
+/* $OpenBSD: ips.c,v 1.136 2024/05/24 06:02:57 jsg Exp $ */
/*
* Copyright (c) 2006, 2007, 2009 Alexander Yurchenko <grange@openbsd.org>
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/ioctl.h>
-#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/sensors.h>
#include <sys/timeout.h>
*******************************************************************************/
-/* $OpenBSD: ixgb_ee.c,v 1.8 2022/01/09 05:42:56 jsg Exp $ */
+/* $OpenBSD: ixgb_ee.c,v 1.9 2024/05/24 06:02:57 jsg Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/sockio.h>
-#include <sys/mbuf.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
#include <sys/device.h>
-#include <sys/socket.h>
#include <net/if.h>
#include <net/if_media.h>
*******************************************************************************/
-/* $OpenBSD: ixgb_hw.c,v 1.10 2024/04/13 23:44:11 jsg Exp $ */
+/* $OpenBSD: ixgb_hw.c,v 1.11 2024/05/24 06:02:58 jsg Exp $ */
/* ixgb_hw.c
* Shared functions for accessing and configuring the adapter
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/sockio.h>
-#include <sys/mbuf.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
#include <sys/device.h>
-#include <sys/socket.h>
#include <net/if.h>
#include <net/if_media.h>
-/* $OpenBSD: jmb.c,v 1.10 2022/03/11 18:00:50 mpi Exp $ */
+/* $OpenBSD: jmb.c,v 1.11 2024/05/24 06:02:58 jsg Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/buf.h>
-#include <sys/kernel.h>
-#include <sys/malloc.h>
#include <sys/device.h>
-#include <sys/queue.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
-/* $OpenBSD: maestro.c,v 1.51 2024/04/13 23:44:11 jsg Exp $ */
+/* $OpenBSD: maestro.c,v 1.52 2024/05/24 06:02:58 jsg Exp $ */
/* $FreeBSD: /c/ncvs/src/sys/dev/sound/pci/maestro.c,v 1.3 2000/11/21 12:22:11 julian Exp $ */
/*
* FreeBSD's ESS Agogo/Maestro driver
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/device.h>
#include <sys/queue.h>
-/* $OpenBSD: mbg.c,v 1.36 2024/03/23 10:38:02 sthen Exp $ */
+/* $OpenBSD: mbg.c,v 1.37 2024/05/24 06:02:58 jsg Exp $ */
/*
* Copyright (c) 2006, 2007 Marc Balmer <mbalmer@openbsd.org>
#include <sys/param.h>
#include <sys/device.h>
-#include <sys/kernel.h>
#include <sys/timeout.h>
#include <sys/systm.h>
#include <sys/sensors.h>
-#include <sys/syslog.h>
#include <sys/time.h>
#include <machine/bus.h>
-/* $OpenBSD: mfi_pci.c,v 1.31 2022/03/11 18:00:50 mpi Exp $ */
+/* $OpenBSD: mfi_pci.c,v 1.32 2024/05/24 06:02:58 jsg Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
*
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include "bio.h"
-
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
-#include <sys/malloc.h>
#include <sys/device.h>
#include <sys/rwlock.h>
#include <sys/sensors.h>
-/* $OpenBSD: mfii.c,v 1.90 2024/02/05 19:08:29 deraadt Exp $ */
+/* $OpenBSD: mfii.c,v 1.91 2024/05/24 06:02:58 jsg Exp $ */
/*
* Copyright (c) 2012 David Gwynne <dlg@openbsd.org>
#include <sys/atomic.h>
#include <sys/sensors.h>
#include <sys/rwlock.h>
-#include <sys/syslog.h>
#include <sys/smr.h>
#include <dev/biovar.h>
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/malloc.h>
#include <sys/device.h>
-#include <sys/rwlock.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
-/* $OpenBSD: mpi_pci.c,v 1.26 2022/03/11 18:00:50 mpi Exp $ */
+/* $OpenBSD: mpi_pci.c,v 1.27 2024/05/24 06:02:58 jsg Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include "bio.h"
-
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
-#include <sys/malloc.h>
#include <sys/device.h>
#include <sys/sensors.h>
#include <sys/rwlock.h>
-/* $OpenBSD: mpii.c,v 1.147 2023/11/29 06:54:09 jmatthew Exp $ */
+/* $OpenBSD: mpii.c,v 1.148 2024/05/24 06:02:58 jsg Exp $ */
/*
* Copyright (c) 2010, 2012 Mike Belopuhov
* Copyright (c) 2009 James Giannoules
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
-#include <sys/ioctl.h>
#include <sys/malloc.h>
-#include <sys/kernel.h>
-#include <sys/rwlock.h>
#include <sys/sensors.h>
#include <sys/dkio.h>
-#include <sys/tree.h>
#include <sys/task.h>
#include <machine/bus.h>
-/* $OpenBSD: neo.c,v 1.41 2024/05/13 01:15:51 jsg Exp $ */
+/* $OpenBSD: neo.c,v 1.42 2024/05/24 06:02:58 jsg Exp $ */
/*
* Copyright (c) 1999 Cameron Grant <gandalf@vilnya.demon.co.uk>
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
-#include <sys/malloc.h>
#include <sys/device.h>
#include <dev/pci/pcidevs.h>
-/* $OpenBSD: nvme_pci.c,v 1.10 2022/03/11 18:00:51 mpi Exp $ */
+/* $OpenBSD: nvme_pci.c,v 1.11 2024/05/24 06:02:58 jsg Exp $ */
/*
* Copyright (c) 2014 David Gwynne <dlg@openbsd.org>
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/buf.h>
-#include <sys/kernel.h>
-#include <sys/malloc.h>
#include <sys/device.h>
-#include <sys/timeout.h>
#include <sys/queue.h>
#include <sys/mutex.h>
-#include <sys/pool.h>
#include <machine/bus.h>
-/* $OpenBSD: ohci_pci.c,v 1.42 2022/03/11 18:00:51 mpi Exp $ */
+/* $OpenBSD: ohci_pci.c,v 1.43 2024/05/24 06:02:58 jsg Exp $ */
/* $NetBSD: ohci_pci.c,v 1.23 2002/10/02 16:51:47 thorpej Exp $ */
/*
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/timeout.h>
#include <sys/queue.h>
#include <dev/usb/usb.h>
#include <dev/usb/usbdi.h>
#include <dev/usb/usbdivar.h>
-#include <dev/usb/usb_mem.h>
#include <dev/usb/ohcireg.h>
#include <dev/usb/ohcivar.h>
-/* $OpenBSD: pccbb.c,v 1.104 2024/05/13 01:15:51 jsg Exp $ */
+/* $OpenBSD: pccbb.c,v 1.105 2024/05/24 06:02:58 jsg Exp $ */
/* $NetBSD: pccbb.c,v 1.96 2004/03/28 09:49:31 nakayama Exp $ */
/*
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/evcount.h>
-#include <sys/ioctl.h>
-#include <sys/syslog.h>
#include <sys/device.h>
#include <sys/malloc.h>
#include <sys/task.h>
-/* $OpenBSD: pcscp.c,v 1.21 2022/03/11 18:00:51 mpi Exp $ */
+/* $OpenBSD: pcscp.c,v 1.22 2024/05/24 06:02:58 jsg Exp $ */
/* $NetBSD: pcscp.c,v 1.26 2003/10/19 10:25:42 tsutsui Exp $ */
/*-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
-#include <sys/buf.h>
#include <machine/bus.h>
-/* $OpenBSD: piixpm.c,v 1.43 2022/03/11 18:00:51 mpi Exp $ */
+/* $OpenBSD: piixpm.c,v 1.44 2024/05/24 06:02:58 jsg Exp $ */
/*
* Copyright (c) 2005, 2006 Alexander Yurchenko <grange@openbsd.org>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
-#include <sys/kernel.h>
#include <sys/rwlock.h>
#include <machine/bus.h>
-/* $OpenBSD: pwdog.c,v 1.12 2022/03/11 18:00:51 mpi Exp $ */
+/* $OpenBSD: pwdog.c,v 1.13 2024/05/24 06:02:58 jsg Exp $ */
/*
* Copyright (c) 2006 Marc Balmer <mbalmer@openbsd.org>
#include <sys/param.h>
#include <sys/device.h>
-#include <sys/kernel.h>
#include <sys/systm.h>
#include <machine/bus.h>
-/* $OpenBSD: qla_pci.c,v 1.9 2022/03/11 18:00:51 mpi Exp $ */
+/* $OpenBSD: qla_pci.c,v 1.10 2024/05/24 06:02:58 jsg Exp $ */
/*
* Copyright (c) 2011 David Gwynne <dlg@openbsd.org>
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include "bio.h"
-
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
-#include <sys/malloc.h>
#include <sys/device.h>
-#include <sys/sensors.h>
-#include <sys/rwlock.h>
#include <machine/bus.h>
-/* $OpenBSD: qle.c,v 1.64 2024/04/14 00:38:26 jsg Exp $ */
+/* $OpenBSD: qle.c,v 1.65 2024/05/24 06:02:58 jsg Exp $ */
/*
* Copyright (c) 2013, 2014 Jonathan Matthew <jmatthew@openbsd.org>
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include "bio.h"
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/atomic.h>
#include <sys/malloc.h>
#include <sys/device.h>
-#include <sys/sensors.h>
-#include <sys/rwlock.h>
#include <sys/task.h>
#include <sys/timeout.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcidevs.h>
-#ifdef __sparc64__
-#include <dev/ofw/openfirm.h>
-#endif
-
#include <scsi/scsi_all.h>
#include <scsi/scsiconf.h>
-/* $OpenBSD: qlw_pci.c,v 1.12 2022/03/11 18:00:51 mpi Exp $ */
+/* $OpenBSD: qlw_pci.c,v 1.13 2024/05/24 06:02:58 jsg Exp $ */
/*
* Copyright (c) 2011 David Gwynne <dlg@openbsd.org>
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include "bio.h"
-
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
-#include <sys/malloc.h>
#include <sys/device.h>
-#include <sys/sensors.h>
-#include <sys/rwlock.h>
#include <machine/bus.h>
-/* $OpenBSD: sili_pci.c,v 1.15 2022/03/11 18:00:51 mpi Exp $ */
+/* $OpenBSD: sili_pci.c,v 1.16 2024/05/24 06:02:58 jsg Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
-#include <sys/malloc.h>
#include <sys/device.h>
#include <sys/timeout.h>
-/* $OpenBSD: siop_pci.c,v 1.8 2022/03/11 18:00:51 mpi Exp $ */
+/* $OpenBSD: siop_pci.c,v 1.9 2024/05/24 06:02:58 jsg Exp $ */
/* $NetBSD: siop_pci.c,v 1.18 2005/06/28 00:28:42 thorpej Exp $ */
/*
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
-#include <sys/kernel.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
-/* $OpenBSD: siop_pci_common.c,v 1.19 2014/12/19 22:44:58 guenther Exp $ */
+/* $OpenBSD: siop_pci_common.c,v 1.20 2024/05/24 06:02:58 jsg Exp $ */
/* $NetBSD: siop_pci_common.c,v 1.25 2005/06/28 00:28:42 thorpej Exp $ */
/*
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
-#include <sys/malloc.h>
-#include <sys/buf.h>
-#include <sys/kernel.h>
-#include <sys/endian.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
-/* $OpenBSD: sv.c,v 1.43 2022/10/26 20:19:08 kn Exp $ */
+/* $OpenBSD: sv.c,v 1.44 2024/05/24 06:02:58 jsg Exp $ */
/*
* Copyright (c) 1998 Constantine Paul Sapuntzakis
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/device.h>
-/* $OpenBSD: twe_pci.c,v 1.15 2022/03/11 18:00:52 mpi Exp $ */
+/* $OpenBSD: twe_pci.c,v 1.16 2024/05/24 06:02:58 jsg Exp $ */
/*
* Copyright (c) 2000 Michael Shalayeff
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
-#include <sys/malloc.h>
#include <sys/device.h>
#include <dev/pci/pcidevs.h>
-/* $OpenBSD: uhci_pci.c,v 1.35 2022/03/11 18:00:52 mpi Exp $ */
+/* $OpenBSD: uhci_pci.c,v 1.36 2024/05/24 06:02:58 jsg Exp $ */
/* $NetBSD: uhci_pci.c,v 1.24 2002/10/02 16:51:58 thorpej Exp $ */
/*
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/timeout.h>
#include <sys/queue.h>
#include <dev/usb/usb.h>
#include <dev/usb/usbdi.h>
#include <dev/usb/usbdivar.h>
-#include <dev/usb/usb_mem.h>
#include <dev/usb/uhcireg.h>
#include <dev/usb/uhcivar.h>
-/* $OpenBSD: vga_pci.c,v 1.90 2022/03/11 18:00:52 mpi Exp $ */
+/* $OpenBSD: vga_pci.c,v 1.91 2024/05/24 06:02:58 jsg Exp $ */
/* $NetBSD: vga_pci.c,v 1.3 1998/06/08 06:55:58 thorpej Exp $ */
/*
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/device.h>
-#include <sys/malloc.h>
-#include <sys/rwlock.h>
#include <machine/bus.h>
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/malloc.h>
#include <machine/bus.h>
-/* $OpenBSD: viapm.c,v 1.22 2023/02/04 19:19:37 cheloha Exp $ */
+/* $OpenBSD: viapm.c,v 1.23 2024/05/24 06:02:58 jsg Exp $ */
/*
* Copyright (c) 2005 Mark Kettenis <kettenis@openbsd.org>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
-#include <sys/kernel.h>
#include <sys/rwlock.h>
#include <sys/sensors.h>
#include <sys/timeout.h>
-/* $OpenBSD: vmwpvs.c,v 1.27 2022/04/16 19:19:59 naddy Exp $ */
+/* $OpenBSD: vmwpvs.c,v 1.28 2024/05/24 06:02:58 jsg Exp $ */
/*
* Copyright (c) 2013 David Gwynne <dlg@openbsd.org>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
-#include <sys/ioctl.h>
#include <sys/malloc.h>
-#include <sys/kernel.h>
-#include <sys/rwlock.h>
-#include <sys/dkio.h>
#include <sys/task.h>
#include <machine/bus.h>
-/* $OpenBSD: wdt.c,v 1.26 2022/03/11 18:00:52 mpi Exp $ */
+/* $OpenBSD: wdt.c,v 1.27 2024/05/24 06:02:58 jsg Exp $ */
/*-
* Copyright (c) 1998,1999 Alex Nash
#include <sys/param.h>
#include <sys/device.h>
-#include <sys/kernel.h>
#include <sys/systm.h>
#include <machine/bus.h>
-/* $OpenBSD: xhci_pci.c,v 1.12 2023/04/18 21:22:00 patrick Exp $ */
+/* $OpenBSD: xhci_pci.c,v 1.13 2024/05/24 06:02:58 jsg Exp $ */
/*
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
#include <sys/rwlock.h>
#include <sys/device.h>
-#include <sys/timeout.h>
-#include <sys/queue.h>
#include <machine/bus.h>
#include <dev/usb/usb.h>
#include <dev/usb/usbdi.h>
#include <dev/usb/usbdivar.h>
-#include <dev/usb/usb_mem.h>
#include <dev/usb/xhcireg.h>
#include <dev/usb/xhcivar.h>
-/* $OpenBSD: yds.c,v 1.63 2022/10/26 20:19:08 kn Exp $ */
+/* $OpenBSD: yds.c,v 1.64 2024/05/24 06:02:58 jsg Exp $ */
/* $NetBSD: yds.c,v 1.5 2001/05/21 23:55:04 minoura Exp $ */
/*
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/kernel.h>
-#include <sys/fcntl.h>
#include <sys/malloc.h>
#include <sys/device.h>
-#include <sys/queue.h>
#include <dev/pci/pcidevs.h>
#include <dev/pci/pcireg.h>
#include <sys/audioio.h>
#include <dev/audio_if.h>
-#include <dev/midi_if.h>
#include <dev/ic/ac97.h>
#include <machine/bus.h>