Remove unnecessary <sys/malloc.h>.

This commit is contained in:
thorpej 2023-12-20 13:55:17 +00:00
parent 56caec6d0e
commit 7433666e37
61 changed files with 182 additions and 223 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: armadillo9_com.c,v 1.6 2012/11/12 18:00:38 skrll Exp $ */
/* $NetBSD: armadillo9_com.c,v 1.7 2023/12/20 13:55:17 thorpej Exp $ */
/*
* Copyright (c) 2002
* Ichiro FUKUHARA <ichiro@ichiro.org>.
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: armadillo9_com.c,v 1.6 2012/11/12 18:00:38 skrll Exp $");
__KERNEL_RCSID(0, "$NetBSD: armadillo9_com.c,v 1.7 2023/12/20 13:55:17 thorpej Exp $");
/* Front-end of epcom */
@ -35,7 +35,6 @@ __KERNEL_RCSID(0, "$NetBSD: armadillo9_com.c,v 1.6 2012/11/12 18:00:38 skrll Exp
#include <sys/device.h>
#include <sys/systm.h>
#include <sys/param.h>
#include <sys/malloc.h>
#include <sys/termios.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: g42xxeb_kmkbd.c,v 1.16 2021/08/07 16:18:49 thorpej Exp $ */
/* $NetBSD: g42xxeb_kmkbd.c,v 1.17 2023/12/20 13:55:17 thorpej Exp $ */
/*-
* Copyright (c) 2002, 2003, 2005 Genetec corp.
@ -37,12 +37,11 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: g42xxeb_kmkbd.c,v 1.16 2021/08/07 16:18:49 thorpej Exp $" );
__KERNEL_RCSID(0, "$NetBSD: g42xxeb_kmkbd.c,v 1.17 2023/12/20 13:55:17 thorpej Exp $" );
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/malloc.h>
#include <sys/ioctl.h>
#include <sys/callout.h>
#include <sys/kernel.h> /* for hz */

View File

@ -1,4 +1,4 @@
/* $NetBSD: g42xxeb_lcd.c,v 1.18 2021/08/07 16:18:49 thorpej Exp $ */
/* $NetBSD: g42xxeb_lcd.c,v 1.19 2023/12/20 13:55:17 thorpej Exp $ */
/*-
* Copyright (c) 2001, 2002, 2005 Genetec corp.
@ -37,7 +37,6 @@
#include <sys/systm.h>
#include <sys/conf.h>
#include <sys/uio.h>
#include <sys/malloc.h>
#include <dev/cons.h>
#include <dev/wscons/wsconsio.h>

View File

@ -36,7 +36,6 @@
#include <sys/callout.h>
#include <sys/kernel.h>
#include <sys/kthread.h>
#include <sys/malloc.h>
#include <uvm/uvm.h>
#include <sys/bus.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: gxlcd.c,v 1.5 2021/08/07 16:18:49 thorpej Exp $ */
/* $NetBSD: gxlcd.c,v 1.6 2023/12/20 13:55:17 thorpej Exp $ */
/*
* Copyright (c) 2002, 2003 Genetec Corporation. All rights reserved.
@ -42,13 +42,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: gxlcd.c,v 1.5 2021/08/07 16:18:49 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: gxlcd.c,v 1.6 2023/12/20 13:55:17 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/conf.h>
#include <sys/uio.h>
#include <sys/malloc.h>
#include <dev/cons.h>
#include <dev/wscons/wsconsio.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: gxpcic.c,v 1.14 2021/11/05 07:39:22 skrll Exp $ */
/* $NetBSD: gxpcic.c,v 1.15 2023/12/20 13:55:17 thorpej Exp $ */
/*
* Copyright (C) 2005, 2006 WIDE Project and SOUM Corporation.
* All rights reserved.
@ -68,7 +68,6 @@
#include <sys/callout.h>
#include <sys/kernel.h>
#include <sys/kthread.h>
#include <sys/malloc.h>
#include <uvm/uvm.h>
#include <sys/bus.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: btn_obio.c,v 1.4 2012/10/27 17:17:47 chs Exp $ */
/* $NetBSD: btn_obio.c,v 1.5 2023/12/20 13:55:17 thorpej Exp $ */
/*-
* Copyright (C) 2005, 2006 NONAKA Kimihiro <nonaka@netbsd.org>
@ -26,13 +26,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: btn_obio.c,v 1.4 2012/10/27 17:17:47 chs Exp $");
__KERNEL_RCSID(0, "$NetBSD: btn_obio.c,v 1.5 2023/12/20 13:55:17 thorpej Exp $");
#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/conf.h>
#include <sys/ioctl.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ifpga_pci.c,v 1.25 2018/11/26 12:21:32 jmcneill Exp $ */
/* $NetBSD: ifpga_pci.c,v 1.26 2023/12/20 13:55:17 thorpej Exp $ */
/*
* Copyright (c) 2001 ARM Ltd
@ -64,12 +64,11 @@
#define _ARM32_BUS_DMA_PRIVATE
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ifpga_pci.c,v 1.25 2018/11/26 12:21:32 jmcneill Exp $");
__KERNEL_RCSID(0, "$NetBSD: ifpga_pci.c,v 1.26 2023/12/20 13:55:17 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/conf.h>
#include <sys/malloc.h>
#include <sys/device.h>
#include <evbarm/integrator/int_bus_dma.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: int_bus_dma.c,v 1.18 2012/09/18 14:42:19 matt Exp $ */
/* $NetBSD: int_bus_dma.c,v 1.19 2023/12/20 13:55:17 thorpej Exp $ */
/*
* Copyright (c) 2002 Wasabi Systems, Inc.
@ -42,12 +42,11 @@
#define _ARM32_BUS_DMA_PRIVATE
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: int_bus_dma.c,v 1.18 2012/09/18 14:42:19 matt Exp $");
__KERNEL_RCSID(0, "$NetBSD: int_bus_dma.c,v 1.19 2023/12/20 13:55:17 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <uvm/uvm_extern.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: wdc_obio.c,v 1.11 2017/10/20 07:06:06 jdolecek Exp $ */
/* $NetBSD: wdc_obio.c,v 1.12 2023/12/20 13:55:17 thorpej Exp $ */
/*-
* Copyright (c) 1998, 2003, 2005 The NetBSD Foundation, Inc.
@ -30,12 +30,11 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: wdc_obio.c,v 1.11 2017/10/20 07:06:06 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: wdc_obio.c,v 1.12 2023/12/20 13:55:17 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/malloc.h>
#include <sys/bus.h>
#include <machine/intr.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ixpcom_ixm.c,v 1.11 2012/10/27 17:17:48 chs Exp $ */
/* $NetBSD: ixpcom_ixm.c,v 1.12 2023/12/20 13:55:18 thorpej Exp $ */
/*
* Copyright (c) 2002
* Ichiro FUKUHARA <ichiro@ichiro.org>.
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ixpcom_ixm.c,v 1.11 2012/10/27 17:17:48 chs Exp $");
__KERNEL_RCSID(0, "$NetBSD: ixpcom_ixm.c,v 1.12 2023/12/20 13:55:18 thorpej Exp $");
/* Front-end of ixpcom */
@ -35,7 +35,6 @@ __KERNEL_RCSID(0, "$NetBSD: ixpcom_ixm.c,v 1.11 2012/10/27 17:17:48 chs Exp $");
#include <sys/device.h>
#include <sys/systm.h>
#include <sys/param.h>
#include <sys/malloc.h>
#include <sys/termios.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.c,v 1.1 2019/02/14 21:47:52 macallan Exp $ */
/* $NetBSD: autoconf.c,v 1.2 2023/12/20 13:55:18 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.1 2019/02/14 21:47:52 macallan Exp $");
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.2 2023/12/20 13:55:18 thorpej Exp $");
#include "opt_md.h"
@ -41,7 +41,6 @@ __KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.1 2019/02/14 21:47:52 macallan Exp $"
#include <sys/device.h>
#include <sys/conf.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <net/if.h>
#include <net/if_ether.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: lubbock_lcd.c,v 1.17 2021/08/07 16:18:50 thorpej Exp $ */
/* $NetBSD: lubbock_lcd.c,v 1.18 2023/12/20 13:55:18 thorpej Exp $ */
/*
* Copyright (c) 2002, 2003 Genetec Corporation. All rights reserved.
@ -40,13 +40,12 @@
* LCD panel geometry
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: lubbock_lcd.c,v 1.17 2021/08/07 16:18:50 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: lubbock_lcd.c,v 1.18 2023/12/20 13:55:18 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/conf.h>
#include <sys/uio.h>
#include <sys/malloc.h>
#include <dev/cons.h>
#include <dev/wscons/wsconsio.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: lubbock_pcic.c,v 1.7 2011/07/01 20:42:37 dyoung Exp $ */
/* $NetBSD: lubbock_pcic.c,v 1.8 2023/12/20 13:55:18 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: lubbock_pcic.c,v 1.7 2011/07/01 20:42:37 dyoung Exp $");
__KERNEL_RCSID(0, "$NetBSD: lubbock_pcic.c,v 1.8 2023/12/20 13:55:18 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -40,7 +40,6 @@ __KERNEL_RCSID(0, "$NetBSD: lubbock_pcic.c,v 1.7 2011/07/01 20:42:37 dyoung Exp
#include <sys/device.h>
#include <sys/kernel.h>
#include <sys/kthread.h>
#include <sys/malloc.h>
#include <sys/bus.h>

View File

@ -30,7 +30,6 @@
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/device.h>
#include <sys/malloc.h>
#include <sys/fcntl.h>
#include <sys/audioio.h>

View File

@ -59,7 +59,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mini2440_lcd.c,v 1.6 2021/08/07 16:18:50 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: mini2440_lcd.c,v 1.7 2023/12/20 13:55:18 thorpej Exp $");
/*
* LCD driver for FriendlyARM MINI2440.
@ -75,7 +75,6 @@ __KERNEL_RCSID(0, "$NetBSD: mini2440_lcd.c,v 1.6 2021/08/07 16:18:50 thorpej Exp
#include <sys/conf.h>
#include <sys/event.h>
#include <sys/uio.h>
#include <sys/malloc.h>
#include <dev/cons.h>
#include <dev/wscons/wsconsio.h>

View File

@ -1,5 +1,5 @@
/* $Id: mpcsa_leds.c,v 1.9 2022/01/19 05:21:44 thorpej Exp $ */
/* $NetBSD: mpcsa_leds.c,v 1.9 2022/01/19 05:21:44 thorpej Exp $ */
/* $Id: mpcsa_leds.c,v 1.10 2023/12/20 13:55:18 thorpej Exp $ */
/* $NetBSD: mpcsa_leds.c,v 1.10 2023/12/20 13:55:18 thorpej Exp $ */
/*
* Copyright (c) 2007 Embedtronics Oy. All rights reserved.
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mpcsa_leds.c,v 1.9 2022/01/19 05:21:44 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: mpcsa_leds.c,v 1.10 2023/12/20 13:55:18 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -139,7 +139,8 @@ mpcsa_leds_attach(device_t parent, device_t self, void *aux)
aprint_naive(": output buffer\n");
aprint_normal(": 74HC595 or compatible shift register(s)\n");
error = spi_configure(self, sa->sa_handle, SPI_MODE_0, 10000000);
error = spi_configure(self, sa->sa_handle, SPI_MODE_0,
SPI_FREQ_MHz(10));
if (error) {
return;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: smdk2410_lcd.c,v 1.12 2021/08/07 16:18:50 thorpej Exp $ */
/* $NetBSD: smdk2410_lcd.c,v 1.13 2023/12/20 13:55:18 thorpej Exp $ */
/*
* Copyright (c) 2004 Genetec Corporation. All rights reserved.
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: smdk2410_lcd.c,v 1.12 2021/08/07 16:18:50 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: smdk2410_lcd.c,v 1.13 2023/12/20 13:55:18 thorpej Exp $");
/*
* LCD driver for Samsung SMDK2410.
@ -47,7 +47,6 @@ __KERNEL_RCSID(0, "$NetBSD: smdk2410_lcd.c,v 1.12 2021/08/07 16:18:50 thorpej Ex
#include <sys/conf.h>
#include <sys/event.h>
#include <sys/uio.h>
#include <sys/malloc.h>
#include <dev/cons.h>
#include <dev/wscons/wsconsio.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: epcom_ts.c,v 1.8 2012/11/12 18:00:40 skrll Exp $ */
/* $NetBSD: epcom_ts.c,v 1.9 2023/12/20 13:55:18 thorpej Exp $ */
/*
* Copyright (c) 2002
* Ichiro FUKUHARA <ichiro@ichiro.org>.
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: epcom_ts.c,v 1.8 2012/11/12 18:00:40 skrll Exp $");
__KERNEL_RCSID(0, "$NetBSD: epcom_ts.c,v 1.9 2023/12/20 13:55:18 thorpej Exp $");
/* Front-end of epcom */
@ -35,7 +35,6 @@ __KERNEL_RCSID(0, "$NetBSD: epcom_ts.c,v 1.8 2012/11/12 18:00:40 skrll Exp $");
#include <sys/device.h>
#include <sys/systm.h>
#include <sys/param.h>
#include <sys/malloc.h>
#include <sys/termios.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: isa_io.c,v 1.12 2018/03/16 17:56:33 ryo Exp $ */
/* $NetBSD: isa_io.c,v 1.13 2023/12/20 13:55:18 thorpej Exp $ */
/*
* Copyright 1997
@ -38,12 +38,11 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: isa_io.c,v 1.12 2018/03/16 17:56:33 ryo Exp $");
__KERNEL_RCSID(0, "$NetBSD: isa_io.c,v 1.13 2023/12/20 13:55:18 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/malloc.h>
#include <sys/extent.h>
#include <sys/vmem_impl.h>
#include <sys/bus.h>
#include <machine/pio.h>
#include <machine/isa_machdep.h>
@ -52,7 +51,6 @@ __KERNEL_RCSID(0, "$NetBSD: isa_io.c,v 1.12 2018/03/16 17:56:33 ryo Exp $");
bs_protos(isa);
bs_protos(bs_notimpl);
void isa_bs_mallocok(void);
/*
* Declare the isa bus space tags
@ -222,34 +220,59 @@ struct bus_space isa_mem_bs_tag = {
.bs_c_8 = bs_notimpl_bs_c_8,
};
static long isaio_ex_storage[EXTENT_FIXED_STORAGE_SIZE(8) / sizeof(long)];
static long isamem_ex_storage[EXTENT_FIXED_STORAGE_SIZE(8) / sizeof(long)];
static int malloc_safe = 0;
struct extent *isaio_ex;
struct extent *isamem_ex;
#define ISAIO_BTAG_COUNT VMEM_EST_BTCOUNT(1, 8)
#define ISAMEM_BTAG_COUNT VMEM_EST_BTCOUNT(1, 8)
void
isa_bs_mallocok(void)
{
malloc_safe = 1;
}
static struct vmem isaio_arena_store;
static struct vmem isamem_arena_store;
static struct vmem_btag isaio_btag_store[ISAIO_BTAG_COUNT];
static struct vmem_btag isamem_btag_store[ISAMEM_BTAG_COUNT];
static vmem_t *isaio_arena;
static vmem_t *isamem_arena;
/* bus space functions */
void
isa_io_init(vaddr_t isa_io_addr, vaddr_t isa_mem_addr)
{
int error __diagused;
isa_io_bs_tag.bs_cookie = (void *)isa_io_addr;
isa_mem_bs_tag.bs_cookie = (void *)isa_mem_addr;
isaio_ex = extent_create("isaio", 0x0, 0xffff,
(void *)isaio_ex_storage, sizeof(isaio_ex_storage),
EX_NOWAIT|EX_NOCOALESCE);
isamem_ex = extent_create("isamem", 0x0, 0xfffff,
(void *)isamem_ex_storage, sizeof(isamem_ex_storage),
EX_NOWAIT|EX_NOCOALESCE);
if (isaio_ex == NULL || isamem_ex == NULL)
panic("isa_io_init(): can't alloc extent maps");
isaio_arena = vmem_init(&isaio_arena_store,
"isaio",
0, /* addr */
0, /* size */
1, /* quantum */
NULL, /* importfn */
NULL, /* releasefn */
NULL, /* source */
0, /* qcache_max */
VM_NOSLEEP | VM_PRIVTAGS,
IPL_NONE);
KASSERT(isaio_arena != NULL);
vmem_add_bts(isaio_arena, isaio_btag_store, ISAIO_BTAG_COUNT);
error = vmem_add(isaio_arena, 0x0, 0x10000, VM_NOSLEEP);
KASSERT(error == 0);
isamem_arena = vmem_init(&isamem_arena_store,
"isamem",
0, /* addr */
0, /* size */
1, /* quantum */
NULL, /* importfn */
NULL, /* releasefn */
NULL, /* source */
0, /* qcache_max */
VM_NOSLEEP | VM_PRIVTAGS,
IPL_NONE);
KASSERT(isamem_arena != NULL);
vmem_add_bts(isamem_arena, isamem_btag_store, ISAMEM_BTAG_COUNT);
error = vmem_add(isamem_arena, 0x0, 0x100000, VM_NOSLEEP);
KASSERT(error == 0);
}
/*
@ -272,16 +295,15 @@ isa_mem_data_vaddr(void)
int
isa_bs_map(void *t, bus_addr_t bpa, bus_size_t size, int cacheable, bus_space_handle_t *bshp)
{
struct extent *ex;
vmem_t *vm;
int err;
if (t == isa_io_bs_tag.bs_cookie)
ex = isaio_ex;
vm = isaio_arena;
else
ex = isamem_ex;
err = extent_alloc_region(ex, bpa, size,
EX_NOWAIT|(malloc_safe ? EX_MALLOCOK : 0));
vm = isamem_arena;
err = vmem_xalloc_addr(vm, bpa, size, VM_NOSLEEP);
if (err)
return err;
@ -314,19 +336,23 @@ isa_bs_alloc(
bus_addr_t *bpap,
bus_space_handle_t *bshp)
{
struct extent *ex;
u_long bpa;
vmem_t *vm;
vmem_addr_t bpa;
int err;
if (t == isa_io_bs_tag.bs_cookie)
ex = isaio_ex;
vm = isaio_arena;
else
ex = isamem_ex;
err = extent_alloc_subregion(ex, rstart, rend, size, alignment,
boundary, (EX_FAST|EX_NOWAIT|(malloc_safe ? EX_MALLOCOK : 0)),
&bpa);
vm = isamem_arena;
err = vmem_xalloc(vm, size,
alignment, /* align */
0, /* phase */
boundary, /* nocross */
rstart, /* minaddr */
rend, /* maxaddr */
VM_BESTFIT | VM_NOSLEEP,
&bpa);
if (err)
return err;
@ -337,15 +363,14 @@ isa_bs_alloc(
void
isa_bs_free(void *t, bus_space_handle_t bsh, bus_size_t size)
{
struct extent *ex;
vmem_t *vm;
if (t == isa_io_bs_tag.bs_cookie)
ex = isaio_ex;
vm = isaio_arena;
else
ex = isamem_ex;
vm = isamem_arena;
extent_free(ex, bsh - (bus_addr_t)t, size,
EX_NOWAIT|(malloc_safe ? EX_MALLOCOK : 0));
vmem_xfree(vm, bsh - (bus_addr_t)t, size);
}
void *

View File

@ -1,4 +1,4 @@
/* $NetBSD: isa_machdep.c,v 1.13 2014/03/08 18:08:16 skrll Exp $ */
/* $NetBSD: isa_machdep.c,v 1.14 2023/12/20 13:55:18 thorpej Exp $ */
/*-
* Copyright (c) 1996-1998 The NetBSD Foundation, Inc.
@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.13 2014/03/08 18:08:16 skrll Exp $");
__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.14 2023/12/20 13:55:18 thorpej Exp $");
#include "opt_irqstats.h"
@ -77,7 +77,6 @@ __KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.13 2014/03/08 18:08:16 skrll Exp $
#include <sys/kernel.h>
#include <sys/syslog.h>
#include <sys/device.h>
#include <sys/malloc.h>
#include <sys/proc.h>
#include <sys/bus.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: tspld.c,v 1.26 2021/08/07 16:18:50 thorpej Exp $ */
/* $NetBSD: tspld.c,v 1.27 2023/12/20 13:55:18 thorpej Exp $ */
/*-
* Copyright (c) 2004 Jesse Off
@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: tspld.c,v 1.26 2021/08/07 16:18:50 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: tspld.c,v 1.27 2023/12/20 13:55:18 thorpej Exp $");
#include <sys/param.h>
#include <sys/callout.h>
@ -459,7 +459,6 @@ void
tspld_callback(device_t self)
{
#if NISA > 0
extern void isa_bs_mallocok(void);
struct isabus_attach_args iba;
/*
@ -468,7 +467,6 @@ tspld_callback(device_t self)
memset(&iba, 0, sizeof(iba));
iba.iba_iot = &isa_io_bs_tag;
iba.iba_memt = &isa_mem_bs_tag;
isa_bs_mallocok();
config_found(self, &iba, isabusprint,
CFARGS(.iattr = "isabus"));
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: wdc_ts.c,v 1.11 2017/10/20 07:06:06 jdolecek Exp $ */
/* $NetBSD: wdc_ts.c,v 1.12 2023/12/20 13:55:18 thorpej Exp $ */
/*-
* Copyright (c) 1998, 2003 The NetBSD Foundation, Inc.
@ -30,12 +30,11 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: wdc_ts.c,v 1.11 2017/10/20 07:06:06 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: wdc_ts.c,v 1.12 2023/12/20 13:55:18 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/malloc.h>
#include <sys/bus.h>
#include <machine/intr.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: mach_intr.c,v 1.7 2016/08/26 15:45:47 skrll Exp $ */
/* $NetBSD: mach_intr.c,v 1.8 2023/12/20 14:12:25 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mach_intr.c,v 1.7 2016/08/26 15:45:47 skrll Exp $");
__KERNEL_RCSID(0, "$NetBSD: mach_intr.c,v 1.8 2023/12/20 14:12:25 thorpej Exp $");
#include "opt_ddb.h"
@ -47,7 +47,6 @@ __KERNEL_RCSID(0, "$NetBSD: mach_intr.c,v 1.7 2016/08/26 15:45:47 skrll Exp $");
#include <sys/device.h>
#include <sys/intr.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/systm.h>
#include <mips/locore.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: mach_intr.c,v 1.3 2016/08/26 15:45:47 skrll Exp $ */
/* $NetBSD: mach_intr.c,v 1.4 2023/12/20 14:12:25 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mach_intr.c,v 1.3 2016/08/26 15:45:47 skrll Exp $");
__KERNEL_RCSID(0, "$NetBSD: mach_intr.c,v 1.4 2023/12/20 14:12:25 thorpej Exp $");
#include "opt_ddb.h"
@ -48,7 +48,6 @@ __KERNEL_RCSID(0, "$NetBSD: mach_intr.c,v 1.3 2016/08/26 15:45:47 skrll Exp $");
#include <sys/device.h>
#include <sys/intr.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/systm.h>
#include <mips/locore.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: gdium_bus_mem.c,v 1.2 2011/07/10 00:03:53 matt Exp $ */
/* $NetBSD: gdium_bus_mem.c,v 1.3 2023/12/20 14:12:25 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -34,11 +34,10 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: gdium_bus_mem.c,v 1.2 2011/07/10 00:03:53 matt Exp $");
__KERNEL_RCSID(0, "$NetBSD: gdium_bus_mem.c,v 1.3 2023/12/20 14:12:25 thorpej Exp $");
#include <sys/param.h>
#include <sys/device.h>
#include <sys/malloc.h>
#include <sys/syslog.h>
#include <sys/systm.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: gdium_genfb.c,v 1.6 2011/07/10 00:03:53 matt Exp $ */
/* $NetBSD: gdium_genfb.c,v 1.7 2023/12/20 14:12:25 thorpej Exp $ */
/*
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: gdium_genfb.c,v 1.6 2011/07/10 00:03:53 matt Exp $");
__KERNEL_RCSID(0, "$NetBSD: gdium_genfb.c,v 1.7 2023/12/20 14:12:25 thorpej Exp $");
#include <sys/param.h>
#include <sys/buf.h>
@ -37,7 +37,6 @@ __KERNEL_RCSID(0, "$NetBSD: gdium_genfb.c,v 1.6 2011/07/10 00:03:53 matt Exp $")
#include <sys/device.h>
#include <sys/ioctl.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/systm.h>
#include <dev/wscons/wsconsio.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: mainbus.c,v 1.9 2021/08/07 16:18:51 thorpej Exp $ */
/* $NetBSD: mainbus.c,v 1.10 2023/12/20 14:12:25 thorpej Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@ -36,16 +36,13 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.9 2021/08/07 16:18:51 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.10 2023/12/20 14:12:25 thorpej Exp $");
#include "opt_pci.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
#if defined(PCI_NETBSD_CONFIGURE)
#include <sys/malloc.h>
#endif
#include <dev/pci/pcivar.h>
#if defined(PCI_NETBSD_CONFIGURE)

View File

@ -1,4 +1,4 @@
/* $NetBSD: stvii.c,v 1.6 2018/06/16 21:22:13 thorpej Exp $ */
/* $NetBSD: stvii.c,v 1.7 2023/12/20 14:12:25 thorpej Exp $ */
/*-
* Copyright (C) 2011 Michael Lorenz.
@ -30,13 +30,12 @@
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: stvii.c,v 1.6 2018/06/16 21:22:13 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: stvii.c,v 1.7 2023/12/20 14:12:25 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/malloc.h>
#include <sys/sysctl.h>
#include <sys/kthread.h>
#include <sys/proc.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: mainbus.c,v 1.6 2021/08/07 16:18:51 thorpej Exp $ */
/* $NetBSD: mainbus.c,v 1.7 2023/12/20 14:12:25 thorpej Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@ -36,16 +36,13 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.6 2021/08/07 16:18:51 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.7 2023/12/20 14:12:25 thorpej Exp $");
#include "opt_pci.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
#if defined(PCI_NETBSD_CONFIGURE)
#include <sys/malloc.h>
#endif
#include <dev/pci/pcivar.h>
#if defined(PCI_NETBSD_CONFIGURE)

View File

@ -1,4 +1,4 @@
/* $NetBSD: mainbus.c,v 1.17 2021/08/07 16:18:51 thorpej Exp $ */
/* $NetBSD: mainbus.c,v 1.18 2023/12/20 14:12:25 thorpej Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@ -36,16 +36,13 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.17 2021/08/07 16:18:51 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.18 2023/12/20 14:12:25 thorpej Exp $");
#include "opt_pci.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
#if defined(PCI_NETBSD_CONFIGURE)
#include <sys/malloc.h>
#endif
#include <dev/pci/pcivar.h>
#if defined(PCI_NETBSD_CONFIGURE)

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.20 2021/08/02 12:56:22 andvar Exp $ */
/* $NetBSD: machdep.c,v 1.21 2023/12/20 14:12:25 thorpej Exp $ */
/*
* Copyright 2001, 2002 Wasabi Systems, Inc.
@ -74,7 +74,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.20 2021/08/02 12:56:22 andvar Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.21 2023/12/20 14:12:25 thorpej Exp $");
#define __INTR_PRIVATE
@ -100,7 +100,6 @@ __KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.20 2021/08/02 12:56:22 andvar Exp $");
#include <sys/bus.h>
#include <sys/device.h>
#include <sys/extent.h>
#include <sys/malloc.h>
#include <uvm/uvm_extern.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.6 2023/12/05 19:16:48 andvar Exp $ */
/* $NetBSD: machdep.c,v 1.7 2023/12/20 14:12:26 thorpej Exp $ */
/*
* Copyright 2000, 2001
@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.6 2023/12/05 19:16:48 andvar Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.7 2023/12/20 14:12:26 thorpej Exp $");
#include "opt_ddb.h"
#include "opt_execfmt.h"
@ -75,7 +75,6 @@ __KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.6 2023/12/05 19:16:48 andvar Exp $");
#include <sys/kcore.h>
#include <sys/kernel.h>
#include <sys/ksyms.h>
#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/mount.h>
#include <sys/msgbuf.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.14 2018/07/15 05:16:42 maxv Exp $ */
/* $NetBSD: machdep.c,v 1.15 2023/12/20 14:18:37 thorpej Exp $ */
/*
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.14 2018/07/15 05:16:42 maxv Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.15 2023/12/20 14:18:37 thorpej Exp $");
#include "opt_compat_netbsd.h"
#include "opt_ddb.h"
@ -81,7 +81,6 @@ __KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.14 2018/07/15 05:16:42 maxv Exp $");
#include <sys/kernel.h>
#include <sys/kgdb.h>
#include <sys/ksyms.h>
#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/mount.h>
#include <sys/msgbuf.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: pci_machdep.c,v 1.6 2016/10/19 00:08:41 nonaka Exp $ */
/* $NetBSD: pci_machdep.c,v 1.7 2023/12/20 14:18:37 thorpej Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All rights reserved.
@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.6 2016/10/19 00:08:41 nonaka Exp $");
__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.7 2023/12/20 14:18:37 thorpej Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@ -51,7 +51,6 @@ __KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.6 2016/10/19 00:08:41 nonaka Exp $
#include <sys/errno.h>
#include <sys/extent.h>
#include <sys/intr.h>
#include <sys/malloc.h>
#include <sys/queue.h>
#include <sys/systm.h>
#include <sys/time.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: design_gsrd2.c,v 1.8 2021/08/07 16:18:52 thorpej Exp $ */
/* $NetBSD: design_gsrd2.c,v 1.9 2023/12/20 14:18:37 thorpej Exp $ */
/*
* Copyright (c) 2006 Jachym Holecek
@ -32,13 +32,12 @@
#include "opt_virtex.h"
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: design_gsrd2.c,v 1.8 2021/08/07 16:18:52 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: design_gsrd2.c,v 1.9 2023/12/20 14:18:37 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/extent.h>
#include <sys/cpu.h>
#include <sys/bus.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: xcvbus.c,v 1.3 2011/07/01 19:03:50 dyoung Exp $ */
/* $NetBSD: xcvbus.c,v 1.4 2023/12/20 14:18:38 thorpej Exp $ */
/*
* Copyright (c) 2006 Jachym Holecek
@ -30,14 +30,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: xcvbus.c,v 1.3 2011/07/01 19:03:50 dyoung Exp $");
__KERNEL_RCSID(0, "$NetBSD: xcvbus.c,v 1.4 2023/12/20 14:18:38 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/types.h>
#include <sys/device.h>
#include <sys/extent.h>
#include <sys/malloc.h>
#include <sys/bus.h>
#include <powerpc/ibm4xx/dev/plbvar.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.30 2021/08/03 09:25:44 rin Exp $ */
/* $NetBSD: machdep.c,v 1.31 2023/12/20 14:18:37 thorpej Exp $ */
/*
* Copyright (c) 2006 Jachym Holecek
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.30 2021/08/03 09:25:44 rin Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.31 2023/12/20 14:18:37 thorpej Exp $");
#include "opt_compat_netbsd.h"
#include "opt_ddb.h"
@ -47,7 +47,6 @@ __KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.30 2021/08/03 09:25:44 rin Exp $");
#include <sys/bus.h>
#include <sys/device.h>
#include <sys/exec.h>
#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/module.h>
#include <sys/mount.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: scimci.c,v 1.4 2021/08/07 16:18:53 thorpej Exp $ */
/* $NetBSD: scimci.c,v 1.5 2023/12/20 14:50:01 thorpej Exp $ */
/*-
* Copyright (C) 2009 NONAKA Kimihiro <nonaka@netbsd.org>
@ -30,12 +30,11 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: scimci.c,v 1.4 2021/08/07 16:18:53 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: scimci.c,v 1.5 2023/12/20 14:50:01 thorpej Exp $");
#include <sys/param.h>
#include <sys/device.h>
#include <sys/systm.h>
#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/bus.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ssumci.c,v 1.5 2021/08/07 16:18:53 thorpej Exp $ */
/* $NetBSD: ssumci.c,v 1.6 2023/12/20 14:50:01 thorpej Exp $ */
/*-
* Copyright (C) 2010 NONAKA Kimihiro <nonaka@netbsd.org>
@ -30,12 +30,11 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ssumci.c,v 1.5 2021/08/07 16:18:53 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: ssumci.c,v 1.6 2023/12/20 14:50:01 thorpej Exp $");
#include <sys/param.h>
#include <sys/device.h>
#include <sys/systm.h>
#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/bus.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ipaq_atmelgpio.c,v 1.18 2021/08/07 16:18:53 thorpej Exp $ */
/* $NetBSD: ipaq_atmelgpio.c,v 1.19 2023/12/20 14:50:02 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc. All rights reserved.
@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ipaq_atmelgpio.c,v 1.18 2021/08/07 16:18:53 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: ipaq_atmelgpio.c,v 1.19 2023/12/20 14:50:02 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -43,7 +43,6 @@ __KERNEL_RCSID(0, "$NetBSD: ipaq_atmelgpio.c,v 1.18 2021/08/07 16:18:53 thorpej
#include <sys/device.h>
#include <sys/kernel.h>
#include <sys/kthread.h>
#include <sys/malloc.h>
#include <sys/bus.h>
#include <hpcarm/dev/ipaq_saipvar.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ipaq_pcic.c,v 1.23 2021/08/07 16:18:53 thorpej Exp $ */
/* $NetBSD: ipaq_pcic.c,v 1.24 2023/12/20 14:50:02 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ipaq_pcic.c,v 1.23 2021/08/07 16:18:53 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: ipaq_pcic.c,v 1.24 2023/12/20 14:50:02 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -40,7 +40,6 @@ __KERNEL_RCSID(0, "$NetBSD: ipaq_pcic.c,v 1.23 2021/08/07 16:18:53 thorpej Exp $
#include <sys/device.h>
#include <sys/kernel.h>
#include <sys/kthread.h>
#include <sys/malloc.h>
#include <sys/bus.h>
#include <dev/pcmcia/pcmciachip.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ipaq_saip.c,v 1.25 2021/08/07 16:18:53 thorpej Exp $ */
/* $NetBSD: ipaq_saip.c,v 1.26 2023/12/20 14:50:02 thorpej Exp $ */
/*-
* Copyright (c) 2001, The NetBSD Foundation, Inc. All rights reserved.
@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ipaq_saip.c,v 1.25 2021/08/07 16:18:53 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: ipaq_saip.c,v 1.26 2023/12/20 14:50:02 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -37,7 +37,6 @@ __KERNEL_RCSID(0, "$NetBSD: ipaq_saip.c,v 1.25 2021/08/07 16:18:53 thorpej Exp $
#include <sys/conf.h>
#include <sys/device.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/uio.h>
#include <sys/bus.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: j720pcic.c,v 1.8 2011/07/19 15:37:38 dyoung Exp $ */
/* $NetBSD: j720pcic.c,v 1.9 2023/12/20 14:50:02 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -32,7 +32,7 @@
/* Jornada 720 PCMCIA support. */
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: j720pcic.c,v 1.8 2011/07/19 15:37:38 dyoung Exp $");
__KERNEL_RCSID(0, "$NetBSD: j720pcic.c,v 1.9 2023/12/20 14:50:02 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -42,7 +42,6 @@ __KERNEL_RCSID(0, "$NetBSD: j720pcic.c,v 1.8 2011/07/19 15:37:38 dyoung Exp $");
#include <sys/device.h>
#include <sys/kernel.h>
#include <sys/kthread.h>
#include <sys/malloc.h>
#include <sys/bus.h>
#include <machine/platid.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: j720tp.c,v 1.14 2021/08/30 05:57:51 rin Exp $ */
/* $NetBSD: j720tp.c,v 1.15 2023/12/20 14:50:02 thorpej Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@ -32,7 +32,7 @@
/* Jornada 720 touch-panel driver. */
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: j720tp.c,v 1.14 2021/08/30 05:57:51 rin Exp $");
__KERNEL_RCSID(0, "$NetBSD: j720tp.c,v 1.15 2023/12/20 14:50:02 thorpej Exp $");
#ifdef _KERNEL_OPT
#include "opt_j720tp.h"
@ -43,7 +43,6 @@ __KERNEL_RCSID(0, "$NetBSD: j720tp.c,v 1.14 2021/08/30 05:57:51 rin Exp $");
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/ioctl.h>
#include <sys/callout.h>
#include <sys/sysctl.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: sacc_hpcarm.c,v 1.14 2021/08/07 16:18:53 thorpej Exp $ */
/* $NetBSD: sacc_hpcarm.c,v 1.15 2023/12/20 14:50:02 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sacc_hpcarm.c,v 1.14 2021/08/07 16:18:53 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: sacc_hpcarm.c,v 1.15 2023/12/20 14:50:02 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -42,7 +42,6 @@ __KERNEL_RCSID(0, "$NetBSD: sacc_hpcarm.c,v 1.14 2021/08/07 16:18:53 thorpej Exp
#include <sys/conf.h>
#include <sys/device.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/uio.h>
#include <sys/bus.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: uda1341.c,v 1.17 2021/08/07 16:18:53 thorpej Exp $ */
/* $NetBSD: uda1341.c,v 1.18 2023/12/20 14:50:02 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc. All rights reserved.
@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: uda1341.c,v 1.17 2021/08/07 16:18:53 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: uda1341.c,v 1.18 2023/12/20 14:50:02 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -39,7 +39,6 @@ __KERNEL_RCSID(0, "$NetBSD: uda1341.c,v 1.17 2021/08/07 16:18:53 thorpej Exp $")
#include <sys/device.h>
#include <sys/kernel.h>
#include <sys/kthread.h>
#include <sys/malloc.h>
#include <sys/bus.h>
#include <hpcarm/dev/ipaq_saipvar.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: wzero3_tp.c,v 1.10 2021/08/07 16:18:53 thorpej Exp $ */
/* $NetBSD: wzero3_tp.c,v 1.11 2023/12/20 14:50:02 thorpej Exp $ */
/*-
* Copyright (C) 2010 NONAKA Kimihiro <nonaka@netbsd.org>
@ -26,13 +26,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: wzero3_tp.c,v 1.10 2021/08/07 16:18:53 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: wzero3_tp.c,v 1.11 2023/12/20 14:50:02 thorpej Exp $");
#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/callout.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.c,v 1.23 2017/06/16 18:17:41 jdolecek Exp $ */
/* $NetBSD: autoconf.c,v 1.24 2023/12/20 14:50:02 thorpej Exp $ */
/*
* Copyright (c) 1994-1998 Mark Brinicombe.
@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.23 2017/06/16 18:17:41 jdolecek Exp $");
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.24 2023/12/20 14:50:02 thorpej Exp $");
#include "opt_md.h"
@ -47,7 +47,6 @@ __KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.23 2017/06/16 18:17:41 jdolecek Exp $
#include <sys/disklabel.h>
#include <sys/intr.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/reboot.h>
#include <uvm/uvm_extern.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: mq200_pci.c,v 1.5 2012/10/27 17:17:52 chs Exp $ */
/* $NetBSD: mq200_pci.c,v 1.6 2023/12/20 14:50:02 thorpej Exp $ */
/*-
* Copyright (c) 2002 TAKEMURA Shin
@ -30,13 +30,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mq200_pci.c,v 1.5 2012/10/27 17:17:52 chs Exp $");
__KERNEL_RCSID(0, "$NetBSD: mq200_pci.c,v 1.6 2023/12/20 14:50:02 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/malloc.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: plumpower.c,v 1.13 2012/10/27 17:17:53 chs Exp $ */
/* $NetBSD: plumpower.c,v 1.14 2023/12/20 14:50:02 thorpej Exp $ */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@ -30,14 +30,13 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: plumpower.c,v 1.13 2012/10/27 17:17:53 chs Exp $");
__KERNEL_RCSID(0, "$NetBSD: plumpower.c,v 1.14 2023/12/20 14:50:02 thorpej Exp $");
#undef PLUMPOWERDEBUG
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/malloc.h>
#include <machine/bus.h>
#include <machine/intr.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: bus_space.c,v 1.33 2023/09/09 20:47:29 andvar Exp $ */
/* $NetBSD: bus_space.c,v 1.34 2023/12/20 14:50:02 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -31,11 +31,10 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: bus_space.c,v 1.33 2023/09/09 20:47:29 andvar Exp $");
__KERNEL_RCSID(0, "$NetBSD: bus_space.c,v 1.34 2023/12/20 14:50:02 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/malloc.h>
#include <sys/extent.h>
#include <sys/bus.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: interrupt.c,v 1.20 2015/06/26 22:17:59 matt Exp $ */
/* $NetBSD: interrupt.c,v 1.21 2023/12/20 14:50:02 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.20 2015/06/26 22:17:59 matt Exp $");
__KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.21 2023/12/20 14:50:02 thorpej Exp $");
#include "opt_vr41xx.h"
#include "opt_tx39xx.h"
@ -39,7 +39,6 @@ __KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.20 2015/06/26 22:17:59 matt Exp $");
#include <sys/param.h>
#include <sys/cpu.h>
#include <sys/malloc.h>
#include <sys/intr.h>
#include <mips/locore.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: vr4181aiu.c,v 1.11 2018/09/03 16:29:24 riastradh Exp $ */
/* $NetBSD: vr4181aiu.c,v 1.12 2023/12/20 14:50:02 thorpej Exp $ */
/*
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -30,13 +30,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: vr4181aiu.c,v 1.11 2018/09/03 16:29:24 riastradh Exp $");
__KERNEL_RCSID(0, "$NetBSD: vr4181aiu.c,v 1.12 2023/12/20 14:50:02 thorpej Exp $");
#include <sys/param.h>
#include <sys/conf.h>
#include <sys/device.h>
#include <sys/errno.h>
#include <sys/malloc.h>
#include <sys/proc.h>
#include <sys/systm.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: vrecu.c,v 1.10 2012/10/27 17:17:56 chs Exp $ */
/* $NetBSD: vrecu.c,v 1.11 2023/12/20 14:50:02 thorpej Exp $ */
/*
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -30,11 +30,10 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: vrecu.c,v 1.10 2012/10/27 17:17:56 chs Exp $");
__KERNEL_RCSID(0, "$NetBSD: vrecu.c,v 1.11 2023/12/20 14:50:02 thorpej Exp $");
#include <sys/param.h>
#include <sys/device.h>
#include <sys/malloc.h>
#include <sys/queue.h>
#include <sys/systm.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: hd64461uart.c,v 1.31 2023/09/13 17:08:14 andvar Exp $ */
/* $NetBSD: hd64461uart.c,v 1.32 2023/12/20 14:50:02 thorpej Exp $ */
/*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@ -27,14 +27,13 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: hd64461uart.c,v 1.31 2023/09/13 17:08:14 andvar Exp $");
__KERNEL_RCSID(0, "$NetBSD: hd64461uart.c,v 1.32 2023/12/20 14:50:02 thorpej Exp $");
#include "opt_kgdb.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/reboot.h>
#include <sys/malloc.h>
#include <sys/device.h>
#include <sys/kgdb.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: hd64461video.c,v 1.57 2022/07/03 11:30:48 andvar Exp $ */
/* $NetBSD: hd64461video.c,v 1.58 2023/12/20 14:50:02 thorpej Exp $ */
/*-
* Copyright (c) 2001, 2002, 2004 The NetBSD Foundation, Inc.
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: hd64461video.c,v 1.57 2022/07/03 11:30:48 andvar Exp $");
__KERNEL_RCSID(0, "$NetBSD: hd64461video.c,v 1.58 2023/12/20 14:50:02 thorpej Exp $");
#include "opt_hd64461video.h"
// #define HD64461VIDEO_HWACCEL
@ -39,7 +39,6 @@ __KERNEL_RCSID(0, "$NetBSD: hd64461video.c,v 1.57 2022/07/03 11:30:48 andvar Exp
#include <sys/kernel.h>
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/malloc.h>
#include <sys/bus.h>
#include <sys/conf.h> /* cdev_decl */

View File

@ -1,4 +1,4 @@
/* $NetBSD: hd64465uart.c,v 1.20 2018/12/08 17:46:11 thorpej Exp $ */
/* $NetBSD: hd64465uart.c,v 1.21 2023/12/20 14:50:03 thorpej Exp $ */
/*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@ -27,14 +27,13 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: hd64465uart.c,v 1.20 2018/12/08 17:46:11 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: hd64465uart.c,v 1.21 2023/12/20 14:50:03 thorpej Exp $");
#include "opt_kgdb.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/reboot.h>
#include <sys/malloc.h>
#include <sys/device.h>
#include <sys/kgdb.h>
#include <sys/bus.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: j6x0pwr.c,v 1.15 2009/04/05 02:18:59 uwe Exp $ */
/* $NetBSD: j6x0pwr.c,v 1.16 2023/12/20 14:50:02 thorpej Exp $ */
/*
* Copyright (c) 2003, 2006 Valeriy E. Ushakov
@ -28,12 +28,11 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: j6x0pwr.c,v 1.15 2009/04/05 02:18:59 uwe Exp $");
__KERNEL_RCSID(0, "$NetBSD: j6x0pwr.c,v 1.16 2023/12/20 14:50:02 thorpej Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/malloc.h>
#include <sys/systm.h>
#include <sys/callout.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: j6x0tp.c,v 1.25 2021/08/07 16:18:54 thorpej Exp $ */
/* $NetBSD: j6x0tp.c,v 1.26 2023/12/20 14:50:02 thorpej Exp $ */
/*
* Copyright (c) 2003 Valeriy E. Ushakov
@ -28,12 +28,11 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: j6x0tp.c,v 1.25 2021/08/07 16:18:54 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: j6x0tp.c,v 1.26 2023/12/20 14:50:02 thorpej Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/malloc.h>
#include <sys/systm.h>
#include <sys/callout.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: psh3tp.c,v 1.17 2021/08/07 16:18:54 thorpej Exp $ */
/* $NetBSD: psh3tp.c,v 1.18 2023/12/20 14:50:02 thorpej Exp $ */
/*
* Copyright (c) 2005 KIYOHARA Takashi
* All rights reserved.
@ -33,7 +33,6 @@
#include <sys/device.h>
#include <sys/errno.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/systm.h>
#include <sys/callout.h>