-/* $OpenBSD: acpiiort.c,v 1.5 2021/11/26 15:21:26 patrick Exp $ */
+/* $OpenBSD: acpiiort.c,v 1.6 2022/04/06 18:59:26 naddy Exp $ */
/*
* Copyright (c) 2021 Patrick Wildt <patrick@blueri.se>
*
int acpiiort_match(struct device *, void *, void *);
void acpiiort_attach(struct device *, struct device *, void *);
-struct cfattach acpiiort_ca = {
+const struct cfattach acpiiort_ca = {
sizeof(struct device), acpiiort_match, acpiiort_attach
};
-/* $OpenBSD: apldart.c,v 1.13 2022/03/14 13:08:32 kettenis Exp $ */
+/* $OpenBSD: apldart.c,v 1.14 2022/04/06 18:59:26 naddy Exp $ */
/*
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
*
int apldart_match(struct device *, void *, void *);
void apldart_attach(struct device *, struct device *, void *);
-struct cfattach apldart_ca = {
+const struct cfattach apldart_ca = {
sizeof (struct apldart_softc), apldart_match, apldart_attach
};
-/* $OpenBSD: apldog.c,v 1.3 2022/01/13 08:59:10 kettenis Exp $ */
+/* $OpenBSD: apldog.c,v 1.4 2022/04/06 18:59:26 naddy Exp $ */
/*
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
*
int apldog_match(struct device *, void *, void *);
void apldog_attach(struct device *, struct device *, void *);
-struct cfattach apldog_ca = {
+const struct cfattach apldog_ca = {
sizeof (struct apldog_softc), apldog_match, apldog_attach
};
-/* $OpenBSD: aplhidev.c,v 1.5 2022/02/14 00:53:40 jsg Exp $ */
+/* $OpenBSD: aplhidev.c,v 1.6 2022/04/06 18:59:26 naddy Exp $ */
/*
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
* Copyright (c) 2013-2014 joshua stein <jcs@openbsd.org>
int aplhidev_match(struct device *, void *, void *);
void aplhidev_attach(struct device *, struct device *, void *);
-struct cfattach aplhidev_ca = {
+const struct cfattach aplhidev_ca = {
sizeof(struct aplhidev_softc), aplhidev_match, aplhidev_attach
};
int aplkbd_match(struct device *, void *, void *);
void aplkbd_attach(struct device *, struct device *, void *);
-struct cfattach aplkbd_ca = {
+const struct cfattach aplkbd_ca = {
sizeof(struct aplkbd_softc), aplkbd_match, aplkbd_attach
};
int aplms_match(struct device *, void *, void *);
void aplms_attach(struct device *, struct device *, void *);
-struct cfattach aplms_ca = {
+const struct cfattach aplms_ca = {
sizeof(struct aplms_softc), aplms_match, aplms_attach
};
-/* $OpenBSD: aplintc.c,v 1.9 2022/03/31 18:47:04 kettenis Exp $ */
+/* $OpenBSD: aplintc.c,v 1.10 2022/04/06 18:59:26 naddy Exp $ */
/*
* Copyright (c) 2021 Mark Kettenis
*
int aplintc_match(struct device *, void *, void *);
void aplintc_attach(struct device *, struct device *, void *);
-struct cfattach aplintc_ca = {
+const struct cfattach aplintc_ca = {
sizeof (struct aplintc_softc), aplintc_match, aplintc_attach
};
-/* $OpenBSD: aplns.c,v 1.10 2022/01/10 09:07:28 kettenis Exp $ */
+/* $OpenBSD: aplns.c,v 1.11 2022/04/06 18:59:26 naddy Exp $ */
/*
* Copyright (c) 2014, 2021 David Gwynne <dlg@openbsd.org>
*
int aplns_match(struct device *, void *, void *);
void aplns_attach(struct device *, struct device *, void *);
-struct cfattach aplns_ca = {
+const struct cfattach aplns_ca = {
sizeof(struct device),
aplns_match,
aplns_attach
int nvme_ans_match(struct device *, void *, void *);
void nvme_ans_attach(struct device *, struct device *, void *);
-struct cfattach nvme_ans_ca = {
+const struct cfattach nvme_ans_ca = {
sizeof(struct nvme_ans_softc),
nvme_ans_match,
nvme_ans_attach,
-/* $OpenBSD: aplpcie.c,v 1.12 2022/03/07 11:08:13 kettenis Exp $ */
+/* $OpenBSD: aplpcie.c,v 1.13 2022/04/06 18:59:26 naddy Exp $ */
/*
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
*
int aplpcie_match(struct device *, void *, void *);
void aplpcie_attach(struct device *, struct device *, void *);
-struct cfattach aplpcie_ca = {
+const struct cfattach aplpcie_ca = {
sizeof (struct aplpcie_softc), aplpcie_match, aplpcie_attach
};
-/* $OpenBSD: aplpinctrl.c,v 1.3 2021/12/23 20:48:24 patrick Exp $ */
+/* $OpenBSD: aplpinctrl.c,v 1.4 2022/04/06 18:59:26 naddy Exp $ */
/*
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
*
int aplpinctrl_match(struct device *, void *, void *);
void aplpinctrl_attach(struct device *, struct device *, void *);
-struct cfattach aplpinctrl_ca = {
+const struct cfattach aplpinctrl_ca = {
sizeof (struct aplpinctrl_softc), aplpinctrl_match, aplpinctrl_attach
};
-/* $OpenBSD: aplpmu.c,v 1.4 2022/03/02 12:35:14 kettenis Exp $ */
+/* $OpenBSD: aplpmu.c,v 1.5 2022/04/06 18:59:26 naddy Exp $ */
/*
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
*
int aplpmu_match(struct device *, void *, void *);
void aplpmu_attach(struct device *, struct device *, void *);
-struct cfattach aplpmu_ca = {
+const struct cfattach aplpmu_ca = {
sizeof (struct aplpmu_softc), aplpmu_match, aplpmu_attach
};
-/* $OpenBSD: aplspi.c,v 1.3 2021/12/11 20:04:37 kettenis Exp $ */
+/* $OpenBSD: aplspi.c,v 1.4 2022/04/06 18:59:26 naddy Exp $ */
/*
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
*
#define HCLR4(sc, reg, bits) \
HWRITE4((sc), (reg), HREAD4((sc), (reg)) & ~(bits))
-struct cfattach aplspi_ca = {
+const struct cfattach aplspi_ca = {
sizeof(struct aplspi_softc), aplspi_match, aplspi_attach
};
-/* $OpenBSD: aplspmi.c,v 1.1 2021/05/26 20:52:21 kettenis Exp $ */
+/* $OpenBSD: aplspmi.c,v 1.2 2022/04/06 18:59:26 naddy Exp $ */
/*
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
*
int aplspmi_match(struct device *, void *, void *);
void aplspmi_attach(struct device *, struct device *, void *);
-struct cfattach aplspmi_ca = {
+const struct cfattach aplspmi_ca = {
sizeof (struct aplspmi_softc), aplspmi_match, aplspmi_attach
};
-/* $OpenBSD: smmu_acpi.c,v 1.3 2021/06/25 17:41:22 patrick Exp $ */
+/* $OpenBSD: smmu_acpi.c,v 1.4 2022/04/06 18:59:26 naddy Exp $ */
/*
* Copyright (c) 2021 Patrick Wildt <patrick@blueri.se>
*
int smmu_acpi_match(struct device *, void *, void *);
void smmu_acpi_attach(struct device *, struct device *, void *);
-struct cfattach smmu_acpi_ca = {
+const struct cfattach smmu_acpi_ca = {
sizeof(struct smmu_acpi_softc), smmu_acpi_match, smmu_acpi_attach
};
-/* $OpenBSD: smmu_fdt.c,v 1.4 2021/06/25 17:41:22 patrick Exp $ */
+/* $OpenBSD: smmu_fdt.c,v 1.5 2022/04/06 18:59:26 naddy Exp $ */
/*
* Copyright (c) 2021 Patrick Wildt <patrick@blueri.se>
*
bus_dma_tag_t smmu_fdt_map(void *, uint32_t *, bus_dma_tag_t);
void smmu_fdt_reserve(void *, uint32_t *, bus_addr_t, bus_size_t);
-struct cfattach smmu_fdt_ca = {
+const struct cfattach smmu_fdt_ca = {
sizeof(struct smmu_fdt_softc), smmu_fdt_match, smmu_fdt_attach
};
-/* $OpenBSD: omclock.c,v 1.1 2020/04/10 22:02:45 kettenis Exp $ */
+/* $OpenBSD: omclock.c,v 1.2 2022/04/06 18:59:26 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
int omclock_match(struct device *, void *, void *);
void omclock_attach(struct device *, struct device *, void *);
-struct cfattach omclock_ca = {
+const struct cfattach omclock_ca = {
sizeof (struct omclock_softc), omclock_match, omclock_attach
};
-/* $OpenBSD: omcm.c,v 1.2 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: omcm.c,v 1.3 2022/04/06 18:59:26 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
int omcm_match(struct device *, void *, void *);
void omcm_attach(struct device *, struct device *, void *);
-struct cfattach omcm_ca = {
+const struct cfattach omcm_ca = {
sizeof(struct omcm_softc), omcm_match, omcm_attach
};
-/* $OpenBSD: omrng.c,v 1.2 2020/05/29 04:42:23 deraadt Exp $ */
+/* $OpenBSD: omrng.c,v 1.3 2022/04/06 18:59:26 naddy Exp $ */
/*
* Copyright (c) 2018, 2020 Mark Kettenis <kettenis@openbsd.org>
*
int omrng_match(struct device *, void *, void *);
void omrng_attach(struct device *, struct device *, void *);
-struct cfattach omrng_ca = {
+const struct cfattach omrng_ca = {
sizeof (struct omrng_softc), omrng_match, omrng_attach
};
-/* $OpenBSD: omsysc.c,v 1.2 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: omsysc.c,v 1.3 2022/04/06 18:59:26 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
int omsysc_match(struct device *, void *, void *);
void omsysc_attach(struct device *, struct device *, void *);
-struct cfattach omsysc_ca = {
+const struct cfattach omsysc_ca = {
sizeof(struct omsysc_softc), omsysc_match, omsysc_attach
};
-/* $OpenBSD: obio.c,v 1.9 2014/11/16 12:30:57 deraadt Exp $ */
+/* $OpenBSD: obio.c,v 1.10 2022/04/06 18:59:26 naddy Exp $ */
/* $NetBSD: obio.c,v 1.1 2006/09/01 21:26:18 uwe Exp $ */
/*-
int obio_print(void *, const char *);
int obio_search(struct device *, void *, void *);
-struct cfattach obio_ca = {
+const struct cfattach obio_ca = {
sizeof(struct obio_softc), obio_match, obio_attach
};
-/* $OpenBSD: power.c,v 1.8 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: power.c,v 1.9 2022/04/06 18:59:26 naddy Exp $ */
/*
* Copyright (c) 2007 Martin Reindl.
void power_attach(struct device *, struct device *, void *);
int power_intr(void *aux);
-struct cfattach power_ca = {
+const struct cfattach power_ca = {
sizeof(struct power_softc),
power_match,
power_attach
-/* $OpenBSD: wdc_obio.c,v 1.4 2011/05/09 22:33:53 matthew Exp $ */
+/* $OpenBSD: wdc_obio.c,v 1.5 2022/04/06 18:59:26 naddy Exp $ */
/* $NetBSD: wdc_obio.c,v 1.1 2006/09/01 21:26:18 uwe Exp $ */
/*-
int wdc_obio_match(struct device *, void *, void *);
void wdc_obio_attach(struct device *, struct device *, void *);
-struct cfattach wdc_obio_ca = {
+const struct cfattach wdc_obio_ca = {
sizeof(struct wdc_obio_softc), wdc_obio_match, wdc_obio_attach
};
-/* $OpenBSD: mainbus.c,v 1.5 2010/04/21 12:39:39 jasper Exp $ */
+/* $OpenBSD: mainbus.c,v 1.6 2022/04/06 18:59:26 naddy Exp $ */
/* $NetBSD: mainbus.c,v 1.1 2006/09/01 21:26:18 uwe Exp $ */
/*-
int mainbus_match(struct device *, void *, void *);
void mainbus_attach(struct device *, struct device *, void *);
-struct cfattach mainbus_ca = {
+const struct cfattach mainbus_ca = {
sizeof(struct device), mainbus_match, mainbus_attach
};
-/* $OpenBSD: apm.c,v 1.39 2020/12/25 12:59:51 visa Exp $ */
+/* $OpenBSD: apm.c,v 1.40 2022/04/06 18:59:26 naddy Exp $ */
/*-
* Copyright (c) 2001 Alexander Guy. All rights reserved.
int apmmatch(struct device *, void *, void *);
void apmattach(struct device *, struct device *, void *);
-struct cfattach apm_ca = {
+const struct cfattach apm_ca = {
sizeof(struct apm_softc), apmmatch, apmattach
};
-/* $OpenBSD: gdiumiic.c,v 1.7 2020/09/30 22:23:41 patrick Exp $ */
+/* $OpenBSD: gdiumiic.c,v 1.8 2022/04/06 18:59:26 naddy Exp $ */
/*
* Copyright (c) 2010 Miodrag Vallat.
void gdiumiic_sensors_scan(struct device *,
struct i2cbus_attach_args *, void *);
-struct cfattach gdiumiic_ca = {
+const struct cfattach gdiumiic_ca = {
sizeof(struct gdiumiic_softc),
gdiumiic_match,
gdiumiic_attach,
-/* $OpenBSD: glxclk.c,v 1.5 2015/07/19 21:11:47 jasper Exp $ */
+/* $OpenBSD: glxclk.c,v 1.6 2022/04/06 18:59:26 naddy Exp $ */
/*
* Copyright (c) 2013 Paul Irofti.
int glxclk_stat_intr(void *arg);
void glxclk_startclock(struct cpu_info *);
-struct cfattach glxclk_ca = {
+const struct cfattach glxclk_ca = {
sizeof(struct glxclk_softc), glxclk_match, glxclk_attach,
};
-/* $OpenBSD: mcclock_isa.c,v 1.2 2020/05/25 13:16:06 visa Exp $ */
+/* $OpenBSD: mcclock_isa.c,v 1.3 2022/04/06 18:59:26 naddy Exp $ */
/* $NetBSD: mcclock_isa.c,v 1.5 1996/12/05 01:39:29 cgd Exp $ */
/*
int mcclock_isa_match(struct device *, void *, void *);
void mcclock_isa_attach(struct device *, struct device *, void *);
-struct cfattach mcclock_isa_ca = {
+const struct cfattach mcclock_isa_ca = {
sizeof (struct mcclock_isa_softc), mcclock_isa_match,
mcclock_isa_attach,
};
-/* $OpenBSD: ohci_voyager.c,v 1.7 2019/01/07 03:41:06 dlg Exp $ */
+/* $OpenBSD: ohci_voyager.c,v 1.8 2022/04/06 18:59:26 naddy Exp $ */
/* OpenBSD: ohci_pci.c,v 1.33 2008/06/26 05:42:17 ray Exp */
/* $NetBSD: ohci_pci.c,v 1.23 2002/10/02 16:51:47 thorpej Exp $ */
void *sc_ih;
};
-struct cfattach ohci_voyager_ca = {
+const struct cfattach ohci_voyager_ca = {
sizeof(struct ohci_voyager_softc),
ohci_voyager_match, ohci_voyager_attach, NULL, ohci_activate
};
-/* $OpenBSD: i82365_cbus.c,v 1.6 2019/06/30 00:23:22 aoyama Exp $ */
+/* $OpenBSD: i82365_cbus.c,v 1.7 2022/04/06 18:59:26 naddy Exp $ */
/* $NetBSD: i82365_isa.c,v 1.11 1998/06/09 07:25:00 thorpej Exp $ */
/*
.bs_flags = TAG_LITTLE_ENDIAN
};
-struct cfattach pcic_cbus_ca = {
+const struct cfattach pcic_cbus_ca = {
sizeof(struct pcic_softc), pcic_cbus_probe, pcic_cbus_attach
};
-/* $OpenBSD: if_ne_cbus.c,v 1.1 2019/12/30 12:16:12 aoyama Exp $ */
+/* $OpenBSD: if_ne_cbus.c,v 1.2 2022/04/06 18:59:26 naddy Exp $ */
/* $NetBSD: if_ne_isa.c,v 1.6 1998/07/05 06:49:13 jonathan Exp $ */
/*-
void *sc_ih; /* interrupt cookie */
};
-struct cfattach ne_cbus_ca = {
+const struct cfattach ne_cbus_ca = {
sizeof(struct ne_cbus_softc), ne_cbus_match, ne_cbus_attach
};
-/* $OpenBSD: necsb.c,v 1.4 2017/03/16 18:13:43 miod Exp $ */
+/* $OpenBSD: necsb.c,v 1.5 2022/04/06 18:59:26 naddy Exp $ */
/* $NecBSD: nec86_isa.c,v 1.9 1998/09/26 11:31:11 kmatsuda Exp $ */
/* $NetBSD$ */
int necsb_match(struct device *, void *, void *);
void necsb_attach(struct device *, struct device *, void *);
-struct cfattach necsb_ca = {
+const struct cfattach necsb_ca = {
sizeof(struct nec86_softc), necsb_match, necsb_attach
};
-/* $OpenBSD: spc.c,v 1.11 2020/02/05 16:29:29 krw Exp $ */
+/* $OpenBSD: spc.c,v 1.12 2022/04/06 18:59:26 naddy Exp $ */
/* $NetBSD: spc.c,v 1.4 2003/07/05 19:00:17 tsutsui Exp $ */
/*-
int spc_mainbus_match(struct device *, void *, void *);
void spc_mainbus_attach(struct device *, struct device *, void *);
-struct cfattach spc_ca = {
+const struct cfattach spc_ca = {
sizeof(struct spc_softc), spc_mainbus_match, spc_mainbus_attach
};
-/* $OpenBSD: timekeeper.c,v 1.10 2017/11/03 06:54:06 aoyama Exp $ */
+/* $OpenBSD: timekeeper.c,v 1.11 2022/04/06 18:59:26 naddy Exp $ */
/* $NetBSD: timekeeper.c,v 1.1 2000/01/05 08:48:56 nisimura Exp $ */
/*-
int clock_match(struct device *, void *, void *);
void clock_attach(struct device *, struct device *, void *);
-struct cfattach clock_ca = {
+const struct cfattach clock_ca = {
sizeof (struct timekeeper_softc), clock_match, clock_attach
};
-/* $OpenBSD: if_mc.c,v 1.32 2022/02/22 01:15:01 guenther Exp $ */
+/* $OpenBSD: if_mc.c,v 1.33 2022/04/06 18:59:26 naddy Exp $ */
/* $NetBSD: if_mc.c,v 1.9.16.1 2006/06/21 14:53:13 yamt Exp $ */
/*-
int mc_match(struct device *, void *, void *);
void mc_attach(struct device *, struct device *, void *);
-struct cfattach mc_ca = {
+const struct cfattach mc_ca = {
sizeof(struct mc_softc), mc_match, mc_attach
};
-/* $OpenBSD: clock.c,v 1.44 2021/05/01 16:11:11 visa Exp $ */
+/* $OpenBSD: clock.c,v 1.45 2022/04/06 18:59:26 naddy Exp $ */
/*
* Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
NULL, "clock", DV_DULL
};
-struct cfattach clock_ca = {
+const struct cfattach clock_ca = {
sizeof(struct device), clockmatch, clockattach
};
-/* $OpenBSD: cpu.c,v 1.81 2021/11/26 14:45:13 jsg Exp $ */
+/* $OpenBSD: cpu.c,v 1.82 2022/04/06 18:59:26 naddy Exp $ */
/*
* Copyright (c) 1997-2004 Opsycon AB (www.opsycon.se)
int cpu_has_synced_cp0_count;
int cpu_has_userlocal;
-struct cfattach cpu_ca = {
+const struct cfattach cpu_ca = {
sizeof(struct device), cpumatch, cpuattach
};
struct cfdriver cpu_cd = {
-/* $OpenBSD: amdcf.c,v 1.7 2021/01/30 14:59:13 visa Exp $ */
+/* $OpenBSD: amdcf.c,v 1.8 2022/04/06 18:59:26 naddy Exp $ */
/*
* Copyright (c) 2007, Juniper Networks, Inc.
void amdcf_attach(struct device *, struct device *, void *);
int amdcf_detach(struct device *, int);
-struct cfattach amdcf_ca = {
+const struct cfattach amdcf_ca = {
sizeof(struct amdcf_softc), amdcf_match, amdcf_attach, amdcf_detach
};
-/* $OpenBSD: cn30xxgmx.c,v 1.51 2021/03/11 11:16:59 jsg Exp $ */
+/* $OpenBSD: cn30xxgmx.c,v 1.52 2022/04/06 18:59:26 naddy Exp $ */
/*
* Copyright (c) 2007 Internet Initiative Japan, Inc.
[GMX_AGL_PORT] = &cn30xxgmx_port_ops_agl,
};
-struct cfattach octgmx_ca = {sizeof(struct cn30xxgmx_softc),
+const struct cfattach octgmx_ca = {sizeof(struct cn30xxgmx_softc),
cn30xxgmx_match, cn30xxgmx_attach, NULL, NULL};
struct cfdriver octgmx_cd = {NULL, "octgmx", DV_DULL};
-/* $OpenBSD: cn30xxuart.c,v 1.12 2019/09/28 22:20:25 deraadt Exp $ */
+/* $OpenBSD: cn30xxuart.c,v 1.13 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
void cn30xxuart_attach(struct device *, struct device *, void *);
int cn30xxuart_intr(void *);
-struct cfattach octuart_ca = {
+const struct cfattach octuart_ca = {
sizeof(struct com_softc), cn30xxuart_probe, cn30xxuart_attach
};
-/* $OpenBSD: octcf.c,v 1.33 2021/03/11 11:16:59 jsg Exp $ */
+/* $OpenBSD: octcf.c,v 1.34 2022/04/06 18:59:27 naddy Exp $ */
/* $NetBSD: wd.c,v 1.193 1999/02/28 17:15:27 explorer Exp $ */
/*
int octcfactivate(struct device *, int);
int octcfprint(void *, char *);
-struct cfattach octcf_ca = {
+const struct cfattach octcf_ca = {
sizeof(struct octcf_softc), octcfprobe, octcfattach,
octcfdetach, octcfactivate
};
-/* $OpenBSD: octeon_iobus.c,v 1.25 2019/09/15 07:15:14 visa Exp $ */
+/* $OpenBSD: octeon_iobus.c,v 1.26 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2000-2004 Opsycon AB (www.opsycon.se)
bus_addr_t iobus_pa_to_device(paddr_t);
paddr_t iobus_device_to_pa(bus_addr_t);
-struct cfattach iobus_ca = {
+const struct cfattach iobus_ca = {
sizeof(struct device), iobusmatch, iobusattach
};
-/* $OpenBSD: octrng.c,v 1.9 2020/05/29 04:42:24 deraadt Exp $ */
+/* $OpenBSD: octrng.c,v 1.10 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2013 Paul Irofti <paul@irofti.net>
*
bus_space_handle_t sc_ioh;
};
-struct cfattach octrng_ca = {
+const struct cfattach octrng_ca = {
sizeof(struct octrng_softc), octrng_match, octrng_attach
};
-/* $OpenBSD: octrtc.c,v 1.13 2021/01/30 14:59:13 visa Exp $ */
+/* $OpenBSD: octrtc.c,v 1.14 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2013, 2014 Paul Irofti.
int octrtc_write(uint8_t);
-struct cfattach octrtc_ca = {
+const struct cfattach octrtc_ca = {
sizeof(struct octrtc_softc), octrtc_match, octrtc_attach,
};
-/* $OpenBSD: astfb.c,v 1.3 2020/10/30 13:36:45 kettenis Exp $ */
+/* $OpenBSD: astfb.c,v 1.4 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis.
int astfb_match(struct device *, void *, void *);
void astfb_attach(struct device *, struct device *, void *);
-struct cfattach astfb_ca = {
+const struct cfattach astfb_ca = {
sizeof(struct astfb_softc), astfb_match, astfb_attach
};
-/* $OpenBSD: ipmi_opal.c,v 1.2 2022/02/22 13:34:23 visa Exp $ */
+/* $OpenBSD: ipmi_opal.c,v 1.3 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
int ipmi_opal_match(struct device *, void *, void *);
void ipmi_opal_attach(struct device *, struct device *, void *);
-struct cfattach ipmi_opal_ca = {
+const struct cfattach ipmi_opal_ca = {
sizeof (struct ipmi_opal_softc), ipmi_opal_match, ipmi_opal_attach
};
-/* $OpenBSD: mainbus.c,v 1.5 2020/08/26 03:29:06 visa Exp $ */
+/* $OpenBSD: mainbus.c,v 1.6 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2016 Patrick Wildt <patrick@blueri.se>
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
int sc_early_nodes[64];
};
-struct cfattach mainbus_ca = {
+const struct cfattach mainbus_ca = {
sizeof(struct mainbus_softc), mainbus_match, mainbus_attach, NULL,
config_activate_children
};
-/* $OpenBSD: opal.c,v 1.12 2021/01/23 12:10:08 kettenis Exp $ */
+/* $OpenBSD: opal.c,v 1.13 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
int opal_match(struct device *, void *, void *);
void opal_attach(struct device *, struct device *, void *);
-struct cfattach opal_ca = {
+const struct cfattach opal_ca = {
sizeof (struct opal_softc), opal_match, opal_attach
};
-/* $OpenBSD: opalcons.c,v 1.3 2020/10/30 13:26:29 kettenis Exp $ */
+/* $OpenBSD: opalcons.c,v 1.4 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
int opalcons_match(struct device *, void *, void *);
void opalcons_attach(struct device *, struct device *, void *);
-struct cfattach opalcons_ca = {
+const struct cfattach opalcons_ca = {
sizeof (struct opalcons_softc), opalcons_match, opalcons_attach
};
-/* $OpenBSD: opalsens.c,v 1.2 2020/07/15 07:15:00 kettenis Exp $ */
+/* $OpenBSD: opalsens.c,v 1.3 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
int opalsens_match(struct device *, void *, void *);
void opalsens_attach(struct device *, struct device *, void *);
-struct cfattach opalsens_ca = {
+const struct cfattach opalsens_ca = {
sizeof (struct opalsens_softc), opalsens_match, opalsens_attach
};
-/* $OpenBSD: phb.c,v 1.22 2022/02/21 11:15:09 jsg Exp $ */
+/* $OpenBSD: phb.c,v 1.23 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
int phb_match(struct device *, void *, void *);
void phb_attach(struct device *, struct device *, void *);
-struct cfattach phb_ca = {
+const struct cfattach phb_ca = {
sizeof (struct phb_softc), phb_match, phb_attach
};
-/* $OpenBSD: xicp.c,v 1.4 2020/10/01 10:05:09 jsg Exp $ */
+/* $OpenBSD: xicp.c,v 1.5 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
int xicp_match(struct device *, void *, void *);
void xicp_attach(struct device *, struct device *, void *);
-struct cfattach xicp_ca = {
+const struct cfattach xicp_ca = {
sizeof (struct xicp_softc), xicp_match, xicp_attach
};
-/* $OpenBSD: xics.c,v 1.3 2020/09/21 11:14:28 kettenis Exp $ */
+/* $OpenBSD: xics.c,v 1.4 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
int xics_match(struct device *, void *, void *);
void xics_attach(struct device *, struct device *, void *);
-struct cfattach xics_ca = {
+const struct cfattach xics_ca = {
sizeof (struct xics_softc), xics_match, xics_attach
};
-/* $OpenBSD: xive.c,v 1.16 2021/06/02 19:38:14 kettenis Exp $ */
+/* $OpenBSD: xive.c,v 1.17 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
void xive_attach(struct device *, struct device *, void *);
int xive_activate(struct device *, int);
-struct cfattach xive_ca = {
+const struct cfattach xive_ca = {
sizeof (struct xive_softc), xive_match, xive_attach, NULL,
xive_activate
};
-/* $OpenBSD: cpu.c,v 1.23 2021/08/01 17:42:56 kettenis Exp $ */
+/* $OpenBSD: cpu.c,v 1.24 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
int cpu_match(struct device *, void *, void *);
void cpu_attach(struct device *, struct device *, void *);
-struct cfattach cpu_ca = {
+const struct cfattach cpu_ca = {
sizeof(struct device), cpu_match, cpu_attach
};
-/* $OpenBSD: plic.c,v 1.9 2022/01/18 07:44:37 visa Exp $ */
+/* $OpenBSD: plic.c,v 1.10 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2020, Mars Li <mengshi.li.mars@gmail.com>
void plic_intr_disable(int, int);
-struct cfattach plic_ca = {
+const struct cfattach plic_ca = {
sizeof(struct plic_softc), plic_match, plic_attach,
};
-/* $OpenBSD: riscv_cpu_intc.c,v 1.9 2021/06/29 21:27:52 kettenis Exp $ */
+/* $OpenBSD: riscv_cpu_intc.c,v 1.10 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2020, Mars Li <mengshi.li.mars@gmail.com>
void riscv_intc_intr_disestablish(void *);
-struct cfattach intc_ca = {
+const struct cfattach intc_ca = {
sizeof (struct device), riscv_intc_match, riscv_intc_attach
};
-/* $OpenBSD: sfclock.c,v 1.1 2021/06/17 16:10:50 kettenis Exp $ */
+/* $OpenBSD: sfclock.c,v 1.2 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
*
int sfclock_match(struct device *, void *, void *);
void sfclock_attach(struct device *, struct device *, void *);
-struct cfattach sfclock_ca = {
+const struct cfattach sfclock_ca = {
sizeof (struct sfclock_softc), sfclock_match, sfclock_attach
};
-/* $OpenBSD: sfuart.c,v 1.4 2021/08/31 12:24:15 jan Exp $ */
+/* $OpenBSD: sfuart.c,v 1.5 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2019 Mark Kettenis <kettenis@openbsd.org>
*
NULL, "sfuart", DV_TTY
};
-struct cfattach sfuart_ca = {
+const struct cfattach sfuart_ca = {
sizeof(struct sfuart_softc), sfuart_match, sfuart_attach
};
-/* $OpenBSD: simplebus.c,v 1.4 2021/05/14 06:48:52 jsg Exp $ */
+/* $OpenBSD: simplebus.c,v 1.5 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2016 Patrick Wildt <patrick@blueri.se>
int simplebus_dmamap_load_buffer(bus_dma_tag_t, bus_dmamap_t, void *,
bus_size_t, struct proc *, int, paddr_t *, int *, int);
-struct cfattach simplebus_ca = {
+const struct cfattach simplebus_ca = {
sizeof(struct simplebus_softc), simplebus_match, simplebus_attach
};
-/* $OpenBSD: cpu.c,v 1.12 2021/11/26 14:45:13 jsg Exp $ */
+/* $OpenBSD: cpu.c,v 1.13 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2016 Dale Rahn <drahn@dalerahn.com>
int cpu_match(struct device *, void *, void *);
void cpu_attach(struct device *, struct device *, void *);
-struct cfattach cpu_ca = {
+const struct cfattach cpu_ca = {
sizeof(struct device), cpu_match, cpu_attach
};
-/* $OpenBSD: scif.c,v 1.20 2021/01/01 10:21:26 jan Exp $ */
+/* $OpenBSD: scif.c,v 1.21 2022/04/06 18:59:27 naddy Exp $ */
/* $NetBSD: scif.c,v 1.47 2006/07/23 22:06:06 ad Exp $ */
/*-
u_int scif_rbuf_size = SCIF_RING_SIZE;
-struct cfattach scif_ca = {
+const struct cfattach scif_ca = {
sizeof(struct scif_softc), scif_match, scif_attach
};
-/* $OpenBSD: shb.c,v 1.2 2008/06/26 05:42:12 ray Exp $ */
+/* $OpenBSD: shb.c,v 1.3 2022/04/06 18:59:27 naddy Exp $ */
/* $NetBSD: shb.c,v 1.10 2005/12/11 12:18:58 christos Exp $ */
/*-
int shb_print(void *, const char *);
int shb_search(struct device *, void *, void *);
-struct cfattach shb_ca = {
+const struct cfattach shb_ca = {
sizeof(struct device), shb_match, shb_attach
};
-/* $OpenBSD: shpcic.c,v 1.13 2017/06/22 11:34:51 tom Exp $ */
+/* $OpenBSD: shpcic.c,v 1.14 2022/04/06 18:59:27 naddy Exp $ */
/* $NetBSD: shpcic.c,v 1.10 2005/12/24 20:07:32 perry Exp $ */
/*
int shpcic_match(struct device *, void *, void *);
void shpcic_attach(struct device *, struct device *, void *);
-struct cfattach shpcic_ca = {
+const struct cfattach shpcic_ca = {
sizeof(struct shpcic_softc), shpcic_match, shpcic_attach
};
-/* $OpenBSD: cpu.c,v 1.5 2020/09/25 14:42:25 deraadt Exp $ */
+/* $OpenBSD: cpu.c,v 1.6 2022/04/06 18:59:27 naddy Exp $ */
/* $NetBSD: cpu.c,v 1.8 2006/01/02 23:16:20 uwe Exp $ */
/*-
int cpu_match(struct device *, void *, void *);
void cpu_attach(struct device *, struct device *, void *);
-struct cfattach cpu_ca = {
+const struct cfattach cpu_ca = {
sizeof(struct device), cpu_match, cpu_attach
};
-/* $OpenBSD: abl.c,v 1.4 2022/01/09 05:42:37 jsg Exp $ */
+/* $OpenBSD: abl.c,v 1.5 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2020 Marcus Glocker <mglocker@openbsd.org>
int abl_get_param(struct wsdisplay_param *);
int abl_set_param(struct wsdisplay_param *);
-struct cfattach abl_ca = {
+const struct cfattach abl_ca = {
sizeof(struct abl_softc), abl_match, abl_attach, NULL, NULL
};
-/* $OpenBSD: acpiac.c,v 1.35 2022/03/21 13:38:34 kettenis Exp $ */
+/* $OpenBSD: acpiac.c,v 1.36 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
*
void acpiac_refresh(void *);
int acpiac_getpsr(struct acpiac_softc *);
-struct cfattach acpiac_ca = {
+const struct cfattach acpiac_ca = {
sizeof(struct acpiac_softc),
acpiac_match,
acpiac_attach,
-/* $OpenBSD: acpiasus.c,v 1.19 2018/07/01 19:40:49 mlarkin Exp $ */
+/* $OpenBSD: acpiasus.c,v 1.20 2022/04/06 18:59:27 naddy Exp $ */
/* $NetBSD: asus_acpi.c,v 1.2.2.2 2008/04/03 12:42:37 mjf Exp $ */
/*
* Copyright (c) 2007, 2008 Jared D. McNeill <jmcneill@invisible.ca>
extern int wskbd_set_mixervolume(long, long);
#endif
-struct cfattach acpiasus_ca = {
+const struct cfattach acpiasus_ca = {
sizeof(struct acpiasus_softc), acpiasus_match, acpiasus_attach,
NULL, acpiasus_activate
};
-/* $OpenBSD: acpibat.c,v 1.69 2022/02/09 16:10:05 dv Exp $ */
+/* $OpenBSD: acpibat.c,v 1.70 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
*
void acpibat_attach(struct device *, struct device *, void *);
int acpibat_activate(struct device *, int);
-struct cfattach acpibat_ca = {
+const struct cfattach acpibat_ca = {
sizeof(struct acpibat_softc),
acpibat_match,
acpibat_attach,
-/* $OpenBSD: acpibtn.c,v 1.48 2022/02/08 17:25:12 deraadt Exp $ */
+/* $OpenBSD: acpibtn.c,v 1.49 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
*
SLIST_HEAD(acpi_lid_head, acpi_lid) acpibtn_lids =
SLIST_HEAD_INITIALIZER(acpibtn_lids);
-struct cfattach acpibtn_ca = {
+const struct cfattach acpibtn_ca = {
sizeof(struct acpibtn_softc), acpibtn_match, acpibtn_attach, NULL,
acpibtn_activate
};
-/* $OpenBSD: acpicbkbd.c,v 1.2 2016/07/27 02:26:26 jcs Exp $ */
+/* $OpenBSD: acpicbkbd.c,v 1.3 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2016 joshua stein <jcs@openbsd.org>
*
extern int (*wskbd_get_backlight)(struct wskbd_backlight *);
extern int (*wskbd_set_backlight)(struct wskbd_backlight *);
-struct cfattach acpicbkbd_ca = {
+const struct cfattach acpicbkbd_ca = {
sizeof(struct acpicbkbd_softc),
acpicbkbd_match,
acpicbkbd_attach,
-/* $OpenBSD: acpicmos.c,v 1.1 2018/03/27 21:11:16 kettenis Exp $ */
+/* $OpenBSD: acpicmos.c,v 1.2 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis
*
int acpicmos_match(struct device *, void *, void *);
void acpicmos_attach(struct device *, struct device *, void *);
-struct cfattach acpicmos_ca = {
+const struct cfattach acpicmos_ca = {
sizeof(struct acpicmos_softc), acpicmos_match, acpicmos_attach
};
-/* $OpenBSD: acpicpu.c,v 1.91 2022/01/09 05:42:37 jsg Exp $ */
+/* $OpenBSD: acpicpu.c,v 1.92 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
* Copyright (c) 2015 Philip Guenther <guenther@openbsd.org>
struct acpi_cstate *acpicpu_find_cstate(struct acpicpu_softc *, int);
#endif
-struct cfattach acpicpu_ca = {
+const struct cfattach acpicpu_ca = {
sizeof(struct acpicpu_softc), acpicpu_match, acpicpu_attach
};
void acpidmar_attach(struct device *, struct device *, void *);
struct domain *acpidmar_pci_attach(struct acpidmar_softc *, int, int, int);
-struct cfattach acpidmar_ca = {
+const struct cfattach acpidmar_ca = {
sizeof(struct acpidmar_softc), acpidmar_match, acpidmar_attach, NULL,
acpidmar_activate
};
-/* $OpenBSD: acpidock.c,v 1.44 2015/03/14 03:38:46 jsg Exp $ */
+/* $OpenBSD: acpidock.c,v 1.45 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2006,2007 Michael Knudsen <mk@openbsd.org>
*
int acpidock_match(struct device *, void *, void *);
void acpidock_attach(struct device *, struct device *, void *);
-struct cfattach acpidock_ca = {
+const struct cfattach acpidock_ca = {
sizeof(struct acpidock_softc), acpidock_match, acpidock_attach
};
-/* $OpenBSD: acpiec.c,v 1.63 2021/02/23 00:03:01 jsg Exp $ */
+/* $OpenBSD: acpiec.c,v 1.64 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2006 Can Erkin Acar <canacar@openbsd.org>
*
int acpiec_reg(struct acpiec_softc *);
-struct cfattach acpiec_ca = {
+const struct cfattach acpiec_ca = {
sizeof(struct acpiec_softc), acpiec_match, acpiec_attach
};
-/* $OpenBSD: acpige.c,v 1.1 2020/11/15 18:04:10 patrick Exp $ */
+/* $OpenBSD: acpige.c,v 1.2 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2020 Patrick Wildt <patrick@blueri.se>
*
int acpige_intr(void *);
void acpige_event_task(void *, int);
-struct cfattach acpige_ca = {
+const struct cfattach acpige_ca = {
sizeof(struct acpige_softc), acpige_match, acpige_attach
};
-/* $OpenBSD: acpihid.c,v 1.2 2020/06/02 19:26:36 jcs Exp $ */
+/* $OpenBSD: acpihid.c,v 1.3 2022/04/06 18:59:27 naddy Exp $ */
/*
* ACPI HID event and 5-button array driver
*
extern int pwr_action;
-struct cfattach acpihid_ca = {
+const struct cfattach acpihid_ca = {
sizeof(struct acpihid_softc),
acpihid_match,
acpihid_attach,
-/* $OpenBSD: acpihpet.c,v 1.25 2021/02/23 04:44:31 cheloha Exp $ */
+/* $OpenBSD: acpihpet.c,v 1.26 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
struct hpet_regs sc_save;
};
-struct cfattach acpihpet_ca = {
+const struct cfattach acpihpet_ca = {
sizeof(struct acpihpet_softc), acpihpet_match, acpihpet_attach,
NULL, acpihpet_activate
};
-/* $OpenBSD: acpihve.c,v 1.3 2020/05/29 04:42:24 deraadt Exp $ */
+/* $OpenBSD: acpihve.c,v 1.4 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2017 Jonathan Gray <jsg@openbsd.org>
struct device sc_dev;
};
-struct cfattach acpihve_ca = {
+const struct cfattach acpihve_ca = {
sizeof(struct acpihve_softc), acpihve_match, acpihve_attach
};
-/* $OpenBSD: acpimadt.c,v 1.37 2018/06/29 17:39:18 kettenis Exp $ */
+/* $OpenBSD: acpimadt.c,v 1.38 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2006 Mark Kettenis <kettenis@openbsd.org>
*
int acpimadt_match(struct device *, void *, void *);
void acpimadt_attach(struct device *, struct device *, void *);
-struct cfattach acpimadt_ca = {
+const struct cfattach acpimadt_ca = {
sizeof(struct device), acpimadt_match, acpimadt_attach
};
-/* $OpenBSD: acpimcfg.c,v 1.4 2018/08/19 08:23:47 kettenis Exp $ */
+/* $OpenBSD: acpimcfg.c,v 1.5 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2010 Mark Kettenis <kettenis@openbsd.org>
*
int acpimcfg_match(struct device *, void *, void *);
void acpimcfg_attach(struct device *, struct device *, void *);
-struct cfattach acpimcfg_ca = {
+const struct cfattach acpimcfg_ca = {
sizeof(struct device), acpimcfg_match, acpimcfg_attach
};
-/* $OpenBSD: acpiprt.c,v 1.51 2021/03/10 21:49:55 patrick Exp $ */
+/* $OpenBSD: acpiprt.c,v 1.52 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2006 Mark Kettenis <kettenis@openbsd.org>
*
int sc_bus;
};
-struct cfattach acpiprt_ca = {
+const struct cfattach acpiprt_ca = {
sizeof(struct acpiprt_softc), acpiprt_match, acpiprt_attach
};
-/* $OpenBSD: acpipwrres.c,v 1.10 2021/03/10 21:49:55 patrick Exp $ */
+/* $OpenBSD: acpipwrres.c,v 1.11 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2013 Martin Pieuchot <mpi@openbsd.org>
SIMPLEQ_ENTRY(acpipwrres_consumer) cs_next;
};
-struct cfattach acpipwrres_ca = {
+const struct cfattach acpipwrres_ca = {
sizeof(struct acpipwrres_softc), acpipwrres_match, acpipwrres_attach
};
-/* $OpenBSD: acpisony.c,v 1.9 2022/02/08 17:25:12 deraadt Exp $ */
+/* $OpenBSD: acpisony.c,v 1.10 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2010 Paul Irofti <paul@irofti.net>
*
struct aml_node *sc_devnode;
};
-struct cfattach acpisony_ca = {
+const struct cfattach acpisony_ca = {
sizeof(struct acpisony_softc), acpisony_match, acpisony_attach,
NULL, acpisony_activate
};
-/* $OpenBSD: acpisurface.c,v 1.1 2018/06/30 18:15:12 mlarkin Exp $ */
+/* $OpenBSD: acpisurface.c,v 1.2 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2018 Mike Larkin <mlarkin@openbsd.org>
*
extern int wskbd_set_mixervolume(long, long);
#endif
-struct cfattach acpisurface_ca = {
+const struct cfattach acpisurface_ca = {
sizeof(struct acpisurface_softc), surface_match, surface_attach,
NULL, NULL
};
-/* $OpenBSD: acpithinkpad.c,v 1.69 2022/02/08 17:25:12 deraadt Exp $ */
+/* $OpenBSD: acpithinkpad.c,v 1.70 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2008 joshua stein <jcs@openbsd.org>
*
extern int wskbd_set_mixervolume(long, long);
#endif
-struct cfattach acpithinkpad_ca = {
+const struct cfattach acpithinkpad_ca = {
sizeof(struct acpithinkpad_softc), thinkpad_match, thinkpad_attach,
NULL, thinkpad_activate
};
-/* $OpenBSD: acpitimer.c,v 1.14 2021/02/23 04:44:31 cheloha Exp $ */
+/* $OpenBSD: acpitimer.c,v 1.15 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
bus_space_handle_t sc_ioh;
};
-struct cfattach acpitimer_ca = {
+const struct cfattach acpitimer_ca = {
sizeof(struct acpitimer_softc), acpitimermatch, acpitimerattach
};
-/* $OpenBSD: acpitoshiba.c,v 1.15 2022/02/15 21:13:39 kettenis Exp $ */
+/* $OpenBSD: acpitoshiba.c,v 1.16 2022/04/06 18:59:27 naddy Exp $ */
/*-
* Copyright (c) 2003 Hiroyuki Aizu <aizu@navi.org>
* All rights reserved.
int get_param_brightness(struct wsdisplay_param *);
int set_param_brightness(struct wsdisplay_param *);
-struct cfattach acpitoshiba_ca = {
+const struct cfattach acpitoshiba_ca = {
sizeof(struct acpitoshiba_softc), toshiba_match, toshiba_attach
};
-/* $OpenBSD: acpitz.c,v 1.57 2022/02/09 16:03:53 dv Exp $ */
+/* $OpenBSD: acpitz.c,v 1.58 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2006 Can Erkin Acar <canacar@openbsd.org>
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
void acpitz_attach(struct device *, struct device *, void *);
int acpitz_activate(struct device *, int);
-struct cfattach acpitz_ca = {
+const struct cfattach acpitz_ca = {
sizeof(struct acpitz_softc), acpitz_match, acpitz_attach,
NULL, acpitz_activate
};
-/* $OpenBSD: acpivideo.c,v 1.13 2020/04/06 00:01:08 pirofti Exp $ */
+/* $OpenBSD: acpivideo.c,v 1.14 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2008 Federico G. Schwindt <fgsch@openbsd.org>
* Copyright (c) 2009 Paul Irofti <paul@irofti.net>
int acpivideo_getpcibus(struct acpivideo_softc *, struct aml_node *);
-struct cfattach acpivideo_ca = {
+const struct cfattach acpivideo_ca = {
sizeof(struct acpivideo_softc), acpivideo_match, acpivideo_attach
};
-/* $OpenBSD: acpivout.c,v 1.24 2020/09/16 11:52:17 jsg Exp $ */
+/* $OpenBSD: acpivout.c,v 1.25 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2009 Paul Irofti <paul@irofti.net>
*
int acpivout_get_param(struct wsdisplay_param *);
int acpivout_set_param(struct wsdisplay_param *);
-struct cfattach acpivout_ca = {
+const struct cfattach acpivout_ca = {
sizeof(struct acpivout_softc), acpivout_match, acpivout_attach
};
-/* $OpenBSD: ahci_acpi.c,v 1.4 2021/12/21 20:53:46 kettenis Exp $ */
+/* $OpenBSD: ahci_acpi.c,v 1.5 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis
*
int ahci_acpi_match(struct device *, void *, void *);
void ahci_acpi_attach(struct device *, struct device *, void *);
-struct cfattach ahci_acpi_ca = {
+const struct cfattach ahci_acpi_ca = {
sizeof(struct ahci_acpi_softc), ahci_acpi_match, ahci_acpi_attach
};
-/* $OpenBSD: amdgpio.c,v 1.6 2021/12/21 20:53:46 kettenis Exp $ */
+/* $OpenBSD: amdgpio.c,v 1.7 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2016 Mark Kettenis
* Copyright (c) 2019 James Hastings
int amdgpio_match(struct device *, void *, void *);
void amdgpio_attach(struct device *, struct device *, void *);
-struct cfattach amdgpio_ca = {
+const struct cfattach amdgpio_ca = {
sizeof(struct amdgpio_softc), amdgpio_match, amdgpio_attach
};
-/* $OpenBSD: aplgpio.c,v 1.4 2021/12/21 20:53:46 kettenis Exp $ */
+/* $OpenBSD: aplgpio.c,v 1.5 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2016 Mark Kettenis
* Copyright (c) 2019 James Hastings
int aplgpio_match(struct device *, void *, void *);
void aplgpio_attach(struct device *, struct device *, void *);
-struct cfattach aplgpio_ca = {
+const struct cfattach aplgpio_ca = {
sizeof(struct aplgpio_softc), aplgpio_match, aplgpio_attach
};
-/* $OpenBSD: atk0110.c,v 1.18 2022/01/09 05:42:37 jsg Exp $ */
+/* $OpenBSD: atk0110.c,v 1.19 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2009 Constantine A. Murenin <cnst+openbsd@bugmail.mojo.ru>
int aibs_find_cb(struct aml_node *, void *);
-struct cfattach aibs_ca = {
+const struct cfattach aibs_ca = {
sizeof(struct aibs_softc), aibs_match, aibs_attach
};
-/* $OpenBSD: bytgpio.c,v 1.16 2021/12/21 20:53:46 kettenis Exp $ */
+/* $OpenBSD: bytgpio.c,v 1.17 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2016 Mark Kettenis
*
int bytgpio_match(struct device *, void *, void *);
void bytgpio_attach(struct device *, struct device *, void *);
-struct cfattach bytgpio_ca = {
+const struct cfattach bytgpio_ca = {
sizeof(struct bytgpio_softc), bytgpio_match, bytgpio_attach
};
-/* $OpenBSD: ccp_acpi.c,v 1.3 2021/12/21 20:53:46 kettenis Exp $ */
+/* $OpenBSD: ccp_acpi.c,v 1.4 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2019 Mark Kettenis
*
int ccp_acpi_match(struct device *, void *, void *);
void ccp_acpi_attach(struct device *, struct device *, void *);
-struct cfattach ccp_acpi_ca = {
+const struct cfattach ccp_acpi_ca = {
sizeof(struct ccp_acpi_softc), ccp_acpi_match, ccp_acpi_attach
};
-/* $OpenBSD: ccpmic.c,v 1.2 2018/05/21 15:00:25 kettenis Exp $ */
+/* $OpenBSD: ccpmic.c,v 1.3 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
int ccpmic_match(struct device *, void *, void *);
void ccpmic_attach(struct device *, struct device *, void *);
-struct cfattach ccpmic_ca = {
+const struct cfattach ccpmic_ca = {
sizeof(struct ccpmic_softc), ccpmic_match, ccpmic_attach
};
-/* $OpenBSD: chvgpio.c,v 1.11 2021/12/21 20:53:46 kettenis Exp $ */
+/* $OpenBSD: chvgpio.c,v 1.12 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2016 Mark Kettenis
*
int chvgpio_match(struct device *, void *, void *);
void chvgpio_attach(struct device *, struct device *, void *);
-struct cfattach chvgpio_ca = {
+const struct cfattach chvgpio_ca = {
sizeof(struct chvgpio_softc), chvgpio_match, chvgpio_attach
};
-/* $OpenBSD: com_acpi.c,v 1.7 2022/02/15 12:24:55 claudio Exp $ */
+/* $OpenBSD: com_acpi.c,v 1.8 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis
*
int com_acpi_match(struct device *, void *, void *);
void com_acpi_attach(struct device *, struct device *, void *);
-struct cfattach com_acpi_ca = {
+const struct cfattach com_acpi_ca = {
sizeof(struct com_acpi_softc), com_acpi_match, com_acpi_attach,
NULL, com_activate
};
-/* $OpenBSD: dwgpio.c,v 1.6 2022/02/14 02:57:21 jsg Exp $ */
+/* $OpenBSD: dwgpio.c,v 1.7 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis
*
int dwgpio_match(struct device *, void *, void *);
void dwgpio_attach(struct device *, struct device *, void *);
-struct cfattach dwgpio_ca = {
+const struct cfattach dwgpio_ca = {
sizeof(struct dwgpio_softc), dwgpio_match, dwgpio_attach
};
-/* $OpenBSD: dwiic_acpi.c,v 1.18 2021/12/21 20:53:46 kettenis Exp $ */
+/* $OpenBSD: dwiic_acpi.c,v 1.19 2022/04/06 18:59:27 naddy Exp $ */
/*
* Synopsys DesignWare I2C controller
*
void dwiic_acpi_bus_scan(struct device *,
struct i2cbus_attach_args *, void *);
-struct cfattach dwiic_acpi_ca = {
+const struct cfattach dwiic_acpi_ca = {
sizeof(struct dwiic_softc),
dwiic_acpi_match,
dwiic_acpi_attach,
-/* $OpenBSD: ehci_acpi.c,v 1.1 2021/12/29 18:40:19 patrick Exp $ */
+/* $OpenBSD: ehci_acpi.c,v 1.2 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis
*
int ehci_acpi_match(struct device *, void *, void *);
void ehci_acpi_attach(struct device *, struct device *, void *);
-struct cfattach ehci_acpi_ca = {
+const struct cfattach ehci_acpi_ca = {
sizeof(struct ehci_acpi_softc), ehci_acpi_match, ehci_acpi_attach
};
-/* $OpenBSD: glkgpio.c,v 1.4 2021/12/21 20:53:46 kettenis Exp $ */
+/* $OpenBSD: glkgpio.c,v 1.5 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2016 Mark Kettenis
* Copyright (c) 2019 James Hastings
int glkgpio_match(struct device *, void *, void *);
void glkgpio_attach(struct device *, struct device *, void *);
-struct cfattach glkgpio_ca = {
+const struct cfattach glkgpio_ca = {
sizeof(struct glkgpio_softc), glkgpio_match, glkgpio_attach
};
-/* $OpenBSD: if_bse_acpi.c,v 1.5 2021/12/29 17:52:22 patrick Exp $ */
+/* $OpenBSD: if_bse_acpi.c,v 1.6 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis
*
int bse_acpi_match(struct device *, void *, void *);
void bse_acpi_attach(struct device *, struct device *, void *);
-struct cfattach bse_acpi_ca = {
+const struct cfattach bse_acpi_ca = {
sizeof(struct bse_acpi_softc), bse_acpi_match, bse_acpi_attach
};
-/* $OpenBSD: imxiic_acpi.c,v 1.3 2021/12/21 20:53:46 kettenis Exp $ */
+/* $OpenBSD: imxiic_acpi.c,v 1.4 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2015, 2016 joshua stein <jcs@openbsd.org>
* Copyright (c) 2020 Patrick Wildt <patrick@blueri.se>
void *);
int imxiic_acpi_found_hid(struct aml_node *, void *);
-struct cfattach imxiic_acpi_ca = {
+const struct cfattach imxiic_acpi_ca = {
sizeof(struct imxiic_acpi_softc),
imxiic_acpi_match,
imxiic_acpi_attach,
-/* $OpenBSD: ipmi_acpi.c,v 1.4 2020/03/29 09:31:10 kettenis Exp $ */
+/* $OpenBSD: ipmi_acpi.c,v 1.5 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2018 Patrick Wildt <patrick@blueri.se>
*
char sc_iotype;
};
-struct cfattach ipmi_acpi_ca = {
+const struct cfattach ipmi_acpi_ca = {
sizeof(struct ipmi_acpi_softc), ipmi_acpi_match, ipmi_acpi_attach,
};
-/* $OpenBSD: ohci_acpi.c,v 1.1 2021/12/29 18:40:19 patrick Exp $ */
+/* $OpenBSD: ohci_acpi.c,v 1.2 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis
*
int ohci_acpi_match(struct device *, void *, void *);
void ohci_acpi_attach(struct device *, struct device *, void *);
-struct cfattach ohci_acpi_ca = {
+const struct cfattach ohci_acpi_ca = {
sizeof(struct ohci_acpi_softc), ohci_acpi_match, ohci_acpi_attach
};
-/* $OpenBSD: pchgpio.c,v 1.11 2022/03/10 10:30:10 hastings Exp $ */
+/* $OpenBSD: pchgpio.c,v 1.12 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis
* Copyright (c) 2020 James Hastings
void pchgpio_attach(struct device *, struct device *, void *);
int pchgpio_activate(struct device *, int);
-struct cfattach pchgpio_ca = {
+const struct cfattach pchgpio_ca = {
sizeof(struct pchgpio_softc), pchgpio_match, pchgpio_attach,
NULL, pchgpio_activate
};
-/* $OpenBSD: pluart_acpi.c,v 1.7 2022/03/13 21:17:52 kettenis Exp $ */
+/* $OpenBSD: pluart_acpi.c,v 1.8 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis
*
int pluart_acpi_match(struct device *, void *, void *);
void pluart_acpi_attach(struct device *, struct device *, void *);
-struct cfattach pluart_acpi_ca = {
+const struct cfattach pluart_acpi_ca = {
sizeof(struct pluart_acpi_softc), pluart_acpi_match, pluart_acpi_attach
};
-/* $OpenBSD: sdhc_acpi.c,v 1.20 2022/01/18 11:36:21 patrick Exp $ */
+/* $OpenBSD: sdhc_acpi.c,v 1.21 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2016 Mark Kettenis
*
int sdhc_acpi_match(struct device *, void *, void *);
void sdhc_acpi_attach(struct device *, struct device *, void *);
-struct cfattach sdhc_acpi_ca = {
+const struct cfattach sdhc_acpi_ca = {
sizeof(struct sdhc_acpi_softc), sdhc_acpi_match, sdhc_acpi_attach
};
-/* $OpenBSD: tipmic.c,v 1.6 2022/01/09 05:42:37 jsg Exp $ */
+/* $OpenBSD: tipmic.c,v 1.7 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
int tipmic_match(struct device *, void *, void *);
void tipmic_attach(struct device *, struct device *, void *);
-struct cfattach tipmic_ca = {
+const struct cfattach tipmic_ca = {
sizeof(struct tipmic_softc), tipmic_match, tipmic_attach
};
-/* $OpenBSD: tpm.c,v 1.16 2022/04/04 15:46:45 deraadt Exp $ */
+/* $OpenBSD: tpm.c,v 1.17 2022/04/06 18:59:27 naddy Exp $ */
/*
* Minimal interface to Trusted Platform Module chips implementing the
uint32_t tpm2_start_method(struct acpi_softc *);
-struct cfattach tpm_ca = {
+const struct cfattach tpm_ca = {
sizeof(struct tpm_softc),
tpm_match,
tpm_attach,
-/* $OpenBSD: xhci_acpi.c,v 1.5 2021/12/29 17:52:22 patrick Exp $ */
+/* $OpenBSD: xhci_acpi.c,v 1.6 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis
*
int xhci_acpi_match(struct device *, void *, void *);
void xhci_acpi_attach(struct device *, struct device *, void *);
-struct cfattach xhci_acpi_ca = {
+const struct cfattach xhci_acpi_ca = {
sizeof(struct xhci_acpi_softc), xhci_acpi_match, xhci_acpi_attach
};
-/* $OpenBSD: akbd.c,v 1.14 2014/01/26 17:48:08 miod Exp $ */
+/* $OpenBSD: akbd.c,v 1.15 2022/04/06 18:59:27 naddy Exp $ */
/* $NetBSD: akbd.c,v 1.17 2005/01/15 16:00:59 chs Exp $ */
/*
void akbdattach(struct device *, struct device *, void *);
/* Driver definition. */
-struct cfattach akbd_ca = {
+const struct cfattach akbd_ca = {
sizeof(struct akbd_softc), akbdmatch, akbdattach
};
struct cfdriver akbd_cd = {
-/* $OpenBSD: ams.c,v 1.7 2016/06/05 20:02:36 bru Exp $ */
+/* $OpenBSD: ams.c,v 1.8 2022/04/06 18:59:27 naddy Exp $ */
/* $NetBSD: ams.c,v 1.11 2000/12/19 03:13:40 tsubai Exp $ */
/*
void amsattach(struct device *, struct device *, void *);
/* Driver definition. */
-struct cfattach ams_ca = {
+const struct cfattach ams_ca = {
sizeof(struct ams_softc), amsmatch, amsattach
};
/* Driver definition. */
-/* $OpenBSD: wd.c,v 1.128 2022/01/09 05:42:37 jsg Exp $ */
+/* $OpenBSD: wd.c,v 1.129 2022/04/06 18:59:27 naddy Exp $ */
/* $NetBSD: wd.c,v 1.193 1999/02/28 17:15:27 explorer Exp $ */
/*
int wdactivate(struct device *, int);
int wdprint(void *, char *);
-struct cfattach wd_ca = {
+const struct cfattach wd_ca = {
sizeof(struct wd_softc), wdprobe, wdattach,
wddetach, wdactivate
};
-/* $OpenBSD: atapiscsi.c,v 1.118 2022/01/09 05:42:37 jsg Exp $ */
+/* $OpenBSD: atapiscsi.c,v 1.119 2022/04/06 18:59:27 naddy Exp $ */
/*
* This code is derived from code with the copyright below.
/* Initial version shares bus_link structure so it can easily
be "attached to current" wdc driver */
-struct cfattach atapiscsi_ca = {
+const struct cfattach atapiscsi_ca = {
sizeof(struct atapiscsi_softc), atapiscsi_match, atapiscsi_attach,
atapiscsi_detach, atapiscsi_activate
};
-/* $OpenBSD: cardbus.c,v 1.52 2019/11/30 18:19:51 cheloha Exp $ */
+/* $OpenBSD: cardbus.c,v 1.53 2022/04/06 18:59:27 naddy Exp $ */
/* $NetBSD: cardbus.c,v 1.24 2000/04/02 19:11:37 mycroft Exp $ */
/*
STATIC void disable_function(struct cardbus_softc *, int);
-struct cfattach cardbus_ca = {
+const struct cfattach cardbus_ca = {
sizeof(struct cardbus_softc), cardbusmatch, cardbusattach
};
-/* $OpenBSD: cardslot.c,v 1.22 2020/02/18 12:13:39 mpi Exp $ */
+/* $OpenBSD: cardslot.c,v 1.23 2022/04/06 18:59:27 naddy Exp $ */
/* $NetBSD: cardslot.c,v 1.9 2000/03/22 09:35:06 haya Exp $ */
/*
STATIC int cardslot_16_print(void *, const char *);
STATIC int cardslot_16_submatch(struct device *, void *,void *);
-struct cfattach cardslot_ca = {
+const struct cfattach cardslot_ca = {
sizeof(struct cardslot_softc), cardslotmatch, cardslotattach
};
-/* $OpenBSD: com_cardbus.c,v 1.43 2015/11/14 14:47:56 miod Exp $ */
+/* $OpenBSD: com_cardbus.c,v 1.44 2022/04/06 18:59:27 naddy Exp $ */
/* $NetBSD: com_cardbus.c,v 1.4 2000/04/17 09:21:59 joda Exp $ */
/*
int com_cardbus_gofigure(struct cardbus_attach_args *,
struct com_cardbus_softc *);
-struct cfattach com_cardbus_ca = {
+const struct cfattach com_cardbus_ca = {
sizeof(struct com_cardbus_softc), com_cardbus_match,
com_cardbus_attach, com_cardbus_detach, com_activate
};
-/* $OpenBSD: ehci_cardbus.c,v 1.22 2015/11/11 02:29:14 jsg Exp $ */
+/* $OpenBSD: ehci_cardbus.c,v 1.23 2022/04/06 18:59:27 naddy Exp $ */
/* $NetBSD: ehci_cardbus.c,v 1.6.6.3 2004/09/21 13:27:25 skrll Exp $ */
/*
void *sc_ih; /* interrupt vectoring */
};
-struct cfattach ehci_cardbus_ca = {
+const struct cfattach ehci_cardbus_ca = {
sizeof(struct ehci_cardbus_softc), ehci_cardbus_match,
ehci_cardbus_attach, ehci_cardbus_detach, ehci_activate
};
-/* $OpenBSD: if_acx_cardbus.c,v 1.22 2015/11/24 17:11:39 mpi Exp $ */
+/* $OpenBSD: if_acx_cardbus.c,v 1.23 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org>
void acx_cardbus_attach(struct device *, struct device *, void *);
int acx_cardbus_detach(struct device *, int);
-struct cfattach acx_cardbus_ca = {
+const struct cfattach acx_cardbus_ca = {
sizeof (struct acx_cardbus_softc), acx_cardbus_match,
acx_cardbus_attach, acx_cardbus_detach
};
-/* $OpenBSD: if_ath_cardbus.c,v 1.19 2015/11/24 17:11:39 mpi Exp $ */
+/* $OpenBSD: if_ath_cardbus.c,v 1.20 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: if_ath_cardbus.c,v 1.4 2004/08/02 19:14:28 mycroft Exp $ */
/*
void ath_cardbus_attach(struct device *, struct device *, void *);
int ath_cardbus_detach(struct device *, int);
-struct cfattach ath_cardbus_ca = {
+const struct cfattach ath_cardbus_ca = {
sizeof(struct ath_cardbus_softc),
ath_cardbus_match,
ath_cardbus_attach,
-/* $OpenBSD: if_athn_cardbus.c,v 1.16 2021/04/15 18:25:43 stsp Exp $ */
+/* $OpenBSD: if_athn_cardbus.c,v 1.17 2022/04/06 18:59:28 naddy Exp $ */
/*-
* Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr>
void athn_cardbus_write(struct athn_softc *, uint32_t, uint32_t);
void athn_cardbus_write_barrier(struct athn_softc *);
-struct cfattach athn_cardbus_ca = {
+const struct cfattach athn_cardbus_ca = {
sizeof (struct athn_cardbus_softc),
athn_cardbus_match,
athn_cardbus_attach,
-/* $OpenBSD: if_atw_cardbus.c,v 1.24 2015/11/24 17:11:39 mpi Exp $ */
+/* $OpenBSD: if_atw_cardbus.c,v 1.25 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: if_atw_cardbus.c,v 1.9 2004/07/23 07:07:55 dyoung Exp $ */
/*-
void atw_cardbus_attach(struct device *, struct device *, void *);
int atw_cardbus_detach(struct device *, int);
-struct cfattach atw_cardbus_ca = {
+const struct cfattach atw_cardbus_ca = {
sizeof(struct atw_cardbus_softc), atw_cardbus_match, atw_cardbus_attach,
atw_cardbus_detach
};
-/* $OpenBSD: if_bwi_cardbus.c,v 1.15 2013/12/06 21:03:02 deraadt Exp $ */
+/* $OpenBSD: if_bwi_cardbus.c,v 1.16 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org>
void bwi_cardbus_conf_write(void *, uint32_t, uint32_t);
uint32_t bwi_cardbus_conf_read(void *, uint32_t);
-struct cfattach bwi_cardbus_ca = {
+const struct cfattach bwi_cardbus_ca = {
sizeof (struct bwi_cardbus_softc), bwi_cardbus_match,
bwi_cardbus_attach, bwi_cardbus_detach
};
-/* $OpenBSD: if_dc_cardbus.c,v 1.40 2015/11/24 17:11:39 mpi Exp $ */
+/* $OpenBSD: if_dc_cardbus.c,v 1.41 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
void dc_cardbus_setup(struct dc_cardbus_softc *csc);
-struct cfattach dc_cardbus_ca = {
+const struct cfattach dc_cardbus_ca = {
sizeof(struct dc_cardbus_softc), dc_cardbus_match, dc_cardbus_attach,
dc_cardbus_detach, dc_activate
};
-/* $OpenBSD: if_fxp_cardbus.c,v 1.37 2020/01/05 01:07:58 jsg Exp $ */
+/* $OpenBSD: if_fxp_cardbus.c,v 1.38 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: if_fxp_cardbus.c,v 1.12 2000/05/08 18:23:36 thorpej Exp $ */
/*
pci_chipset_tag_t pc;
};
-struct cfattach fxp_cardbus_ca = {
+const struct cfattach fxp_cardbus_ca = {
sizeof(struct fxp_cardbus_softc), fxp_cardbus_match, fxp_cardbus_attach,
fxp_cardbus_detach
};
-/* $OpenBSD: if_malo_cardbus.c,v 1.12 2013/12/06 21:03:02 deraadt Exp $ */
+/* $OpenBSD: if_malo_cardbus.c,v 1.13 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org>
int malo_cardbus_enable(struct malo_softc *sc);
void malo_cardbus_disable(struct malo_softc *sc);
-struct cfattach malo_cardbus_ca = {
+const struct cfattach malo_cardbus_ca = {
sizeof (struct malo_cardbus_softc), malo_cardbus_match,
malo_cardbus_attach, malo_cardbus_detach
};
-/* $OpenBSD: if_pgt_cardbus.c,v 1.18 2015/12/11 16:07:01 mpi Exp $ */
+/* $OpenBSD: if_pgt_cardbus.c,v 1.19 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2006 Marcus Glocker <mglocker@openbsd.org>
void pgt_cardbus_power(struct pgt_softc *, int);
void pgt_cardbus_setup(struct pgt_cardbus_softc *);
-struct cfattach pgt_cardbus_ca = {
+const struct cfattach pgt_cardbus_ca = {
sizeof(struct pgt_cardbus_softc), pgt_cardbus_match, pgt_cardbus_attach,
pgt_cardbus_detach
};
-/* $OpenBSD: if_ral_cardbus.c,v 1.22 2015/11/24 17:11:39 mpi Exp $ */
+/* $OpenBSD: if_ral_cardbus.c,v 1.23 2022/04/06 18:59:28 naddy Exp $ */
/*-
* Copyright (c) 2005-2010 Damien Bergamini <damien.bergamini@free.fr>
int ral_cardbus_detach(struct device *, int);
int ral_cardbus_activate(struct device *, int);
-struct cfattach ral_cardbus_ca = {
+const struct cfattach ral_cardbus_ca = {
sizeof (struct ral_cardbus_softc), ral_cardbus_match,
ral_cardbus_attach, ral_cardbus_detach,
ral_cardbus_activate
-/* $OpenBSD: if_re_cardbus.c,v 1.29 2020/06/17 10:48:44 claudio Exp $ */
+/* $OpenBSD: if_re_cardbus.c,v 1.30 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005 Peter Valchev <pvalchev@openbsd.org>
/*
* Cardbus autoconfig definitions
*/
-struct cfattach re_cardbus_ca = {
+const struct cfattach re_cardbus_ca = {
sizeof(struct re_cardbus_softc),
re_cardbus_probe,
re_cardbus_attach,
-/* $OpenBSD: if_rl_cardbus.c,v 1.31 2020/06/17 10:48:44 claudio Exp $ */
+/* $OpenBSD: if_rl_cardbus.c,v 1.32 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: if_rl_cardbus.c,v 1.3.8.3 2001/11/14 19:14:02 nathanw Exp $ */
/*
static int rl_cardbus_detach(struct device *, int);
void rl_cardbus_setup(struct rl_cardbus_softc *);
-struct cfattach rl_cardbus_ca = {
+const struct cfattach rl_cardbus_ca = {
sizeof(struct rl_cardbus_softc), rl_cardbus_match, rl_cardbus_attach,
rl_cardbus_detach
};
-/* $OpenBSD: if_rtw_cardbus.c,v 1.26 2015/11/24 17:11:39 mpi Exp $ */
+/* $OpenBSD: if_rtw_cardbus.c,v 1.27 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: if_rtw_cardbus.c,v 1.4 2004/12/20 21:05:34 dyoung Exp $ */
/*-
void rtw_cardbus_intr_ack(struct rtw_regs *);
void rtw_cardbus_funcregen(struct rtw_regs *, int);
-struct cfattach rtw_cardbus_ca = {
+const struct cfattach rtw_cardbus_ca = {
sizeof(struct rtw_cardbus_softc), rtw_cardbus_match, rtw_cardbus_attach,
rtw_cardbus_detach
};
-/* $OpenBSD: if_xl_cardbus.c,v 1.33 2015/11/24 17:11:39 mpi Exp $ */
+/* $OpenBSD: if_xl_cardbus.c,v 1.34 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: if_xl_cardbus.c,v 1.13 2000/03/07 00:32:52 mycroft Exp $ */
/*
bus_size_t sc_mapsize; /* size of mapped bus space region */
};
-struct cfattach xl_cardbus_ca = {
+const struct cfattach xl_cardbus_ca = {
sizeof(struct xl_cardbus_softc), xl_cardbus_match,
xl_cardbus_attach, xl_cardbus_detach
};
-/* $OpenBSD: ohci_cardbus.c,v 1.22 2019/01/07 03:41:06 dlg Exp $ */
+/* $OpenBSD: ohci_cardbus.c,v 1.23 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: ohci_cardbus.c,v 1.19 2004/08/02 19:14:28 mycroft Exp $ */
/*
void *sc_ih; /* interrupt vectoring */
};
-struct cfattach ohci_cardbus_ca = {
+const struct cfattach ohci_cardbus_ca = {
sizeof(struct ohci_cardbus_softc), ohci_cardbus_match,
ohci_cardbus_attach, ohci_cardbus_detach, ohci_activate
};
-/* $OpenBSD: puc_cardbus.c,v 1.8 2011/11/15 22:27:53 deraadt Exp $ */
+/* $OpenBSD: puc_cardbus.c,v 1.9 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2006 Michael Shalayeff
void *puc_cardbus_intr_establish(struct puc_attach_args *, int,
int (*)(void *), void *, char *);
-struct cfattach puc_cardbus_ca = {
+const struct cfattach puc_cardbus_ca = {
sizeof(struct puc_cardbus_softc), puc_cardbus_match,
puc_cardbus_attach, puc_cardbus_detach
};
-/* $OpenBSD: uhci_cardbus.c,v 1.15 2015/03/14 03:38:47 jsg Exp $ */
+/* $OpenBSD: uhci_cardbus.c,v 1.16 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
void *sc_ih; /* interrupt vectoring */
};
-struct cfattach uhci_cardbus_ca = {
+const struct cfattach uhci_cardbus_ca = {
sizeof(struct uhci_cardbus_softc), uhci_cardbus_match,
uhci_cardbus_attach, uhci_cardbus_detach, uhci_activate
};
-/* $OpenBSD: ahc_eisa.c,v 1.24 2021/03/07 06:18:48 jsg Exp $ */
+/* $OpenBSD: ahc_eisa.c,v 1.25 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: ahc_eisa.c,v 1.10 1996/10/21 22:30:58 thorpej Exp $ */
/*
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ahc_eisa.c,v 1.24 2021/03/07 06:18:48 jsg Exp $
+ * $Id: ahc_eisa.c,v 1.25 2022/04/06 18:59:28 naddy Exp $
*/
#include <sys/param.h>
void ahc_eisa_attach(struct device *, struct device *, void *);
-struct cfattach ahc_eisa_ca = {
+const struct cfattach ahc_eisa_ca = {
sizeof(struct ahc_softc), ahc_eisa_match, ahc_eisa_attach
};
-/* $OpenBSD: cac_eisa.c,v 1.6 2021/03/07 06:18:48 jsg Exp $ */
+/* $OpenBSD: cac_eisa.c,v 1.7 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: cac_eisa.c,v 1.1 2000/09/01 12:15:20 ad Exp $ */
/*-
int cac_eisa_l0_intr_pending(struct cac_softc *);
void cac_eisa_l0_submit(struct cac_softc *, struct cac_ccb *);
-struct cfattach cac_eisa_ca = {
+const struct cfattach cac_eisa_ca = {
sizeof(struct cac_softc), cac_eisa_match, cac_eisa_attach
};
-/* $OpenBSD: eisa.c,v 1.14 2021/03/07 06:18:48 jsg Exp $ */
+/* $OpenBSD: eisa.c,v 1.15 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: eisa.c,v 1.15 1996/10/21 22:31:01 thorpej Exp $ */
/*
int eisamatch(struct device *, void *, void *);
void eisaattach(struct device *, struct device *, void *);
-struct cfattach eisa_ca = {
+const struct cfattach eisa_ca = {
sizeof(struct device), eisamatch, eisaattach
};
-/* $OpenBSD: if_ep_eisa.c,v 1.27 2021/03/07 06:18:48 jsg Exp $ */
+/* $OpenBSD: if_ep_eisa.c,v 1.28 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: if_ep_eisa.c,v 1.13 1997/04/18 00:50:33 cgd Exp $ */
/*
int ep_eisa_match(struct device *, void *, void *);
void ep_eisa_attach(struct device *, struct device *, void *);
-struct cfattach ep_eisa_ca = {
+const struct cfattach ep_eisa_ca = {
sizeof(struct ep_softc), ep_eisa_match, ep_eisa_attach
};
-/* $OpenBSD: uha_eisa.c,v 1.15 2021/03/07 06:18:48 jsg Exp $ */
+/* $OpenBSD: uha_eisa.c,v 1.16 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: uha_eisa.c,v 1.5 1996/10/21 22:31:07 thorpej Exp $ */
/*
int uha_eisa_match(struct device *, void *, void *);
void uha_eisa_attach(struct device *, struct device *, void *);
-struct cfattach uha_eisa_ca = {
+const struct cfattach uha_eisa_ca = {
sizeof(struct uha_softc), uha_eisa_match, uha_eisa_attach
};
-/* $OpenBSD: amlpwrc.c,v 1.3 2020/12/27 17:59:32 kettenis Exp $ */
+/* $OpenBSD: amlpwrc.c,v 1.4 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
int amlpwrc_match(struct device *, void *, void *);
void amlpwrc_attach(struct device *, struct device *, void *);
-struct cfattach amlpwrc_ca = {
+const struct cfattach amlpwrc_ca = {
sizeof (struct amlpwrc_softc), amlpwrc_match, amlpwrc_attach
};
-/* $OpenBSD: bcm2711_pcie.c,v 1.10 2021/12/06 18:02:58 kettenis Exp $ */
+/* $OpenBSD: bcm2711_pcie.c,v 1.11 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
int bcmpcie_match(struct device *, void *, void *);
void bcmpcie_attach(struct device *, struct device *, void *);
-struct cfattach bcmpcie_ca = {
+const struct cfattach bcmpcie_ca = {
sizeof (struct bcmpcie_softc), bcmpcie_match, bcmpcie_attach
};
-/* $OpenBSD: bcm2711_rng.c,v 1.2 2020/05/29 04:42:25 deraadt Exp $ */
+/* $OpenBSD: bcm2711_rng.c,v 1.3 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
int bcmirng_match(struct device *, void *, void *);
void bcmirng_attach(struct device *, struct device *, void *);
-struct cfattach bcmirng_ca = {
+const struct cfattach bcmirng_ca = {
sizeof (struct bcmirng_softc), bcmirng_match, bcmirng_attach
};
int bcmtmon_match(struct device *, void *, void *);
void bcmtmon_attach(struct device *, struct device *, void *);
-struct cfattach bcmtmon_ca = {
+const struct cfattach bcmtmon_ca = {
sizeof (struct bcmtmon_softc), bcmtmon_match, bcmtmon_attach
};
-/* $OpenBSD: bcm2835_bsc.c,v 1.3 2021/11/21 11:00:40 kettenis Exp $ */
+/* $OpenBSD: bcm2835_bsc.c,v 1.4 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
int bcmbsc_match(struct device *, void *, void *);
void bcmbsc_attach(struct device *, struct device *, void *);
-struct cfattach bcmbsc_ca = {
+const struct cfattach bcmbsc_ca = {
sizeof (struct bcmbsc_softc), bcmbsc_match, bcmbsc_attach
};
-/* $OpenBSD: bcm2835_clock.c,v 1.2 2020/04/19 16:48:39 kettenis Exp $ */
+/* $OpenBSD: bcm2835_clock.c,v 1.3 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Tobias Heider <tobhe@openbsd.org>
int bcmclock_match(struct device *, void *, void *);
void bcmclock_attach(struct device *, struct device *, void *);
-struct cfattach bcmclock_ca = {
+const struct cfattach bcmclock_ca = {
sizeof(struct bcmclock_softc),
bcmclock_match,
bcmclock_attach,
-/* $OpenBSD: bcm2835_dmac.c,v 1.1 2020/04/21 18:56:54 tobhe Exp $ */
+/* $OpenBSD: bcm2835_dmac.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Tobias Heider <tobhe@openbsd.org>
int bcmdmac_match(struct device *, void *, void *);
void bcmdmac_attach(struct device *, struct device *, void *);
-struct cfattach bcmdmac_ca = {
+const struct cfattach bcmdmac_ca = {
sizeof(struct bcmdmac_softc),
bcmdmac_match,
bcmdmac_attach,
-/* $OpenBSD: bcm2835_gpio.c,v 1.4 2020/06/12 13:21:55 kettenis Exp $ */
+/* $OpenBSD: bcm2835_gpio.c,v 1.5 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
int bcmgpio_match(struct device *, void *, void *);
void bcmgpio_attach(struct device *, struct device *, void *);
-struct cfattach bcmgpio_ca = {
+const struct cfattach bcmgpio_ca = {
sizeof (struct bcmgpio_softc), bcmgpio_match, bcmgpio_attach
};
-/* $OpenBSD: bcm2835_mbox.c,v 1.2 2021/05/30 15:05:33 visa Exp $ */
+/* $OpenBSD: bcm2835_mbox.c,v 1.3 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Tobias Heider <tobhe@openbsd.org>
int bcmmbox_match(struct device *, void *, void *);
void bcmmbox_attach(struct device *, struct device *, void *);
-struct cfattach bcmmbox_ca = {
+const struct cfattach bcmmbox_ca = {
sizeof(struct bcmmbox_softc),
bcmmbox_match,
bcmmbox_attach,
-/* $OpenBSD: bcm2835_sdhost.c,v 1.1 2020/04/22 09:48:44 kettenis Exp $ */
+/* $OpenBSD: bcm2835_sdhost.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Tobias Heider <tobhe@openbsd.org>
int bcmsdhost_match(struct device *, void *, void *);
void bcmsdhost_attach(struct device *, struct device *, void *);
-struct cfattach bcmsdhost_ca = {
+const struct cfattach bcmsdhost_ca = {
sizeof(struct bcmsdhost_softc),
bcmsdhost_match,
bcmsdhost_attach
-/* $OpenBSD: bd718x7.c,v 1.3 2020/11/12 10:47:07 patrick Exp $ */
+/* $OpenBSD: bd718x7.c,v 1.4 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2019 Patrick Wildt <patrick@blueri.se>
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
uint8_t bdpmic_reg_read(struct bdpmic_softc *, int);
void bdpmic_reg_write(struct bdpmic_softc *, int, uint8_t);
-struct cfattach bdpmic_ca = {
+const struct cfattach bdpmic_ca = {
sizeof(struct bdpmic_softc), bdpmic_match, bdpmic_attach
};
-/* $OpenBSD: cwfg.c,v 1.6 2021/04/01 12:06:00 kn Exp $ */
+/* $OpenBSD: cwfg.c,v 1.7 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: cwfg.c,v 1.1 2020/01/03 18:00:05 jmcneill Exp $ */
/*-
* Copyright (c) 2020 Jared McNeill <jmcneill@invisible.ca>
int cwfg_write(struct cwfg_softc *, uint8_t, uint8_t);
void cwfg_update_sensors(void *);
-struct cfattach cwfg_ca = {
+const struct cfattach cwfg_ca = {
sizeof(struct cwfg_softc), cwfg_match, cwfg_attach
};
-/* $OpenBSD: dapmic.c,v 1.1 2021/06/16 12:37:24 kettenis Exp $ */
+/* $OpenBSD: dapmic.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
*
int dapmic_match(struct device *, void *, void *);
void dapmic_attach(struct device *, struct device *, void *);
-struct cfattach dapmic_ca = {
+const struct cfattach dapmic_ca = {
sizeof(struct dapmic_softc), dapmic_match, dapmic_attach
};
-/* $OpenBSD: es8316ac.c,v 1.2 2022/03/21 19:22:40 miod Exp $ */
+/* $OpenBSD: es8316ac.c,v 1.3 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: es8316ac.c,v 1.2 2020/01/03 01:00:08 jmcneill Exp $ */
/*-
* Copyright (c) 2020 Jared McNeill <jmcneill@invisible.ca>
.query_devinfo = escodec_query_devinfo,
};
-struct cfattach escodec_ca = {
+const struct cfattach escodec_ca = {
sizeof(struct escodec_softc), escodec_match, escodec_attach
};
-/* $OpenBSD: exuart.c,v 1.9 2021/09/01 09:29:31 jan Exp $ */
+/* $OpenBSD: exuart.c,v 1.10 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005 Dale Rahn <drahn@motorola.com>
*
NULL, "exuart", DV_TTY
};
-struct cfattach exuart_ca = {
+const struct cfattach exuart_ca = {
sizeof(struct exuart_softc), exuart_match, exuart_attach
};
-/* $OpenBSD: gfrtc.c,v 1.1 2021/04/24 05:14:45 jsg Exp $ */
+/* $OpenBSD: gfrtc.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2021 Jonathan Gray <jsg@openbsd.org>
int gfrtc_gettime(struct todr_chip_handle *, struct timeval *);
int gfrtc_settime(struct todr_chip_handle *, struct timeval *);
-struct cfattach gfrtc_ca = {
+const struct cfattach gfrtc_ca = {
sizeof(struct gfrtc_softc), gfrtc_match, gfrtc_attach
};
-/* $OpenBSD: gpiocharger.c,v 1.1 2021/09/25 18:40:08 kn Exp $ */
+/* $OpenBSD: gpiocharger.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2021 Klemens Nanni <kn@openbsd.org>
*
int gpiocharger_match(struct device *, void *, void *);
void gpiocharger_attach(struct device *, struct device *, void *);
-struct cfattach gpiocharger_ca = {
+const struct cfattach gpiocharger_ca = {
sizeof (struct gpiocharger_softc), gpiocharger_match, gpiocharger_attach
};
-/* $OpenBSD: gpioleds.c,v 1.3 2021/11/07 16:43:12 kn Exp $ */
+/* $OpenBSD: gpioleds.c,v 1.4 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2021 Klemens Nanni <kn@openbsd.org>
*
int gpioleds_match(struct device *, void *, void *);
void gpioleds_attach(struct device *, struct device *, void *);
-struct cfattach gpioleds_ca = {
+const struct cfattach gpioleds_ca = {
sizeof (struct gpioleds_softc), gpioleds_match, gpioleds_attach
};
-/* $OpenBSD: graphaudio.c,v 1.3 2022/03/21 19:22:40 miod Exp $ */
+/* $OpenBSD: graphaudio.c,v 1.4 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Patrick Wildt <patrick@blueri.se>
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
.halt_input = graphaudio_halt_input,
};
-struct cfattach graphaudio_ca = {
+const struct cfattach graphaudio_ca = {
sizeof(struct graphaudio_softc), graphaudio_match, graphaudio_attach
};
-/* $OpenBSD: if_bse_fdt.c,v 1.1 2020/04/18 07:55:06 kettenis Exp $ */
+/* $OpenBSD: if_bse_fdt.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
int bse_fdt_match(struct device *, void *, void *);
void bse_fdt_attach(struct device *, struct device *, void *);
-struct cfattach bse_fdt_ca = {
+const struct cfattach bse_fdt_ca = {
sizeof (struct genet_softc), bse_fdt_match, bse_fdt_attach
};
-/* $OpenBSD: if_mvpp.c,v 1.48 2021/07/07 21:21:48 patrick Exp $ */
+/* $OpenBSD: if_mvpp.c,v 1.49 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2008, 2019 Mark Kettenis <kettenis@openbsd.org>
* Copyright (c) 2017, 2020 Patrick Wildt <patrick@blueri.se>
void mvpp2_attach(struct device *, struct device *, void *);
void mvpp2_attach_deferred(struct device *);
-struct cfattach mvppc_ca = {
+const struct cfattach mvppc_ca = {
sizeof(struct mvpp2_softc), mvpp2_match, mvpp2_attach
};
int mvpp2_port_match(struct device *, void *, void *);
void mvpp2_port_attach(struct device *, struct device *, void *);
-struct cfattach mvpp_ca = {
+const struct cfattach mvpp_ca = {
sizeof(struct mvpp2_port), mvpp2_port_match, mvpp2_port_attach
};
-/* $OpenBSD: iicmux.c,v 1.1 2021/11/21 11:02:21 kettenis Exp $ */
+/* $OpenBSD: iicmux.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
*
int iicmux_match(struct device *, void *, void *);
void iicmux_attach(struct device *, struct device *, void *);
-struct cfattach iicmux_ca = {
+const struct cfattach iicmux_ca = {
sizeof(struct iicmux_softc), iicmux_match, iicmux_attach
};
-/* $OpenBSD: imxdog.c,v 1.3 2021/05/28 13:08:37 patrick Exp $ */
+/* $OpenBSD: imxdog.c,v 1.4 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2012-2013,2021 Patrick Wildt <patrick@blueri.se>
*
void imxdog_reset(void);
void imxdog_timeout(void *);
-struct cfattach imxdog_ca = {
+const struct cfattach imxdog_ca = {
sizeof (struct imxdog_softc), imxdog_match, imxdog_attach
};
-/* $OpenBSD: imxdwusb.c,v 1.4 2020/12/19 01:21:35 patrick Exp $ */
+/* $OpenBSD: imxdwusb.c,v 1.5 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2017, 2018 Mark Kettenis <kettenis@openbsd.org>
* Copyright (c) 2020 Patrick Wildt <patrick@blueri.se>
int imxdwusb_match(struct device *, void *, void *);
void imxdwusb_attach(struct device *, struct device *, void *);
-struct cfattach imxdwusb_ca = {
+const struct cfattach imxdwusb_ca = {
sizeof(struct imxdwusb_softc), imxdwusb_match, imxdwusb_attach
};
-/* $OpenBSD: imxehci.c,v 1.5 2021/11/05 09:36:30 patrick Exp $ */
+/* $OpenBSD: imxehci.c,v 1.6 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se>
*
uint32_t sc_unit;
};
-struct cfattach imxehci_ca = {
+const struct cfattach imxehci_ca = {
sizeof (struct imxehci_softc), imxehci_match, imxehci_attach,
imxehci_detach
};
-/* $OpenBSD: imxiic_fdt.c,v 1.2 2021/03/11 09:15:25 patrick Exp $ */
+/* $OpenBSD: imxiic_fdt.c,v 1.3 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2013 Patrick Wildt <patrick@blueri.se>
*
void imxiic_fdt_bus_scan(struct device *, struct i2cbus_attach_args *, void *);
-struct cfattach imxiic_fdt_ca = {
+const struct cfattach imxiic_fdt_ca = {
sizeof(struct imxiic_fdt_softc), imxiic_fdt_match, imxiic_fdt_attach
};
-/* $OpenBSD: imxpciephy.c,v 1.1 2020/04/26 15:03:04 patrick Exp $ */
+/* $OpenBSD: imxpciephy.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Patrick Wildt <patrick@blueri.se>
*
int imxpciephy_match(struct device *, void *, void *);
void imxpciephy_attach(struct device *, struct device *, void *);
-struct cfattach imxpciephy_ca = {
+const struct cfattach imxpciephy_ca = {
sizeof(struct imxpciephy_softc), imxpciephy_match, imxpciephy_attach
};
-/* $OpenBSD: imxpwm.c,v 1.1 2020/03/27 16:53:06 patrick Exp $ */
+/* $OpenBSD: imxpwm.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2018-2020 Patrick Wildt <patrick@blueri.se>
*
int imxpwm_match(struct device *, void *, void *);
void imxpwm_attach(struct device *, struct device *, void *);
-struct cfattach imxpwm_ca = {
+const struct cfattach imxpwm_ca = {
sizeof(struct imxpwm_softc), imxpwm_match, imxpwm_attach
};
-/* $OpenBSD: ipmi_fdt.c,v 1.1 2020/03/29 09:31:11 kettenis Exp $ */
+/* $OpenBSD: ipmi_fdt.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
int ipmi_fdt_match(struct device *, void *, void *);
void ipmi_fdt_attach(struct device *, struct device *, void *);
-struct cfattach ipmi_fdt_ca = {
+const struct cfattach ipmi_fdt_ca = {
sizeof (struct ipmi_softc), ipmi_fdt_match, ipmi_fdt_attach
};
-/* $OpenBSD: mvkpcie.c,v 1.12 2022/02/08 09:41:04 jsg Exp $ */
+/* $OpenBSD: mvkpcie.c,v 1.13 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
* Copyright (c) 2020 Patrick Wildt <patrick@blueri.se>
int mvkpcie_match(struct device *, void *, void *);
void mvkpcie_attach(struct device *, struct device *, void *);
-struct cfattach mvkpcie_ca = {
+const struct cfattach mvkpcie_ca = {
sizeof (struct mvkpcie_softc), mvkpcie_match, mvkpcie_attach
};
-/* $OpenBSD: mvsw.c,v 1.4 2021/09/06 19:55:27 patrick Exp $ */
+/* $OpenBSD: mvsw.c,v 1.5 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
int mvsw_match(struct device *, void *, void *);
void mvsw_attach(struct device *, struct device *, void *);
-struct cfattach mvsw_ca = {
+const struct cfattach mvsw_ca = {
sizeof (struct mvsw_softc), mvsw_match, mvsw_attach
};
-/* $OpenBSD: ociic.c,v 1.2 2021/06/23 13:39:12 kettenis Exp $ */
+/* $OpenBSD: ociic.c,v 1.3 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
*
int ociic_match(struct device *, void *, void *);
void ociic_attach(struct device *, struct device *, void *);
-struct cfattach ociic_ca = {
+const struct cfattach ociic_ca = {
sizeof (struct ociic_softc), ociic_match, ociic_attach
};
-/* $OpenBSD: pciecam.c,v 1.3 2021/06/25 17:41:22 patrick Exp $ */
+/* $OpenBSD: pciecam.c,v 1.4 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2013,2017 Patrick Wildt <patrick@blueri.se>
*
.ic_barrier = intr_barrier
};
-struct cfattach pciecam_ca = {
+const struct cfattach pciecam_ca = {
sizeof (struct pciecam_softc), pciecam_match, pciecam_attach
};
-/* $OpenBSD: rkanxdp.c,v 1.4 2020/06/08 04:47:58 jsg Exp $ */
+/* $OpenBSD: rkanxdp.c,v 1.5 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: rk_anxdp.c,v 1.2 2020/01/04 12:08:32 jmcneill Exp $ */
/*-
* Copyright (c) 2019 Jonathan A. Kollasch <jakllsch@kollasch.net>
int rkanxdp_ep_activate(void *, struct endpoint *, void *);
void *rkanxdp_ep_get_cookie(void *, struct endpoint *);
-struct cfattach rkanxdp_ca = {
+const struct cfattach rkanxdp_ca = {
sizeof (struct rkanxdp_softc), rkanxdp_match, rkanxdp_attach
};
-/* $OpenBSD: rkdrm.c,v 1.12 2022/01/14 06:52:58 jsg Exp $ */
+/* $OpenBSD: rkdrm.c,v 1.13 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: rk_drm.c,v 1.3 2019/12/15 01:00:58 mrg Exp $ */
/*-
* Copyright (c) 2019 Jared D. McNeill <jmcneill@invisible.ca>
.free = drm_gem_cma_free_object,
};
-struct cfattach rkdrm_ca = {
+const struct cfattach rkdrm_ca = {
sizeof (struct rkdrm_softc), rkdrm_match, rkdrm_attach
};
-/* $OpenBSD: rkdwhdmi.c,v 1.5 2020/06/30 02:19:11 deraadt Exp $ */
+/* $OpenBSD: rkdwhdmi.c,v 1.6 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: rk_dwhdmi.c,v 1.4 2019/12/17 18:26:36 jakllsch Exp $ */
/*-
enum drm_mode_status rkdwhdmi_mode_valid(struct dwhdmi_softc *,
const struct drm_display_mode *);
-struct cfattach rkdwhdmi_ca = {
+const struct cfattach rkdwhdmi_ca = {
sizeof (struct rkdwhdmi_softc), rkdwhdmi_match, rkdwhdmi_attach
};
-/* $OpenBSD: rkiis.c,v 1.2 2022/03/21 19:22:40 miod Exp $ */
+/* $OpenBSD: rkiis.c,v 1.3 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: rk_i2s.c,v 1.3 2020/02/29 05:51:10 isaki Exp $ */
/*-
* Copyright (c) 2019 Jared McNeill <jmcneill@invisible.ca>
.halt_input = rkiis_halt_input,
};
-struct cfattach rkiis_ca = {
+const struct cfattach rkiis_ca = {
sizeof (struct rkiis_softc), rkiis_match, rkiis_attach
};
-/* $OpenBSD: rkrng.c,v 1.3 2020/05/29 04:42:25 deraadt Exp $ */
+/* $OpenBSD: rkrng.c,v 1.4 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
int rkrng_match(struct device *, void *, void *);
void rkrng_attach(struct device *, struct device *, void *);
-struct cfattach rkrng_ca = {
+const struct cfattach rkrng_ca = {
sizeof (struct rkrng_softc), rkrng_match, rkrng_attach
};
-/* $OpenBSD: rktcphy.c,v 1.1 2021/06/29 12:43:09 patrick Exp $ */
+/* $OpenBSD: rktcphy.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
void rktcphy_set_usb2_only(struct rktcphy_softc *, int);
int rktcphy_enable(void *, uint32_t *);
-struct cfattach rktcphy_ca = {
+const struct cfattach rktcphy_ca = {
sizeof (struct rktcphy_softc), rktcphy_match, rktcphy_attach
};
-/* $OpenBSD: rkvop.c,v 1.5 2022/01/14 06:52:58 jsg Exp $ */
+/* $OpenBSD: rkvop.c,v 1.6 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: rk_vop.c,v 1.6 2020/01/05 12:14:35 mrg Exp $ */
/*-
* Copyright (c) 2019 Jared D. McNeill <jmcneill@invisible.ca>
.set_polarity = rk3399_vop_set_polarity,
};
-struct cfattach rkvop_ca = {
+const struct cfattach rkvop_ca = {
sizeof (struct rkvop_softc), rkvop_match, rkvop_attach
};
-/* $OpenBSD: simpleamp.c,v 1.3 2022/03/21 19:22:40 miod Exp $ */
+/* $OpenBSD: simpleamp.c,v 1.4 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Patrick Wildt <patrick@blueri.se>
*
.close = simpleamp_close,
};
-struct cfattach simpleamp_ca = {
+const struct cfattach simpleamp_ca = {
sizeof(struct simpleamp_softc), simpleamp_match, simpleamp_attach
};
-/* $OpenBSD: simpleaudio.c,v 1.4 2022/03/21 19:22:40 miod Exp $ */
+/* $OpenBSD: simpleaudio.c,v 1.5 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Patrick Wildt <patrick@blueri.se>
*
.halt_input = simpleaudio_halt_input,
};
-struct cfattach simpleaudio_ca = {
+const struct cfattach simpleaudio_ca = {
sizeof(struct simpleaudio_softc), simpleaudio_match, simpleaudio_attach
};
-/* $OpenBSD: tcpci.c,v 1.2 2021/02/05 00:42:25 patrick Exp $ */
+/* $OpenBSD: tcpci.c,v 1.3 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2018 Patrick Wildt <patrick@blueri.se>
*
void tcpci_write_reg8(struct tcpci_softc *, uint8_t, uint8_t);
uint8_t tcpci_read_reg8(struct tcpci_softc *, uint8_t);
-struct cfattach tcpci_ca = {
+const struct cfattach tcpci_ca = {
sizeof(struct tcpci_softc),
tcpci_match,
tcpci_attach,
-/* $OpenBSD: gpio.c,v 1.15 2017/08/18 12:15:35 jsg Exp $ */
+/* $OpenBSD: gpio.c,v 1.16 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2008 Marc Balmer <mbalmer@openbsd.org>
int gpio_print(void *, const char *);
int gpio_pinbyname(struct gpio_softc *, char *gp_name);
-struct cfattach gpio_ca = {
+const struct cfattach gpio_ca = {
sizeof (struct gpio_softc),
gpio_match,
gpio_attach,
-/* $OpenBSD: gpioiic.c,v 1.10 2013/04/19 23:44:34 miod Exp $ */
+/* $OpenBSD: gpioiic.c,v 1.11 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org>
void gpioiic_bb_set_dir(void *, u_int32_t);
u_int32_t gpioiic_bb_read_bits(void *);
-struct cfattach gpioiic_ca = {
+const struct cfattach gpioiic_ca = {
sizeof(struct gpioiic_softc),
gpioiic_match,
gpioiic_attach,
-/* $OpenBSD: gpioow.c,v 1.5 2011/07/03 15:47:16 matthew Exp $ */
+/* $OpenBSD: gpioow.c,v 1.6 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org>
int gpioow_bb_get(void *);
void gpioow_bb_set(void *, int);
-struct cfattach gpioow_ca = {
+const struct cfattach gpioow_ca = {
sizeof(struct gpioow_softc),
gpioow_match,
gpioow_attach,
-/* $OpenBSD: gpiosim.c,v 1.1 2008/11/23 18:46:49 mbalmer Exp $ */
+/* $OpenBSD: gpiosim.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2007 Marc Balmer <mbalmer@openbsd.org>
void gpiosim_pin_write(void *, int, int);
void gpiosim_pin_ctl(void *, int, int);
-struct cfattach gpiosim_ca = {
+const struct cfattach gpiosim_ca = {
sizeof(struct gpiosim_softc), gpiosim_match, gpiosim_attach
};
-/* $OpenBSD: hilid.c,v 1.4 2005/01/09 23:49:36 miod Exp $ */
+/* $OpenBSD: hilid.c,v 1.5 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2003, Miodrag Vallat.
* All rights reserved.
NULL, "hilid", DV_DULL
};
-struct cfattach hilid_ca = {
+const struct cfattach hilid_ca = {
sizeof(struct hilid_softc), hilidprobe, hilidattach, hiliddetach,
};
-/* $OpenBSD: hilkbd.c,v 1.17 2017/03/11 11:55:03 mpi Exp $ */
+/* $OpenBSD: hilkbd.c,v 1.18 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2003, Miodrag Vallat.
* All rights reserved.
NULL, "hilkbd", DV_DULL
};
-struct cfattach hilkbd_ca = {
+const struct cfattach hilkbd_ca = {
sizeof(struct hilkbd_softc), hilkbdprobe, hilkbdattach, hilkbddetach,
};
-/* $OpenBSD: hilms.c,v 1.6 2016/06/05 20:15:54 bru Exp $ */
+/* $OpenBSD: hilms.c,v 1.7 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2003, Miodrag Vallat.
* All rights reserved.
NULL, "hilms", DV_DULL
};
-struct cfattach hilms_ca = {
+const struct cfattach hilms_ca = {
sizeof(struct hilms_softc), hilmsprobe, hilmsattach, hilmsdetach,
};
-/* $OpenBSD: abx80x.c,v 1.6 2020/04/29 19:18:31 patrick Exp $ */
+/* $OpenBSD: abx80x.c,v 1.7 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
* Copyright (c) 2018 Patrick Wildt <patrick@blueri.se>
int abcrtc_match(struct device *, void *, void *);
void abcrtc_attach(struct device *, struct device *, void *);
-struct cfattach abcrtc_ca = {
+const struct cfattach abcrtc_ca = {
sizeof(struct abcrtc_softc), abcrtc_match, abcrtc_attach
};
-/* $OpenBSD: ad741x.c,v 1.14 2008/04/17 19:01:48 deraadt Exp $ */
+/* $OpenBSD: ad741x.c,v 1.15 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005 Theo de Raadt
void adc_attach(struct device *, struct device *, void *);
void adc_refresh(void *);
-struct cfattach adc_ca = {
+const struct cfattach adc_ca = {
sizeof(struct adc_softc), adc_match, adc_attach
};
-/* $OpenBSD: adm1021.c,v 1.28 2011/03/10 23:14:30 deraadt Exp $ */
+/* $OpenBSD: adm1021.c,v 1.29 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005 Theo de Raadt
void admtemp_attach(struct device *, struct device *, void *);
void admtemp_refresh(void *);
-struct cfattach admtemp_ca = {
+const struct cfattach admtemp_ca = {
sizeof(struct admtemp_softc), admtemp_match, admtemp_attach
};
-/* $OpenBSD: adm1024.c,v 1.14 2007/06/24 05:34:35 dlg Exp $ */
+/* $OpenBSD: adm1024.c,v 1.15 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005 Theo de Raadt
void admlc_attach(struct device *, struct device *, void *);
void admlc_refresh(void *);
-struct cfattach admlc_ca = {
+const struct cfattach admlc_ca = {
sizeof(struct admlc_softc), admlc_match, admlc_attach
};
-/* $OpenBSD: adm1025.c,v 1.25 2007/06/24 05:34:35 dlg Exp $ */
+/* $OpenBSD: adm1025.c,v 1.26 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005 Theo de Raadt
void admtm_attach(struct device *, struct device *, void *);
void admtm_refresh(void *);
-struct cfattach admtm_ca = {
+const struct cfattach admtm_ca = {
sizeof(struct admtm_softc), admtm_match, admtm_attach
};
-/* $OpenBSD: adm1026.c,v 1.11 2008/06/09 16:21:33 cnst Exp $ */
+/* $OpenBSD: adm1026.c,v 1.12 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005 Theo de Raadt
void admcts_attach(struct device *, struct device *, void *);
void admcts_refresh(void *);
-struct cfattach admcts_ca = {
+const struct cfattach admcts_ca = {
sizeof(struct admcts_softc), admcts_match, admcts_attach
};
-/* $OpenBSD: adm1030.c,v 1.9 2008/05/01 23:02:05 deraadt Exp $ */
+/* $OpenBSD: adm1030.c,v 1.10 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005 Theo de Raadt
void admtmp_attach(struct device *, struct device *, void *);
void admtmp_refresh(void *);
-struct cfattach admtmp_ca = {
+const struct cfattach admtmp_ca = {
sizeof(struct admtmp_softc), admtmp_match, admtmp_attach
};
-/* $OpenBSD: adm1031.c,v 1.8 2007/06/24 05:34:35 dlg Exp $ */
+/* $OpenBSD: adm1031.c,v 1.9 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005 Theo de Raadt
void admtt_attach(struct device *, struct device *, void *);
void admtt_refresh(void *);
-struct cfattach admtt_ca = {
+const struct cfattach admtt_ca = {
sizeof(struct admtt_softc), admtt_match, admtt_attach
};
-/* $OpenBSD: adt7460.c,v 1.21 2007/12/12 16:56:59 deraadt Exp $ */
+/* $OpenBSD: adt7460.c,v 1.22 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005 Mark Kettenis
void adt_refresh(void *);
-struct cfattach adt_ca = {
+const struct cfattach adt_ca = {
sizeof(struct adt_softc), adt_match, adt_attach
};
-/* $OpenBSD: adt7462.c,v 1.6 2008/04/23 11:11:14 deraadt Exp $ */
+/* $OpenBSD: adt7462.c,v 1.7 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2008 Theo de Raadt
void adtfsm_attach(struct device *, struct device *, void *);
void adtfsm_refresh(void *);
-struct cfattach adtfsm_ca = {
+const struct cfattach adtfsm_ca = {
sizeof(struct adtfsm_softc), adtfsm_match, adtfsm_attach
};
-/* $OpenBSD: asb100.c,v 1.11 2008/04/17 19:01:48 deraadt Exp $ */
+/* $OpenBSD: asb100.c,v 1.12 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005 Damien Miller <djm@openbsd.org>
void asbtm_attach(struct device *, struct device *, void *);
void asbtm_refresh(void *);
-struct cfattach asbtm_ca = {
+const struct cfattach asbtm_ca = {
sizeof(struct asbtm_softc), asbtm_match, asbtm_attach
};
-/* $OpenBSD: asc7611.c,v 1.2 2009/01/26 15:07:49 kettenis Exp $ */
+/* $OpenBSD: asc7611.c,v 1.3 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2008 Constantine A. Murenin <cnst+openbsd@bugmail.mojo.ru>
void andl_writereg(struct andl_softc *, uint8_t, uint8_t);
-struct cfattach andl_ca = {
+const struct cfattach andl_ca = {
sizeof(struct andl_softc), andl_match, andl_attach
};
-/* $OpenBSD: asc7621.c,v 1.4 2007/10/31 20:46:17 cnst Exp $ */
+/* $OpenBSD: asc7621.c,v 1.5 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2007 Mike Belopuhov
void adl_refresh(void *);
-struct cfattach adl_ca = {
+const struct cfattach adl_ca = {
sizeof(struct adl_softc), adl_match, adl_attach
};
-/* $OpenBSD: bmc150.c,v 1.1 2017/11/30 14:53:21 kettenis Exp $ */
+/* $OpenBSD: bmc150.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis
int bgw_match(struct device *, void *, void *);
void bgw_attach(struct device *, struct device *, void *);
-struct cfattach bgw_ca = {
+const struct cfattach bgw_ca = {
sizeof(struct bgw_softc), bgw_match, bgw_attach
};
-/* $OpenBSD: ds1307.c,v 1.4 2022/01/09 05:42:37 jsg Exp $ */
+/* $OpenBSD: ds1307.c,v 1.5 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2016 Marcus Glocker <mglocker@openbsd.org>
/*
* Driver glue structures.
*/
-struct cfattach maxrtc_ca = {
+const struct cfattach maxrtc_ca = {
sizeof(struct maxrtc_softc), maxrtc_match, maxrtc_attach
};
-/* $OpenBSD: ds1631.c,v 1.12 2016/05/12 21:00:23 kettenis Exp $ */
+/* $OpenBSD: ds1631.c,v 1.13 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005 Theo de Raadt
void maxds_attach(struct device *, struct device *, void *);
void maxds_refresh(void *);
-struct cfattach maxds_ca = {
+const struct cfattach maxds_ca = {
sizeof(struct maxds_softc), maxds_match, maxds_attach
};
-/* $OpenBSD: ds3231.c,v 1.1 2020/04/25 15:10:52 kettenis Exp $ */
+/* $OpenBSD: ds3231.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
int dsxrtc_match(struct device *, void *, void *);
void dsxrtc_attach(struct device *, struct device *, void *);
-struct cfattach dsxrtc_ca = {
+const struct cfattach dsxrtc_ca = {
sizeof(struct dsxrtc_softc), dsxrtc_match, dsxrtc_attach
};
-/* $OpenBSD: fcu.c,v 1.7 2007/06/24 05:34:35 dlg Exp $ */
+/* $OpenBSD: fcu.c,v 1.8 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005 Mark Kettenis
void fcu_refresh(void *);
-struct cfattach fcu_ca = {
+const struct cfattach fcu_ca = {
sizeof(struct fcu_softc), fcu_match, fcu_attach
};
-/* $OpenBSD: fintek.c,v 1.8 2014/10/12 19:40:22 miod Exp $ */
+/* $OpenBSD: fintek.c,v 1.9 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2006 Dale Rahn <drahn@openbsd.org>
*
size_t size);
void fintek_fullspeed(struct fintek_softc *sc);
-struct cfattach fintek_ca = {
+const struct cfattach fintek_ca = {
sizeof(struct fintek_softc), fintek_match, fintek_attach
};
-/* $OpenBSD: gl518sm.c,v 1.6 2007/06/24 05:34:35 dlg Exp $ */
+/* $OpenBSD: gl518sm.c,v 1.7 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2006 Mark Kettenis
void glenv_refresh(void *);
-struct cfattach glenv_ca = {
+const struct cfattach glenv_ca = {
sizeof(struct glenv_softc), glenv_match, glenv_attach
};
-/* $OpenBSD: i2c.c,v 1.18 2022/02/09 07:58:24 visa Exp $ */
+/* $OpenBSD: i2c.c,v 1.19 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: i2c.c,v 1.1 2003/09/30 00:35:31 thorpej Exp $ */
/*
void iic_attach(struct device *, struct device *, void *);
int iic_search(struct device *, void *, void *);
-struct cfattach iic_ca = {
+const struct cfattach iic_ca = {
sizeof (struct iic_softc),
iic_match,
iic_attach
-/* $OpenBSD: iatp.c,v 1.8 2020/08/26 03:29:06 visa Exp $ */
+/* $OpenBSD: iatp.c,v 1.9 2022/04/06 18:59:28 naddy Exp $ */
/*
* Atmel maXTouch i2c touchscreen/touchpad driver
* Copyright (c) 2016 joshua stein <jcs@openbsd.org>
iatp_disable,
};
-struct cfattach iatp_ca = {
+const struct cfattach iatp_ca = {
sizeof(struct iatp_softc),
iatp_match,
iatp_attach,
-/* $OpenBSD: ihidev.c,v 1.25 2022/01/09 05:42:37 jsg Exp $ */
+/* $OpenBSD: ihidev.c,v 1.26 2022/04/06 18:59:28 naddy Exp $ */
/*
* HID-over-i2c driver
*
int ihidev_print(void *aux, const char *pnp);
int ihidev_submatch(struct device *parent, void *cf, void *aux);
-struct cfattach ihidev_ca = {
+const struct cfattach ihidev_ca = {
sizeof(struct ihidev_softc),
ihidev_match,
ihidev_attach,
-/* $OpenBSD: ipmi_i2c.c,v 1.3 2020/01/11 20:41:34 kettenis Exp $ */
+/* $OpenBSD: ipmi_i2c.c,v 1.4 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2019 Mark Kettenis <kettenis@openbsd.org>
*
int ipmi_i2c_match(struct device *, void *, void *);
void ipmi_i2c_attach(struct device *, struct device *, void *);
-struct cfattach ipmi_i2c_ca = {
+const struct cfattach ipmi_i2c_ca = {
sizeof(struct ipmi_i2c_softc), ipmi_i2c_match, ipmi_i2c_attach
};
-/* $OpenBSD: isl1208.c,v 1.3 2020/04/24 22:42:31 kettenis Exp $ */
+/* $OpenBSD: isl1208.c,v 1.4 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
int islrtc_match(struct device *, void *, void *);
void islrtc_attach(struct device *, struct device *, void *);
-struct cfattach islrtc_ca = {
+const struct cfattach islrtc_ca = {
sizeof(struct islrtc_softc), islrtc_match, islrtc_attach
};
-/* $OpenBSD: lis331dl.c,v 1.1 2009/08/12 14:51:20 cnst Exp $ */
+/* $OpenBSD: lis331dl.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2009 Constantine A. Murenin <cnst+openbsd@bugmail.mojo.ru>
void lisa_writereg(struct lisa_softc *, uint8_t, uint8_t);
-struct cfattach lisa_ca = {
+const struct cfattach lisa_ca = {
sizeof(struct lisa_softc), lisa_match, lisa_attach
};
-/* $OpenBSD: lm75.c,v 1.20 2015/05/30 08:39:05 kettenis Exp $ */
+/* $OpenBSD: lm75.c,v 1.21 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: lm75.c,v 1.1 2003/09/30 00:35:31 thorpej Exp $ */
/*
* Copyright (c) 2006 Theo de Raadt <deraadt@openbsd.org>
int lmtemp_match(struct device *, void *, void *);
void lmtemp_attach(struct device *, struct device *, void *);
-struct cfattach lmtemp_ca = {
+const struct cfattach lmtemp_ca = {
sizeof(struct lmtemp_softc),
lmtemp_match,
lmtemp_attach
-/* $OpenBSD: lm78_i2c.c,v 1.4 2015/03/14 03:38:47 jsg Exp $ */
+/* $OpenBSD: lm78_i2c.c,v 1.5 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005 Mark Kettenis
u_int8_t lm_i2c_readreg(struct lm_softc *, int);
void lm_i2c_writereg(struct lm_softc *, int, int);
-struct cfattach lm_i2c_ca = {
+const struct cfattach lm_i2c_ca = {
sizeof(struct lm_i2c_softc), lm_i2c_match, lm_i2c_attach
};
-/* $OpenBSD: lm87.c,v 1.20 2008/11/10 05:19:48 cnst Exp $ */
+/* $OpenBSD: lm87.c,v 1.21 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005 Mark Kettenis
void lmenv_refresh(void *);
-struct cfattach lmenv_ca = {
+const struct cfattach lmenv_ca = {
sizeof(struct lmenv_softc), lmenv_match, lmenv_attach
};
-/* $OpenBSD: lm93.c,v 1.8 2007/10/31 20:46:17 cnst Exp $ */
+/* $OpenBSD: lm93.c,v 1.9 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2007 Theo de Raadt
void lmn_refresh(void *);
-struct cfattach lmn_ca = {
+const struct cfattach lmn_ca = {
sizeof(struct lmn_softc), lmn_match, lmn_attach
};
-/* $OpenBSD: maxim6690.c,v 1.16 2007/10/20 22:06:43 cnst Exp $ */
+/* $OpenBSD: maxim6690.c,v 1.17 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005 Theo de Raadt
void maxtmp_attach(struct device *, struct device *, void *);
void maxtmp_refresh(void *);
-struct cfattach maxtmp_ca = {
+const struct cfattach maxtmp_ca = {
sizeof(struct maxtmp_softc), maxtmp_match, maxtmp_attach
};
-/* $OpenBSD: mcp794xx.c,v 1.1 2019/09/06 09:38:19 patrick Exp $ */
+/* $OpenBSD: mcp794xx.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
* Copyright (c) 2018 Patrick Wildt <patrick@blueri.se>
int mcprtc_match(struct device *, void *, void *);
void mcprtc_attach(struct device *, struct device *, void *);
-struct cfattach mcprtc_ca = {
+const struct cfattach mcprtc_ca = {
sizeof(struct mcprtc_softc), mcprtc_match, mcprtc_attach
};
-/* $OpenBSD: pca9532.c,v 1.3 2008/04/17 16:50:17 deraadt Exp $ */
+/* $OpenBSD: pca9532.c,v 1.4 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2006 Dale Rahn <drahn@openbsd.org>
*
void pcaled_gpio_pin_write (void *arg, int pin, int value);
void pcaled_gpio_pin_ctl (void *arg, int pin, int flags);
-struct cfattach pcaled_ca = {
+const struct cfattach pcaled_ca = {
sizeof(struct pcaled_softc), pcaled_match, pcaled_attach
};
-/* $OpenBSD: pca9548.c,v 1.5 2020/11/14 21:50:51 patrick Exp $ */
+/* $OpenBSD: pca9548.c,v 1.6 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis
int pcamux_match(struct device *, void *, void *);
void pcamux_attach(struct device *, struct device *, void *);
-struct cfattach pcamux_ca = {
+const struct cfattach pcamux_ca = {
sizeof(struct pcamux_softc), pcamux_match, pcamux_attach
};
-/* $OpenBSD: pca9554.c,v 1.18 2018/07/09 18:48:52 patrick Exp $ */
+/* $OpenBSD: pca9554.c,v 1.19 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005 Theo de Raadt
int pcagpio_get_pin(void *, uint32_t *);
void pcagpio_set_pin(void *, uint32_t *, int);
-struct cfattach pcagpio_ca = {
+const struct cfattach pcagpio_ca = {
sizeof(struct pcagpio_softc), pcagpio_match, pcagpio_attach
};
-/* $OpenBSD: pcf85063.c,v 1.1 2021/11/22 20:20:20 kettenis Exp $ */
+/* $OpenBSD: pcf85063.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005 Kimihiro Nonaka
int pcyrtc_match(struct device *, void *, void *);
void pcyrtc_attach(struct device *, struct device *, void *);
-struct cfattach pcyrtc_ca = {
+const struct cfattach pcyrtc_ca = {
sizeof(struct pcyrtc_softc), pcyrtc_match, pcyrtc_attach
};
-/* $OpenBSD: pcf8523.c,v 1.6 2021/11/22 20:19:23 kettenis Exp $ */
+/* $OpenBSD: pcf8523.c,v 1.7 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005 Kimihiro Nonaka
int pcfrtc_match(struct device *, void *, void *);
void pcfrtc_attach(struct device *, struct device *, void *);
-struct cfattach pcfrtc_ca = {
+const struct cfattach pcfrtc_ca = {
sizeof(struct pcfrtc_softc), pcfrtc_match, pcfrtc_attach
};
-/* $OpenBSD: pcf8563.c,v 1.5 2021/11/22 20:19:23 kettenis Exp $ */
+/* $OpenBSD: pcf8563.c,v 1.6 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005 Kimihiro Nonaka
int pcxrtc_match(struct device *, void *, void *);
void pcxrtc_attach(struct device *, struct device *, void *);
-struct cfattach pcxrtc_ca = {
+const struct cfattach pcxrtc_ca = {
sizeof(struct pcxrtc_softc), pcxrtc_match, pcxrtc_attach
};
-/* $OpenBSD: rs5c372.c,v 1.6 2021/04/24 10:15:15 mpi Exp $ */
+/* $OpenBSD: rs5c372.c,v 1.7 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: rs5c372.c,v 1.5 2006/03/29 06:41:24 thorpej Exp $ */
/*
int ricohrtc_match(struct device *, void *, void *);
void ricohrtc_attach(struct device *, struct device *, void *);
-struct cfattach ricohrtc_ca = {
+const struct cfattach ricohrtc_ca = {
sizeof(struct ricohrtc_softc), ricohrtc_match, ricohrtc_attach
};
-/* $OpenBSD: sdtemp.c,v 1.15 2014/11/14 07:03:22 jsg Exp $ */
+/* $OpenBSD: sdtemp.c,v 1.16 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2008 Theo de Raadt
void sdtemp_attach(struct device *, struct device *, void *);
void sdtemp_refresh(void *);
-struct cfattach sdtemp_ca = {
+const struct cfattach sdtemp_ca = {
sizeof(struct sdtemp_softc), sdtemp_match, sdtemp_attach
};
-/* $OpenBSD: spdmem_i2c.c,v 1.1 2010/03/22 21:20:58 miod Exp $ */
+/* $OpenBSD: spdmem_i2c.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: spdmem.c,v 1.3 2007/09/20 23:09:59 xtraeme Exp $ */
/*
void spdmem_iic_attach(struct device *, struct device *, void *);
uint8_t spdmem_iic_read(struct spdmem_softc *, uint8_t);
-struct cfattach spdmem_iic_ca = {
+const struct cfattach spdmem_iic_ca = {
sizeof(struct spdmem_iic_softc), spdmem_iic_match, spdmem_iic_attach
};
-/* $OpenBSD: thmc50.c,v 1.4 2007/10/17 17:14:54 deraadt Exp $ */
+/* $OpenBSD: thmc50.c,v 1.5 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2007 Theo de Raadt
void thmc_attach(struct device *, struct device *, void *);
void thmc_refresh(void *);
-struct cfattach thmc_ca = {
+const struct cfattach thmc_ca = {
sizeof(struct thmc_softc), thmc_match, thmc_attach
};
-/* $OpenBSD: tmp451.c,v 1.1 2021/06/23 15:25:39 kettenis Exp $ */
+/* $OpenBSD: tmp451.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
int titmp_match(struct device *, void *, void *);
void titmp_attach(struct device *, struct device *, void *);
-struct cfattach titmp_ca = {
+const struct cfattach titmp_ca = {
sizeof(struct titmp_softc), titmp_match, titmp_attach
};
-/* $OpenBSD: tsl2560.c,v 1.7 2008/04/18 01:17:51 deraadt Exp $ */
+/* $OpenBSD: tsl2560.c,v 1.8 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005 Mark Kettenis
void tsl_refresh(void *);
u_int64_t tsl_lux(u_int32_t, u_int32_t);
-struct cfattach tsl_ca = {
+const struct cfattach tsl_ca = {
sizeof(struct tsl_softc), tsl_match, tsl_attach
};
-/* $OpenBSD: w83793g.c,v 1.5 2009/01/26 15:07:49 kettenis Exp $ */
+/* $OpenBSD: w83793g.c,v 1.6 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2007 Constantine A. Murenin <cnst+openbsd@bugmail.mojo.ru>
void wbng_writereg(struct wbng_softc *, uint8_t, uint8_t);
-struct cfattach wbng_ca = {
+const struct cfattach wbng_ca = {
sizeof(struct wbng_softc), wbng_match, wbng_attach
};
-/* $OpenBSD: w83795g.c,v 1.1 2011/07/03 21:30:20 kettenis Exp $ */
+/* $OpenBSD: w83795g.c,v 1.2 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2011 Mark Kettenis
void nvt_writereg(struct nvt_softc *, uint8_t, uint8_t);
-struct cfattach nvt_ca = {
+const struct cfattach nvt_ca = {
sizeof(struct nvt_softc), nvt_match, nvt_attach
};
-/* $OpenBSD: w83l784r.c,v 1.12 2007/06/24 05:34:35 dlg Exp $ */
+/* $OpenBSD: w83l784r.c,v 1.13 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2006 Mark Kettenis
u_int8_t wbenv_readreg(struct wbenv_softc *, u_int8_t);
void wbenv_writereg(struct wbenv_softc *, u_int8_t, u_int8_t);
-struct cfattach wbenv_ca = {
+const struct cfattach wbenv_ca = {
sizeof(struct wbenv_softc), wbenv_match, wbenv_attach
};
-/* $OpenBSD: ipmi.c,v 1.115 2021/01/23 12:10:08 kettenis Exp $ */
+/* $OpenBSD: ipmi.c,v 1.116 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2015 Masao Uebayashi
int ipmi_match(struct device *, void *, void *);
void ipmi_attach(struct device *, struct device *, void *);
-struct cfattach ipmi_ca = {
+const struct cfattach ipmi_ca = {
sizeof(struct ipmi_softc), ipmi_match, ipmi_attach,
NULL, ipmi_activate
};
-/* $OpenBSD: addcom_isa.c,v 1.6 2002/03/14 01:26:56 millert Exp $ */
+/* $OpenBSD: addcom_isa.c,v 1.7 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: addcom_isa.c,v 1.2 2000/04/21 20:13:41 explorer Exp $ */
/*
int addcomintr(void *);
int addcomprint(void *, const char *);
-struct cfattach addcom_isa_ca = {
+const struct cfattach addcom_isa_ca = {
sizeof(struct addcom_softc), addcomprobe, addcomattach,
};
-/* $OpenBSD: aic_isa.c,v 1.9 2021/03/07 06:17:03 jsg Exp $ */
+/* $OpenBSD: aic_isa.c,v 1.10 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: aic6360.c,v 1.52 1996/12/10 21:27:51 thorpej Exp $ */
/*
int aic_isa_probe(struct device *, void *, void *);
void aic_isa_attach(struct device *, struct device *, void *);
-struct cfattach aic_isa_ca = {
+const struct cfattach aic_isa_ca = {
sizeof(struct aic_softc), aic_isa_probe, aic_isa_attach
};
-/* $OpenBSD: aic_isapnp.c,v 1.2 2021/03/07 06:17:03 jsg Exp $ */
+/* $OpenBSD: aic_isapnp.c,v 1.3 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2002 Anders Arnholm
int aic_isapnp_match(struct device *, void *, void *);
void aic_isapnp_attach(struct device *, struct device *, void *);
-struct cfattach aic_isapnp_ca = {
+const struct cfattach aic_isapnp_ca = {
sizeof(struct aic_softc), aic_isapnp_match, aic_isapnp_attach
};
-/* $OpenBSD: aps.c,v 1.27 2022/01/09 05:42:42 jsg Exp $ */
+/* $OpenBSD: aps.c,v 1.28 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005 Jonathan Gray <jsg@openbsd.org>
* Copyright (c) 2008 Can Erkin Acar <canacar@openbsd.org>
int aps_do_io(bus_space_tag_t, bus_space_handle_t,
unsigned char *, int, int);
-struct cfattach aps_ca = {
+const struct cfattach aps_ca = {
sizeof(struct aps_softc),
aps_match, aps_attach, NULL, aps_activate
};
-/* $OpenBSD: ast.c,v 1.19 2021/03/07 06:17:03 jsg Exp $ */
+/* $OpenBSD: ast.c,v 1.20 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: ast.c,v 1.28 1996/05/12 23:51:45 mycroft Exp $ */
/*
int astintr(void *);
int astprint(void *, const char *);
-struct cfattach ast_ca = {
+const struct cfattach ast_ca = {
sizeof(struct ast_softc), astprobe, astattach
};
-/* $OpenBSD: boca.c,v 1.16 2002/03/14 01:26:56 millert Exp $ */
+/* $OpenBSD: boca.c,v 1.17 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: boca.c,v 1.15 1996/05/12 23:51:50 mycroft Exp $ */
/*
int bocaintr(void *);
int bocaprint(void *, const char *);
-struct cfattach boca_ca = {
+const struct cfattach boca_ca = {
sizeof(struct boca_softc), bocaprobe, bocaattach,
};
-/* $OpenBSD: com_commulti.c,v 1.5 2017/04/30 13:04:49 mpi Exp $ */
+/* $OpenBSD: com_commulti.c,v 1.6 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 1997 - 1999, Jason Downs. All rights reserved.
*
int com_commulti_probe(struct device *, void *, void *);
void com_commulti_attach(struct device *, struct device *, void *);
-struct cfattach com_commulti_ca = {
+const struct cfattach com_commulti_ca = {
sizeof(struct com_softc), com_commulti_probe, com_commulti_attach
};
-/* $OpenBSD: com_isa.c,v 1.9 2017/04/30 13:04:49 mpi Exp $ */
+/* $OpenBSD: com_isa.c,v 1.10 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 1997 - 1999, Jason Downs. All rights reserved.
*
int com_isa_probe(struct device *, void *, void *);
void com_isa_attach(struct device *, struct device *, void *);
-struct cfattach com_isa_ca = {
+const struct cfattach com_isa_ca = {
sizeof(struct com_softc), com_isa_probe, com_isa_attach, NULL,
com_activate
};
-/* $OpenBSD: com_isapnp.c,v 1.5 2017/04/30 13:04:49 mpi Exp $ */
+/* $OpenBSD: com_isapnp.c,v 1.6 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 1997 - 1999, Jason Downs. All rights reserved.
*
int com_isapnp_probe(struct device *, void *, void *);
void com_isapnp_attach(struct device *, struct device *, void *);
-struct cfattach com_isapnp_ca = {
+const struct cfattach com_isapnp_ca = {
sizeof(struct com_softc), com_isapnp_probe, com_isapnp_attach
};
-/* $OpenBSD: cy_isa.c,v 1.10 2021/03/07 06:17:03 jsg Exp $ */
+/* $OpenBSD: cy_isa.c,v 1.11 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 1996 Timo Rossi.
* All rights reserved.
static int cy_isa_probe(struct device *, void *, void *);
void cy_isa_attach(struct device *, struct device *, void *);
-struct cfattach cy_isa_ca = {
+const struct cfattach cy_isa_ca = {
sizeof(struct cy_softc), cy_isa_probe, cy_isa_attach
};
-/* $OpenBSD: ess_isapnp.c,v 1.7 2013/11/15 16:46:27 brad Exp $ */
+/* $OpenBSD: ess_isapnp.c,v 1.8 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: ess_isa.c,v 1.4 1999/03/18 20:57:11 mycroft Exp $ */
/*-
int ess_isapnp_probe(struct device *, void *, void *);
void ess_isapnp_attach(struct device *, struct device *, void *);
-struct cfattach ess_isapnp_ca = {
+const struct cfattach ess_isapnp_ca = {
sizeof(struct ess_softc), ess_isapnp_probe, ess_isapnp_attach
};
-/* $OpenBSD: fd.c,v 1.107 2020/02/07 13:35:08 cheloha Exp $ */
+/* $OpenBSD: fd.c,v 1.108 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: fd.c,v 1.90 1996/05/12 23:12:03 mycroft Exp $ */
/*-
void fdattach(struct device *, struct device *, void *);
int fdactivate(struct device *, int);
-struct cfattach fd_ca = {
+const struct cfattach fd_ca = {
sizeof(struct fd_softc), fdprobe, fdattach, NULL, fdactivate
};
-/* $OpenBSD: fdc.c,v 1.23 2017/12/30 20:46:59 guenther Exp $ */
+/* $OpenBSD: fdc.c,v 1.24 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: fd.c,v 1.90 1996/05/12 23:12:03 mycroft Exp $ */
/*-
void fdcattach_deferred(void *);
void fdc_create_kthread(void *);
-struct cfattach fdc_ca = {
+const struct cfattach fdc_ca = {
sizeof(struct fdc_softc), fdcprobe, fdcattach
};
-/* $OpenBSD: fins.c,v 1.4 2014/12/10 12:27:57 mikeb Exp $ */
+/* $OpenBSD: fins.c,v 1.5 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005, 2006 Mark Kettenis
int fins_wdog_cb(void *, int);
-struct cfattach fins_ca = {
+const struct cfattach fins_ca = {
sizeof(struct fins_softc),
fins_match,
fins_attach,
-/* $OpenBSD: gscsio.c,v 1.13 2014/09/14 14:17:25 jsg Exp $ */
+/* $OpenBSD: gscsio.c,v 1.14 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org>
*
int gscsio_acb_read_byte(void *, uint8_t *, int);
int gscsio_acb_write_byte(void *, uint8_t, int);
-struct cfattach gscsio_ca = {
+const struct cfattach gscsio_ca = {
sizeof(struct gscsio_softc),
gscsio_probe,
gscsio_attach
-/* $OpenBSD: gus_isa.c,v 1.8 2021/03/07 06:17:03 jsg Exp $ */
+/* $OpenBSD: gus_isa.c,v 1.9 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: gus.c,v 1.51 1998/01/25 23:48:06 mycroft Exp $ */
/*-
int gus_isa_match(struct device *, void *, void *);
void gus_isa_attach(struct device *, struct device *, void *);
-struct cfattach gus_isa_ca = {
+const struct cfattach gus_isa_ca = {
sizeof(struct gus_softc), gus_isa_match, gus_isa_attach,
};
-/* $OpenBSD: gus_isapnp.c,v 1.9 2021/03/07 06:17:03 jsg Exp $ */
+/* $OpenBSD: gus_isapnp.c,v 1.10 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: gus.c,v 1.51 1998/01/25 23:48:06 mycroft Exp $ */
/*-
int gus_isapnp_match(struct device *, void *, void *);
void gus_isapnp_attach(struct device *, struct device *, void *);
-struct cfattach gus_isapnp_ca = {
+const struct cfattach gus_isapnp_ca = {
sizeof(struct gus_softc), gus_isapnp_match, gus_isapnp_attach
};
-/* $OpenBSD: hsq.c,v 1.6 2022/01/09 05:42:42 jsg Exp $ */
+/* $OpenBSD: hsq.c,v 1.7 2022/04/06 18:59:28 naddy Exp $ */
/*-
* Copyright (c) 1999 Denis A. Doroshenko. All rights reserved.
int hsqintr(void *);
int hsqprint(void *, const char *);
-struct cfattach hsq_ca = {
+const struct cfattach hsq_ca = {
sizeof(struct hsq_softc), hsqprobe, hsqattach
};
-/* $OpenBSD: i82365_isa.c,v 1.24 2021/03/07 06:17:03 jsg Exp $ */
+/* $OpenBSD: i82365_isa.c,v 1.25 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: i82365_isa.c,v 1.11 1998/06/09 07:25:00 thorpej Exp $ */
/*
int pcic_isa_probe(struct device *, void *, void *);
void pcic_isa_attach(struct device *, struct device *, void *);
-struct cfattach pcic_isa_ca = {
+const struct cfattach pcic_isa_ca = {
sizeof(struct pcic_softc), pcic_isa_probe, pcic_isa_attach
};
-/* $OpenBSD: i82365_isapnp.c,v 1.10 2021/03/07 06:17:03 jsg Exp $ */
+/* $OpenBSD: i82365_isapnp.c,v 1.11 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: i82365_isapnp.c,v 1.8 2000/02/23 17:22:11 soren Exp $ */
/*
int pcic_isapnp_match(struct device *, void *, void *);
void pcic_isapnp_attach(struct device *, struct device *, void *);
-struct cfattach pcic_isapnp_ca = {
+const struct cfattach pcic_isapnp_ca = {
sizeof(struct pcic_softc), pcic_isapnp_match, pcic_isapnp_attach
};
-/* $OpenBSD: if_an_isapnp.c,v 1.10 2015/11/24 17:11:39 mpi Exp $ */
+/* $OpenBSD: if_an_isapnp.c,v 1.11 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2003 Michael Shalayeff
int an_isapnp_match(struct device *, void *, void *);
void an_isapnp_attach(struct device *, struct device *, void *);
-struct cfattach an_isapnp_ca = {
+const struct cfattach an_isapnp_ca = {
sizeof(struct an_softc), an_isapnp_match, an_isapnp_attach
};
-/* $OpenBSD: if_ec.c,v 1.18 2022/01/09 05:42:44 jsg Exp $ */
+/* $OpenBSD: if_ec.c,v 1.19 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: if_ec.c,v 1.9 1998/07/05 06:49:12 jonathan Exp $ */
/*-
int ec_probe(struct device *, void *, void *);
void ec_attach(struct device *, struct device *, void *);
-struct cfattach ec_ca = {
+const struct cfattach ec_ca = {
sizeof(struct ec_softc), ec_probe, ec_attach
};
-/* $OpenBSD: if_ef_isapnp.c,v 1.40 2021/03/07 06:17:03 jsg Exp $ */
+/* $OpenBSD: if_ef_isapnp.c,v 1.41 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
NULL, "ef", DV_IFNET
};
-struct cfattach ef_isapnp_ca = {
+const struct cfattach ef_isapnp_ca = {
sizeof(struct ef_softc), ef_isapnp_match, ef_isapnp_attach
};
-/* $OpenBSD: if_eg.c,v 1.50 2020/07/10 13:22:20 patrick Exp $ */
+/* $OpenBSD: if_eg.c,v 1.51 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: if_eg.c,v 1.26 1996/05/12 23:52:27 mycroft Exp $ */
/*
int egprobe(struct device *, void *, void *);
void egattach(struct device *, struct device *, void *);
-struct cfattach eg_ca = {
+const struct cfattach eg_ca = {
sizeof(struct eg_softc), egprobe, egattach
};
-/* $OpenBSD: if_el.c,v 1.36 2021/03/07 06:17:03 jsg Exp $ */
+/* $OpenBSD: if_el.c,v 1.37 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: if_el.c,v 1.39 1996/05/12 23:52:32 mycroft Exp $ */
/*
int elprobe(struct device *, void *, void *);
void elattach(struct device *, struct device *, void *);
-struct cfattach el_ca = {
+const struct cfattach el_ca = {
sizeof(struct el_softc), elprobe, elattach
};
-/* $OpenBSD: if_ep_isa.c,v 1.31 2015/11/25 11:20:38 mpi Exp $ */
+/* $OpenBSD: if_ep_isa.c,v 1.32 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: if_ep_isa.c,v 1.5 1996/05/12 23:52:36 mycroft Exp $ */
/*
int ep_isa_probe(struct device *, void *, void *);
void ep_isa_attach(struct device *, struct device *, void *);
-struct cfattach ep_isa_ca = {
+const struct cfattach ep_isa_ca = {
sizeof(struct ep_softc), ep_isa_probe, ep_isa_attach
};
-/* $OpenBSD: if_ep_isapnp.c,v 1.16 2015/11/24 17:11:39 mpi Exp $ */
+/* $OpenBSD: if_ep_isapnp.c,v 1.17 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: if_ep_isapnp.c,v 1.5 1996/05/12 23:52:36 mycroft Exp $ */
/*
int ep_isapnp_match(struct device *, void *, void *);
void ep_isapnp_attach(struct device *, struct device *, void *);
-struct cfattach ep_isapnp_ca = {
+const struct cfattach ep_isapnp_ca = {
sizeof(struct ep_softc), ep_isapnp_match, ep_isapnp_attach
};
-/* $OpenBSD: if_ex.c,v 1.47 2020/07/10 13:26:37 patrick Exp $ */
+/* $OpenBSD: if_ex.c,v 1.48 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 1997, Donald A. Schmidt
* Copyright (c) 1996, Javier MartÃn Rueda (jmrueda@diatel.upm.es)
void ex_tx_intr(struct ex_softc *);
void ex_rx_intr(struct ex_softc *);
-struct cfattach ex_ca = {
+const struct cfattach ex_ca = {
sizeof(struct ex_softc), ex_probe, ex_attach
};
-/* $OpenBSD: if_ie.c,v 1.58 2022/02/22 01:15:01 guenther Exp $ */
+/* $OpenBSD: if_ie.c,v 1.59 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: if_ie.c,v 1.51 1996/05/12 23:52:48 mycroft Exp $ */
/*-
static void run_tdr(struct ie_softc *, struct ie_tdr_cmd *);
-struct cfattach ie_isa_ca = {
+const struct cfattach ie_isa_ca = {
sizeof(struct ie_softc), ieprobe, ieattach
};
-/* $OpenBSD: if_lc_isa.c,v 1.13 2021/03/07 06:17:03 jsg Exp $ */
+/* $OpenBSD: if_lc_isa.c,v 1.14 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: if_lc_isa.c,v 1.10 2001/06/13 10:46:03 wiz Exp $ */
/*-
int lemac_isa_probe(struct device *, void *, void *);
void lemac_isa_attach(struct device *, struct device *, void *);
-struct cfattach lc_isa_ca = {
+const struct cfattach lc_isa_ca = {
sizeof(struct lemac_softc), lemac_isa_probe, lemac_isa_attach
};
-/* $OpenBSD: if_le_isa.c,v 1.22 2014/12/22 02:28:51 tedu Exp $ */
+/* $OpenBSD: if_le_isa.c,v 1.23 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: if_le_isa.c,v 1.2 1996/05/12 23:52:56 mycroft Exp $ */
/*-
int le_isa_probe(struct device *, void *, void *);
void le_isa_attach(struct device *, struct device *, void *);
-struct cfattach le_isa_ca = {
+const struct cfattach le_isa_ca = {
sizeof(struct le_softc), le_isa_probe, le_isa_attach
};
-/* $OpenBSD: if_le_isapnp.c,v 1.14 2014/12/22 02:28:51 tedu Exp $ */
+/* $OpenBSD: if_le_isapnp.c,v 1.15 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: if_le_isa.c,v 1.2 1996/05/12 23:52:56 mycroft Exp $ */
/*-
int le_isapnp_match(struct device *, void *, void *);
void le_isapnp_attach(struct device *, struct device *, void *);
-struct cfattach le_isapnp_ca = {
+const struct cfattach le_isapnp_ca = {
sizeof(struct le_softc), le_isapnp_match, le_isapnp_attach
};
-/* $OpenBSD: if_ne_isa.c,v 1.17 2015/11/24 17:11:39 mpi Exp $ */
+/* $OpenBSD: if_ne_isa.c,v 1.18 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: if_ne_isa.c,v 1.6 1998/07/05 06:49:13 jonathan Exp $ */
/*-
void *sc_ih; /* interrupt cookie */
};
-struct cfattach ne_isa_ca = {
+const struct cfattach ne_isa_ca = {
sizeof(struct ne_isa_softc), ne_isa_match, ne_isa_attach
};
-/* $OpenBSD: if_ne_isapnp.c,v 1.16 2015/11/24 17:11:39 mpi Exp $ */
+/* $OpenBSD: if_ne_isapnp.c,v 1.17 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: if_ne_isapnp.c,v 1.7 1998/07/23 19:30:45 christos Exp $ */
/*-
void *sc_ih; /* interrupt cookie */
};
-struct cfattach ne_isapnp_ca = {
+const struct cfattach ne_isapnp_ca = {
sizeof(struct ne_isapnp_softc), ne_isapnp_match, ne_isapnp_attach
};
-/* $OpenBSD: if_sm_isa.c,v 1.15 2021/03/07 06:17:03 jsg Exp $ */
+/* $OpenBSD: if_sm_isa.c,v 1.16 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: if_sm_isa.c,v 1.4 1998/07/05 06:49:14 jonathan Exp $ */
/*-
void *sc_ih; /* interrupt cookie */
};
-struct cfattach sm_isa_ca = {
+const struct cfattach sm_isa_ca = {
sizeof(struct sm_isa_softc), sm_isa_match, sm_isa_attach
};
-/* $OpenBSD: if_we.c,v 1.27 2017/07/26 05:25:21 deraadt Exp $ */
+/* $OpenBSD: if_we.c,v 1.28 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: if_we.c,v 1.11 1998/07/05 06:49:14 jonathan Exp $ */
/*-
int we_match(struct device *, void *, void *);
void we_attach(struct device *, struct device *, void *);
-struct cfattach we_isa_ca = {
+const struct cfattach we_isa_ca = {
sizeof(struct we_softc), we_probe, we_attach
};
#if NWE_ISAPNP
-struct cfattach we_isapnp_ca = {
+const struct cfattach we_isapnp_ca = {
sizeof(struct we_softc), we_match, we_attach
};
#endif /* NWE_ISAPNP */
-/* $OpenBSD: isa.c,v 1.49 2021/10/26 16:29:49 deraadt Exp $ */
+/* $OpenBSD: isa.c,v 1.50 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: isa.c,v 1.85 1996/05/14 00:31:04 thorpej Exp $ */
/*
extern int autoconf_verbose;
-struct cfattach isa_ca = {
+const struct cfattach isa_ca = {
sizeof(struct isa_softc), isamatch, isaattach
};
-/* $OpenBSD: isadma.c,v 1.36 2021/10/26 16:29:49 deraadt Exp $ */
+/* $OpenBSD: isadma.c,v 1.37 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: isadma.c,v 1.32 1997/09/05 01:48:33 thorpej Exp $ */
/*-
int isadmamatch(struct device *, void *, void *);
void isadmaattach(struct device *, struct device *, void *);
-struct cfattach isadma_ca = {
+const struct cfattach isadma_ca = {
sizeof(struct device), isadmamatch, isadmaattach
};
-/* $OpenBSD: isagpio.c,v 1.4 2009/03/29 21:53:52 sthen Exp $ */
+/* $OpenBSD: isagpio.c,v 1.5 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2006 Oleg Safiullin <form@pdp-11.org.ru>
void isagpio_pin_write(void *, int, int);
void isagpio_pin_ctl(void *, int, int);
-struct cfattach isagpio_ca = {
+const struct cfattach isagpio_ca = {
sizeof(struct isagpio_softc), isagpio_match, isagpio_attach
};
-/* $OpenBSD: isapnp.c,v 1.42 2021/03/07 06:17:03 jsg Exp $ */
+/* $OpenBSD: isapnp.c,v 1.43 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: isapnp.c,v 1.9.4.3 1997/10/29 00:40:43 thorpej Exp $ */
/*
# define DPRINTF(a)
#endif
-struct cfattach isapnp_ca = {
+const struct cfattach isapnp_ca = {
sizeof(struct isapnp_softc), isapnp_match, isapnp_attach
};
-/* $OpenBSD: it.c,v 1.46 2015/03/14 03:38:47 jsg Exp $ */
+/* $OpenBSD: it.c,v 1.47 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2007-2008 Oleg Safiullin <form@pdp-11.org.ru>
}
-struct cfattach it_ca = {
+const struct cfattach it_ca = {
sizeof(struct it_softc),
it_match,
it_attach,
-/* $OpenBSD: lm78_isa.c,v 1.11 2022/01/09 05:42:44 jsg Exp $ */
+/* $OpenBSD: lm78_isa.c,v 1.12 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2005, 2006 Mark Kettenis
void lm_isa_writereg(struct lm_softc *, int, int);
void lm_isa_remove_alias(struct lm_softc *, const char *);
-struct cfattach lm_isa_ca = {
+const struct cfattach lm_isa_ca = {
sizeof(struct lm_isa_softc),
lm_isa_match,
lm_isa_attach
};
-struct cfattach lm_wbsio_ca = {
+const struct cfattach lm_wbsio_ca = {
sizeof(struct lm_isa_softc),
lm_wbsio_match,
lm_isa_attach
-/* $OpenBSD: lpt_isa.c,v 1.16 2021/03/07 06:17:04 jsg Exp $ */
+/* $OpenBSD: lpt_isa.c,v 1.17 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 1993, 1994 Charles Hannum.
int lpt_isa_probe(struct device *, void *, void *);
void lpt_isa_attach(struct device *, struct device *, void *);
-struct cfattach lpt_isa_ca = {
+const struct cfattach lpt_isa_ca = {
sizeof(struct lpt_softc), lpt_isa_probe, lpt_isa_attach, NULL,
lpt_activate
};
-/* $OpenBSD: mpu_isa.c,v 1.7 2021/03/07 06:17:04 jsg Exp $ */
+/* $OpenBSD: mpu_isa.c,v 1.8 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2002 Sergey Smitienko. All rights reserved.
struct mpu_softc sc_mpu;
};
-struct cfattach mpu_isa_ca = {
+const struct cfattach mpu_isa_ca = {
sizeof(struct mpu_isa_softc), mpu_isa_match, mpu_isa_attach
};
-/* $OpenBSD: mpu_isapnp.c,v 1.9 2021/03/07 06:17:04 jsg Exp $ */
+/* $OpenBSD: mpu_isapnp.c,v 1.10 2022/04/06 18:59:28 naddy Exp $ */
#include "midi.h"
struct mpu_softc sc_mpu;
};
-struct cfattach mpu_isapnp_ca = {
+const struct cfattach mpu_isapnp_ca = {
sizeof(struct mpu_isapnp_softc), mpu_isapnp_match, mpu_isapnp_attach
};
-/* $OpenBSD: nsclpcsio_isa.c,v 1.14 2018/06/04 05:24:11 kevlo Exp $ */
+/* $OpenBSD: nsclpcsio_isa.c,v 1.15 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: nsclpcsio_isa.c,v 1.5 2002/10/22 16:18:26 drochner Exp $ */
/*
int nsclpcsio_isa_match(struct device *, void *, void *);
void nsclpcsio_isa_attach(struct device *, struct device *, void *);
-struct cfattach nsclpcsio_isa_ca = {
+const struct cfattach nsclpcsio_isa_ca = {
sizeof(struct nsclpcsio_softc),
nsclpcsio_isa_match,
nsclpcsio_isa_attach
-/* $OpenBSD: pas.c,v 1.32 2022/03/21 19:22:40 miod Exp $ */
+/* $OpenBSD: pas.c,v 1.33 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: pas.c,v 1.37 1998/01/12 09:43:43 thorpej Exp $ */
/*
int pasprobe(struct device *, void *, void *);
void pasattach(struct device *, struct device *, void *);
-struct cfattach pas_ca = {
+const struct cfattach pas_ca = {
sizeof(struct pas_softc), pasprobe, pasattach
};
-/* $OpenBSD: pcdisplay.c,v 1.14 2020/05/25 09:55:48 jsg Exp $ */
+/* $OpenBSD: pcdisplay.c,v 1.15 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: pcdisplay.c,v 1.9.4.1 2000/06/30 16:27:48 simonb Exp $ */
/*
static int pcdisplay_pack_attr(void *, int, int, int, uint32_t *);
static void pcdisplay_unpack_attr(void *, uint32_t, int *, int *, int *);
-struct cfattach pcdisplay_ca = {
+const struct cfattach pcdisplay_ca = {
sizeof(struct pcdisplay_softc), pcdisplay_match, pcdisplay_attach,
};
-/* $OpenBSD: pcppi.c,v 1.18 2022/01/09 05:42:44 jsg Exp $ */
+/* $OpenBSD: pcppi.c,v 1.19 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: pcppi.c,v 1.1 1998/04/15 20:26:18 drochner Exp $ */
/*
int pcppi_match(struct device *, void *, void *);
void pcppi_attach(struct device *, struct device *, void *);
-struct cfattach pcppi_ca = {
+const struct cfattach pcppi_ca = {
sizeof(struct pcppi_softc), pcppi_match, pcppi_attach,
};
-/* $OpenBSD: sb_isa.c,v 1.11 2021/03/07 06:17:04 jsg Exp $ */
+/* $OpenBSD: sb_isa.c,v 1.12 2022/04/06 18:59:28 naddy Exp $ */
/* $NetBSD: sb_isa.c,v 1.15 1997/11/30 15:32:25 drochner Exp $ */
/*
int sb_isa_match(struct device *, void *, void *);
void sb_isa_attach(struct device *, struct device *, void *);
-struct cfattach sb_isa_ca = {
+const struct cfattach sb_isa_ca = {
sizeof(struct sbdsp_softc), sb_isa_match, sb_isa_attach
};
-/* $OpenBSD: sb_isapnp.c,v 1.16 2021/03/07 06:17:04 jsg Exp $ */
+/* $OpenBSD: sb_isapnp.c,v 1.17 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: sb_isa.c,v 1.3 1997/03/20 11:03:11 mycroft Exp $ */
/*
int sb_isapnp_match(struct device *, void *, void *);
void sb_isapnp_attach(struct device *, struct device *, void *);
-struct cfattach sb_isapnp_ca = {
+const struct cfattach sb_isapnp_ca = {
sizeof(struct sbdsp_softc), sb_isapnp_match, sb_isapnp_attach
};
-/* $OpenBSD: sch311x.c,v 1.17 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: sch311x.c,v 1.18 2022/04/06 18:59:29 naddy Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis <kettenis@openbsd.org>
* Copyright (c) 2009 Michael Knudsen <mk@openbsd.org>
void schsio_wdt_init(struct schsio_softc *sc);
int schsio_wdt_cb(void *arg, int period);
-struct cfattach schsio_ca = {
+const struct cfattach schsio_ca = {
sizeof(struct schsio_softc),
schsio_probe,
schsio_attach,
-/* $OpenBSD: skgpio.c,v 1.4 2020/08/26 03:29:06 visa Exp $ */
+/* $OpenBSD: skgpio.c,v 1.5 2022/04/06 18:59:29 naddy Exp $ */
/*
* Copyright (c) 2014 Matt Dainty <matt@bodgit-n-scarper.com>
void skgpio_led_write(void *, int, int);
void skgpio_led_ctl(void *, int, int);
-struct cfattach skgpio_ca = {
+const struct cfattach skgpio_ca = {
sizeof(struct skgpio_softc), skgpio_match, skgpio_attach
};
-/* $OpenBSD: spkr.c,v 1.26 2021/03/07 06:17:04 jsg Exp $ */
+/* $OpenBSD: spkr.c,v 1.27 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: spkr.c,v 1.1 1998/04/15 20:26:18 drochner Exp $ */
/*
int spkrprobe(struct device *, void *, void *);
void spkrattach(struct device *, struct device *, void *);
-struct cfattach spkr_ca = {
+const struct cfattach spkr_ca = {
sizeof(struct device), spkrprobe, spkrattach
};
-/* $OpenBSD: tcic2_isa.c,v 1.10 2022/01/09 05:42:44 jsg Exp $ */
+/* $OpenBSD: tcic2_isa.c,v 1.11 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: tcic2_isa.c,v 1.2 1999/04/08 16:14:29 bad Exp $ */
#undef TCICISADEBUG
void tcic_isa_chip_intr_disestablish(pcmcia_chipset_handle_t, void *);
const char *tcic_isa_chip_intr_string(pcmcia_chipset_handle_t, void *);
-struct cfattach tcic_isa_ca = {
+const struct cfattach tcic_isa_ca = {
sizeof(struct tcic_softc), tcic_isa_probe, tcic_isa_attach
};
-/* $OpenBSD: uguru.c,v 1.5 2015/03/14 03:38:47 jsg Exp $ */
+/* $OpenBSD: uguru.c,v 1.6 2022/04/06 18:59:29 naddy Exp $ */
/*
* Copyright (c) 2010 Mikko Tolmunen <oskari@sefirosu.org>
NULL, "uguru", DV_DULL
};
-struct cfattach uguru_ca = {
+const struct cfattach uguru_ca = {
sizeof(struct uguru_softc), uguru_match, uguru_attach
};
-/* $OpenBSD: uha_isa.c,v 1.14 2021/03/07 06:17:04 jsg Exp $ */
+/* $OpenBSD: uha_isa.c,v 1.15 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: uha_isa.c,v 1.5 1996/10/21 22:41:21 thorpej Exp $ */
/*
int uha_isa_probe(struct device *, void *, void *);
void uha_isa_attach(struct device *, struct device *, void *);
-struct cfattach uha_isa_ca = {
+const struct cfattach uha_isa_ca = {
sizeof(struct uha_softc), uha_isa_probe, uha_isa_attach
};
-/* $OpenBSD: vga_isa.c,v 1.10 2015/07/18 00:48:05 miod Exp $ */
+/* $OpenBSD: vga_isa.c,v 1.11 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: vga_isa.c,v 1.3 1998/06/12 18:45:48 drochner Exp $ */
/*
int vga_isa_match(struct device *, void *, void *);
void vga_isa_attach(struct device *, struct device *, void *);
-struct cfattach vga_isa_ca = {
+const struct cfattach vga_isa_ca = {
sizeof(struct vga_isa_softc), vga_isa_match, vga_isa_attach,
};
-/* $OpenBSD: viasio.c,v 1.14 2014/12/10 12:27:57 mikeb Exp $ */
+/* $OpenBSD: viasio.c,v 1.15 2022/04/06 18:59:29 naddy Exp $ */
/*
* Copyright (c) 2005 Alexander Yurchenko <grange@openbsd.org>
*
void viasio_wdg_init(struct viasio_softc *);
int viasio_wdg_cb(void *, int);
-struct cfattach viasio_ca = {
+const struct cfattach viasio_ca = {
sizeof(struct viasio_softc),
viasio_probe,
viasio_attach,
-/* $OpenBSD: wbsio.c,v 1.11 2019/12/17 01:34:59 mortimer Exp $ */
+/* $OpenBSD: wbsio.c,v 1.12 2022/04/06 18:59:29 naddy Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis <kettenis@openbsd.org>
*
void wbsio_attach(struct device *, struct device *, void *);
int wbsio_print(void *, const char *);
-struct cfattach wbsio_ca = {
+const struct cfattach wbsio_ca = {
sizeof(struct wbsio_softc),
wbsio_probe,
wbsio_attach
-/* $OpenBSD: wdc_isa.c,v 1.16 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: wdc_isa.c,v 1.17 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: wdc_isa.c,v 1.15 1999/05/19 14:41:25 bouyer Exp $ */
/*-
int wdc_isa_probe(struct device *, void *, void *);
void wdc_isa_attach(struct device *, struct device *, void *);
-struct cfattach wdc_isa_ca = {
+const struct cfattach wdc_isa_ca = {
sizeof(struct wdc_isa_softc), wdc_isa_probe, wdc_isa_attach
};
-/* $OpenBSD: wdc_isapnp.c,v 1.12 2021/03/07 06:17:04 jsg Exp $ */
+/* $OpenBSD: wdc_isapnp.c,v 1.13 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: wdc_isapnp.c,v 1.13 1999/03/22 10:00:12 mycroft Exp $ */
/*-
int wdc_isapnp_match(struct device *, void *, void *);
void wdc_isapnp_attach(struct device *, struct device *, void *);
-struct cfattach wdc_isapnp_ca = {
+const struct cfattach wdc_isapnp_ca = {
sizeof(struct wdc_isapnp_softc), wdc_isapnp_match, wdc_isapnp_attach
};
-/* $OpenBSD: wds.c,v 1.57 2020/09/22 19:32:53 krw Exp $ */
+/* $OpenBSD: wds.c,v 1.58 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: wds.c,v 1.13 1996/11/03 16:20:31 mycroft Exp $ */
#undef WDSDIAG
int wdsprobe(struct device *, void *, void *);
void wdsattach(struct device *, struct device *, void *);
-struct cfattach wds_ca = {
+const struct cfattach wds_ca = {
sizeof(struct wds_softc), wdsprobe, wdsattach
};
-/* $OpenBSD: midi.c,v 1.53 2022/03/21 19:22:40 miod Exp $ */
+/* $OpenBSD: midi.c,v 1.54 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2003, 2004 Alexandre Ratchov
void midi_attach(struct midi_softc *, struct device *);
-struct cfattach midi_ca = {
+const struct cfattach midi_ca = {
sizeof(struct midi_softc), midiprobe, midiattach, mididetach
};
-/* $OpenBSD: acphy.c,v 1.9 2015/03/14 03:38:47 jsg Exp $ */
+/* $OpenBSD: acphy.c,v 1.10 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: acphy.c,v 1.13 2003/04/29 01:49:33 thorpej Exp $ */
/*
int acphymatch(struct device *, void *, void *);
void acphyattach(struct device *, struct device *, void *);
-struct cfattach acphy_ca = {
+const struct cfattach acphy_ca = {
sizeof(struct mii_softc), acphymatch, acphyattach, mii_phy_detach
};
-/* $OpenBSD: amphy.c,v 1.21 2015/03/14 03:38:47 jsg Exp $ */
+/* $OpenBSD: amphy.c,v 1.22 2022/04/06 18:59:29 naddy Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
int amphymatch(struct device *, void *, void *);
void amphyattach(struct device *, struct device *, void *);
-struct cfattach amphy_ca = {
+const struct cfattach amphy_ca = {
sizeof(struct mii_softc), amphymatch, amphyattach, mii_phy_detach
};
-/* $OpenBSD: atphy.c,v 1.12 2022/01/09 05:42:44 jsg Exp $ */
+/* $OpenBSD: atphy.c,v 1.13 2022/04/06 18:59:29 naddy Exp $ */
/*-
* Copyright (c) 2008, Pyun YongHyeon <yongari@FreeBSD.org>
NULL },
};
-struct cfattach atphy_ca = {
+const struct cfattach atphy_ca = {
sizeof (struct mii_softc), atphy_match, atphy_attach,
mii_phy_detach
};
-/* $OpenBSD: bmtphy.c,v 1.20 2015/03/14 03:38:47 jsg Exp $ */
+/* $OpenBSD: bmtphy.c,v 1.21 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: bmtphy.c,v 1.17 2005/01/17 13:17:45 scw Exp $ */
/*-
int bmtphymatch(struct device *, void *, void *);
void bmtphyattach(struct device *, struct device *, void *);
-struct cfattach bmtphy_ca = {
+const struct cfattach bmtphy_ca = {
sizeof(struct mii_softc), bmtphymatch, bmtphyattach, mii_phy_detach
};
-/* $OpenBSD: brgphy.c,v 1.107 2021/06/17 09:30:32 kettenis Exp $ */
+/* $OpenBSD: brgphy.c,v 1.108 2022/04/06 18:59:29 naddy Exp $ */
/*
* Copyright (c) 2000
int brgphy_probe(struct device *, void *, void *);
void brgphy_attach(struct device *, struct device *, void *);
-struct cfattach brgphy_ca = {
+const struct cfattach brgphy_ca = {
sizeof(struct mii_softc), brgphy_probe, brgphy_attach, mii_phy_detach
};
-/* $OpenBSD: brswphy.c,v 1.3 2020/04/06 00:01:08 pirofti Exp $ */
+/* $OpenBSD: brswphy.c,v 1.4 2022/04/06 18:59:29 naddy Exp $ */
/*
* Copyright (c) 2014 Paul Irofti <paul@irofti.net>
int brswphymatch(struct device *, void *, void *);
void brswphyattach(struct device *, struct device *, void *);
-struct cfattach brswphy_ca = { sizeof(struct brswphy_softc),
+const struct cfattach brswphy_ca = { sizeof(struct brswphy_softc),
brswphymatch, brswphyattach, mii_phy_detach,
};
-/* $OpenBSD: ciphy.c,v 1.27 2015/07/19 06:28:12 yuo Exp $ */
+/* $OpenBSD: ciphy.c,v 1.28 2022/04/06 18:59:29 naddy Exp $ */
/* $FreeBSD: ciphy.c,v 1.1 2004/09/10 20:57:45 wpaul Exp $ */
/*
* Copyright (c) 2004
int ciphymatch(struct device *, void *, void *);
void ciphyattach(struct device *, struct device *, void *);
-struct cfattach ciphy_ca = {
+const struct cfattach ciphy_ca = {
sizeof(struct mii_softc), ciphymatch, ciphyattach, mii_phy_detach
};
-/* $OpenBSD: dcphy.c,v 1.25 2013/12/28 03:30:41 deraadt Exp $ */
+/* $OpenBSD: dcphy.c,v 1.26 2022/04/06 18:59:29 naddy Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
int dcphy_match(struct device *, void *, void *);
void dcphy_attach(struct device *, struct device *, void *);
-struct cfattach dcphy_ca = {
+const struct cfattach dcphy_ca = {
sizeof(struct mii_softc), dcphy_match, dcphy_attach, mii_phy_detach
};
-/* $OpenBSD: eephy.c,v 1.59 2022/01/09 05:42:44 jsg Exp $ */
+/* $OpenBSD: eephy.c,v 1.60 2022/04/06 18:59:29 naddy Exp $ */
/*
* Principal Author: Parag Patel
* Copyright (c) 2001
int eephy_match(struct device *, void *, void *);
void eephy_attach(struct device *, struct device *, void *);
-struct cfattach eephy_ca = {
+const struct cfattach eephy_ca = {
sizeof (struct mii_softc), eephy_match, eephy_attach, mii_phy_detach
};
-/* $OpenBSD: etphy.c,v 1.7 2015/03/14 03:38:48 jsg Exp $ */
+/* $OpenBSD: etphy.c,v 1.8 2022/04/06 18:59:29 naddy Exp $ */
/*
* Copyright (c) 2007 The DragonFly Project. All rights reserved.
NULL },
};
-struct cfattach etphy_ca = {
+const struct cfattach etphy_ca = {
sizeof (struct mii_softc), etphy_match, etphy_attach,
mii_phy_detach
};
-/* $OpenBSD: exphy.c,v 1.23 2015/03/14 03:38:48 jsg Exp $ */
+/* $OpenBSD: exphy.c,v 1.24 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: exphy.c,v 1.23 2000/02/02 23:34:56 thorpej Exp $ */
/*-
int exphymatch(struct device *, void *, void *);
void exphyattach(struct device *, struct device *, void *);
-struct cfattach exphy_ca = {
+const struct cfattach exphy_ca = {
sizeof(struct mii_softc), exphymatch, exphyattach, mii_phy_detach
};
-/* $OpenBSD: gentbi.c,v 1.11 2015/03/14 03:38:48 jsg Exp $ */
+/* $OpenBSD: gentbi.c,v 1.12 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: gentbi.c,v 1.12 2004/04/11 15:40:56 thorpej Exp $ */
/*-
int gentbimatch(struct device *, void *, void *);
void gentbiattach(struct device *, struct device *, void *);
-struct cfattach gentbi_ca = {
+const struct cfattach gentbi_ca = {
sizeof(struct mii_softc), gentbimatch, gentbiattach,
mii_phy_detach
};
-/* $OpenBSD: icsphy.c,v 1.24 2021/03/05 09:37:20 jsg Exp $ */
+/* $OpenBSD: icsphy.c,v 1.25 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: icsphy.c,v 1.17 2000/02/02 23:34:56 thorpej Exp $ */
/*-
int icsphymatch(struct device *, void *, void *);
void icsphyattach(struct device *, struct device *, void *);
-struct cfattach icsphy_ca = {
+const struct cfattach icsphy_ca = {
sizeof(struct mii_softc), icsphymatch, icsphyattach, mii_phy_detach
};
-/* $OpenBSD: inphy.c,v 1.22 2021/03/05 09:37:20 jsg Exp $ */
+/* $OpenBSD: inphy.c,v 1.23 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: inphy.c,v 1.18 2000/02/02 23:34:56 thorpej Exp $ */
/*-
int inphymatch(struct device *, void *, void *);
void inphyattach(struct device *, struct device *, void *);
-struct cfattach inphy_ca = {
+const struct cfattach inphy_ca = {
sizeof(struct mii_softc), inphymatch, inphyattach, mii_phy_detach
};
-/* $OpenBSD: iophy.c,v 1.21 2021/03/05 09:37:20 jsg Exp $ */
+/* $OpenBSD: iophy.c,v 1.22 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: iophy.c,v 1.8 2000/02/02 23:34:56 thorpej Exp $ */
/*
int iophymatch(struct device *, void *, void *);
void iophyattach(struct device *, struct device *, void *);
-struct cfattach iophy_ca = {
+const struct cfattach iophy_ca = {
sizeof(struct mii_softc), iophymatch, iophyattach, mii_phy_detach
};
-/* $OpenBSD: ipgphy.c,v 1.19 2015/07/19 06:28:12 yuo Exp $ */
+/* $OpenBSD: ipgphy.c,v 1.20 2022/04/06 18:59:29 naddy Exp $ */
/*-
* Copyright (c) 2006, Pyun YongHyeon <yongari@FreeBSD.org>
int ipgphy_probe(struct device *, void *, void *);
void ipgphy_attach(struct device *, struct device *, void *);
-struct cfattach ipgphy_ca = {
+const struct cfattach ipgphy_ca = {
sizeof(struct mii_softc), ipgphy_probe, ipgphy_attach, mii_phy_detach
};
-/* $OpenBSD: jmphy.c,v 1.6 2015/03/14 03:38:48 jsg Exp $ */
+/* $OpenBSD: jmphy.c,v 1.7 2022/04/06 18:59:29 naddy Exp $ */
/*-
* Copyright (c) 2008, Pyun YongHyeon <yongari@FreeBSD.org>
* All rights reserved.
jmphy_service, jmphy_status, jmphy_reset,
};
-struct cfattach jmphy_ca = {
+const struct cfattach jmphy_ca = {
sizeof (struct mii_softc), jmphy_match, jmphy_attach,
mii_phy_detach
};
-/* $OpenBSD: luphy.c,v 1.6 2015/03/14 03:38:48 jsg Exp $ */
+/* $OpenBSD: luphy.c,v 1.7 2022/04/06 18:59:29 naddy Exp $ */
/*-
* Copyright (c) 2004 Marius Strobl
int luphymatch(struct device *, void *, void *);
void luphyattach(struct device *, struct device *, void *);
-struct cfattach luphy_ca = {
+const struct cfattach luphy_ca = {
sizeof(struct mii_softc), luphymatch, luphyattach, mii_phy_detach
};
-/* $OpenBSD: lxtphy.c,v 1.22 2022/01/09 05:42:44 jsg Exp $ */
+/* $OpenBSD: lxtphy.c,v 1.23 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: lxtphy.c,v 1.19 2000/02/02 23:34:57 thorpej Exp $ */
/*-
int lxtphymatch(struct device *, void *, void *);
void lxtphyattach(struct device *, struct device *, void *);
-struct cfattach lxtphy_ca = {
+const struct cfattach lxtphy_ca = {
sizeof(struct mii_softc), lxtphymatch, lxtphyattach, mii_phy_detach
};
-/* $OpenBSD: mlphy.c,v 1.5 2014/12/05 15:50:04 mpi Exp $ */
+/* $OpenBSD: mlphy.c,v 1.6 2022/04/06 18:59:29 naddy Exp $ */
/*-
* Copyright (c) 1997, 1998, 1999
int mlphy_probe(struct device *, void *, void *);
void mlphy_attach(struct device *, struct device *, void *);
-struct cfattach mlphy_ca = {
+const struct cfattach mlphy_ca = {
sizeof(struct mii_softc), mlphy_probe, mlphy_attach, mii_phy_detach
};
-/* $OpenBSD: mtdphy.c,v 1.15 2015/03/14 03:38:48 jsg Exp $ */
+/* $OpenBSD: mtdphy.c,v 1.16 2022/04/06 18:59:29 naddy Exp $ */
/*
* Copyright (c) 1998, 1999 Jason L. Wright (jason@thought.net)
int mtdphymatch(struct device *, void *, void *);
void mtdphyattach(struct device *, struct device *, void *);
-struct cfattach mtdphy_ca = {
+const struct cfattach mtdphy_ca = {
sizeof(struct mii_softc), mtdphymatch, mtdphyattach, mii_phy_detach
};
-/* $OpenBSD: nsgphy.c,v 1.25 2015/03/14 03:38:48 jsg Exp $ */
+/* $OpenBSD: nsgphy.c,v 1.26 2022/04/06 18:59:29 naddy Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
* Copyright (c) 2001
int nsgphymatch(struct device*, void *, void *);
void nsgphyattach(struct device *, struct device *, void *);
-struct cfattach nsgphy_ca = {
+const struct cfattach nsgphy_ca = {
sizeof(struct mii_softc), nsgphymatch, nsgphyattach, mii_phy_detach
};
-/* $OpenBSD: nsphy.c,v 1.28 2015/03/14 03:38:48 jsg Exp $ */
+/* $OpenBSD: nsphy.c,v 1.29 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: nsphy.c,v 1.25 2000/02/02 23:34:57 thorpej Exp $ */
/*-
int nsphymatch(struct device *, void *, void *);
void nsphyattach(struct device *, struct device *, void *);
-struct cfattach nsphy_ca = {
+const struct cfattach nsphy_ca = {
sizeof(struct mii_softc), nsphymatch, nsphyattach, mii_phy_detach
};
-/* $OpenBSD: nsphyter.c,v 1.19 2015/03/14 03:38:48 jsg Exp $ */
+/* $OpenBSD: nsphyter.c,v 1.20 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: nsphyter.c,v 1.5 2000/02/02 23:34:57 thorpej Exp $ */
/*-
int nsphytermatch(struct device *, void *, void *);
void nsphyterattach(struct device *, struct device *, void *);
-struct cfattach nsphyter_ca = {
+const struct cfattach nsphyter_ca = {
sizeof(struct mii_softc), nsphytermatch, nsphyterattach,
mii_phy_detach
};
-/* $OpenBSD: qsphy.c,v 1.21 2015/03/14 03:38:48 jsg Exp $ */
+/* $OpenBSD: qsphy.c,v 1.22 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: qsphy.c,v 1.19 2000/02/02 23:34:57 thorpej Exp $ */
/*-
int qsphymatch(struct device *, void *, void *);
void qsphyattach(struct device *, struct device *, void *);
-struct cfattach qsphy_ca = {
+const struct cfattach qsphy_ca = {
sizeof(struct mii_softc), qsphymatch, qsphyattach, mii_phy_detach
};
-/* $OpenBSD: rdcphy.c,v 1.3 2014/12/05 15:50:04 mpi Exp $ */
+/* $OpenBSD: rdcphy.c,v 1.4 2022/04/06 18:59:29 naddy Exp $ */
/*-
* Copyright (c) 2010, Pyun YongHyeon <yongari@FreeBSD.org>
* All rights reserved.
NULL },
};
-struct cfattach rdcphy_ca = {
+const struct cfattach rdcphy_ca = {
sizeof(struct rdcphy_softc), rdcphy_match, rdcphy_attach,
mii_phy_detach
};
-/* $OpenBSD: rgephy.c,v 1.40 2018/02/27 19:47:10 kettenis Exp $ */
+/* $OpenBSD: rgephy.c,v 1.41 2022/04/06 18:59:29 naddy Exp $ */
/*
* Copyright (c) 2003
* Bill Paul <wpaul@windriver.com>. All rights reserved.
int rgephymatch(struct device *, void *, void *);
void rgephyattach(struct device *, struct device *, void *);
-struct cfattach rgephy_ca = { sizeof(struct mii_softc),
+const struct cfattach rgephy_ca = { sizeof(struct mii_softc),
rgephymatch, rgephyattach, mii_phy_detach,
};
-/* $OpenBSD: rlphy.c,v 1.33 2014/11/24 00:13:42 brad Exp $ */
+/* $OpenBSD: rlphy.c,v 1.34 2022/04/06 18:59:29 naddy Exp $ */
/*
* Copyright (c) 1998, 1999 Jason L. Wright (jason@thought.net)
int rlphymatch(struct device *, void *, void *);
void rlphyattach(struct device *, struct device *, void *);
-struct cfattach rlphy_ca = {
+const struct cfattach rlphy_ca = {
sizeof(struct mii_softc), rlphymatch, rlphyattach, mii_phy_detach
};
-/* $OpenBSD: sqphy.c,v 1.21 2015/03/14 03:38:48 jsg Exp $ */
+/* $OpenBSD: sqphy.c,v 1.22 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: sqphy.c,v 1.17 2000/02/02 23:34:57 thorpej Exp $ */
/*-
int sqphymatch(struct device *, void *, void *);
void sqphyattach(struct device *, struct device *, void *);
-struct cfattach sqphy_ca = {
+const struct cfattach sqphy_ca = {
sizeof(struct mii_softc), sqphymatch, sqphyattach, mii_phy_detach
};
-/* $OpenBSD: tlphy.c,v 1.21 2013/12/28 03:30:41 deraadt Exp $ */
+/* $OpenBSD: tlphy.c,v 1.22 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: tlphy.c,v 1.26 2000/07/04 03:29:00 thorpej Exp $ */
/*-
int tlphymatch(struct device *, void *, void *);
void tlphyattach(struct device *, struct device *, void *);
-struct cfattach tlphy_ca = {
+const struct cfattach tlphy_ca = {
sizeof(struct tlphy_softc), tlphymatch, tlphyattach, mii_phy_detach
};
-/* $OpenBSD: tqphy.c,v 1.18 2015/03/14 03:38:48 jsg Exp $ */
+/* $OpenBSD: tqphy.c,v 1.19 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: tqphy.c,v 1.9 2000/02/02 23:34:57 thorpej Exp $ */
/*
void tqphyattach(struct device *, struct device *, void *);
int tqphydetach(struct device *, int);
-struct cfattach tqphy_ca = {
+const struct cfattach tqphy_ca = {
sizeof(struct mii_softc), tqphymatch, tqphyattach, mii_phy_detach
};
-/* $OpenBSD: txphy.c,v 1.11 2013/12/28 03:30:41 deraadt Exp $ */
+/* $OpenBSD: txphy.c,v 1.12 2022/04/06 18:59:29 naddy Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
int txphymatch(struct device *, void *, void *);
void txphyattach(struct device *, struct device *, void *);
-struct cfattach txphy_ca = {
+const struct cfattach txphy_ca = {
sizeof(struct mii_softc), txphymatch, txphyattach, mii_phy_detach
};
-/* $OpenBSD: ukphy.c,v 1.24 2016/07/11 09:50:02 kettenis Exp $ */
+/* $OpenBSD: ukphy.c,v 1.25 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: ukphy.c,v 1.9 2000/02/02 23:34:57 thorpej Exp $ */
/*-
int ukphymatch(struct device *, void *, void *);
void ukphyattach(struct device *, struct device *, void *);
-struct cfattach ukphy_ca = {
+const struct cfattach ukphy_ca = {
sizeof(struct mii_softc), ukphymatch, ukphyattach, mii_phy_detach
};
-/* $OpenBSD: urlphy.c,v 1.17 2015/03/14 03:38:48 jsg Exp $ */
+/* $OpenBSD: urlphy.c,v 1.18 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: urlphy.c,v 1.1 2002/03/28 21:07:53 ichiro Exp $ */
/*
* Copyright (c) 2001, 2002
int urlphy_match(struct device *, void *, void *);
void urlphy_attach(struct device *, struct device *, void *);
-struct cfattach urlphy_ca = {
+const struct cfattach urlphy_ca = {
sizeof(struct mii_softc), urlphy_match, urlphy_attach, mii_phy_detach
};
-/* $OpenBSD: xmphy.c,v 1.23 2015/07/19 06:28:12 yuo Exp $ */
+/* $OpenBSD: xmphy.c,v 1.24 2022/04/06 18:59:29 naddy Exp $ */
/*
* Copyright (c) 2000
int xmphy_probe(struct device *, void *, void *);
void xmphy_attach(struct device *, struct device *, void *);
-struct cfattach xmphy_ca = {
+const struct cfattach xmphy_ca = {
sizeof(struct mii_softc), xmphy_probe, xmphy_attach, mii_phy_detach
};
-/* $OpenBSD: onewire.c,v 1.18 2019/11/30 18:14:47 cheloha Exp $ */
+/* $OpenBSD: onewire.c,v 1.19 2022/04/06 18:59:29 naddy Exp $ */
/*
* Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org>
void onewire_createthread(void *);
void onewire_scan(struct onewire_softc *);
-struct cfattach onewire_ca = {
+const struct cfattach onewire_ca = {
sizeof(struct onewire_softc),
onewire_match,
onewire_attach,
-/* $OpenBSD: owctr.c,v 1.8 2015/08/27 05:49:23 deraadt Exp $ */
+/* $OpenBSD: owctr.c,v 1.9 2022/04/06 18:59:29 naddy Exp $ */
/*
* Copyright (c) 2010 John L. Scarfone <john@scarfone.net>
*
void owctr_update(void *);
void owctr_update_counter(void *, int);
-struct cfattach owctr_ca = {
+const struct cfattach owctr_ca = {
sizeof(struct owctr_softc),
owctr_match,
owctr_attach,
-/* $OpenBSD: owid.c,v 1.11 2015/03/14 03:38:48 jsg Exp $ */
+/* $OpenBSD: owid.c,v 1.12 2022/04/06 18:59:29 naddy Exp $ */
/*
* Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org>
int owid_detach(struct device *, int);
int owid_activate(struct device *, int);
-struct cfattach owid_ca = {
+const struct cfattach owid_ca = {
sizeof(struct owid_softc),
owid_match,
owid_attach,
-/* $OpenBSD: owsbm.c,v 1.10 2015/03/14 03:38:48 jsg Exp $ */
+/* $OpenBSD: owsbm.c,v 1.11 2022/04/06 18:59:29 naddy Exp $ */
/*
* Copyright (c) 2007 Aaron Linville <aaron@linville.org>
void owsbm_update(void *);
-struct cfattach owsbm_ca = {
+const struct cfattach owsbm_ca = {
sizeof(struct owsbm_softc),
owsbm_match,
owsbm_attach,
-/* $OpenBSD: owtemp.c,v 1.17 2019/11/30 18:14:47 cheloha Exp $ */
+/* $OpenBSD: owtemp.c,v 1.18 2022/04/06 18:59:29 naddy Exp $ */
/*
* Copyright (c) 2006, 2009 Alexander Yurchenko <grange@openbsd.org>
void owtemp_update(void *);
-struct cfattach owtemp_ca = {
+const struct cfattach owtemp_ca = {
sizeof(struct owtemp_softc),
owtemp_match,
owtemp_attach,
-/* $OpenBSD: com_pci.c,v 1.1 2020/03/06 08:39:34 patrick Exp $ */
+/* $OpenBSD: com_pci.c,v 1.2 2022/04/06 18:59:29 naddy Exp $ */
/*
* Copyright (c) 2020 Patrick Wildt <patrick@blueri.se>
*
uint32_t sc_priv[LPSS_REG_NUM];
};
-struct cfattach com_pci_ca = {
+const struct cfattach com_pci_ca = {
sizeof(struct com_pci_softc), com_pci_match,
com_pci_attach, com_pci_detach, com_pci_activate,
};
-/* $OpenBSD: if_aq_pci.c,v 1.15 2022/04/02 09:00:45 jmatthew Exp $ */
+/* $OpenBSD: if_aq_pci.c,v 1.16 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: if_aq.c,v 1.27 2021/06/16 00:21:18 riastradh Exp $ */
/*
.get_stats = aq_fw2x_get_stats,
};
-struct cfattach aq_ca = {
+const struct cfattach aq_ca = {
sizeof(struct aq_softc), aq_match, aq_attach, NULL,
aq_activate
};
-/* $OpenBSD: if_igc.c,v 1.6 2022/01/09 23:28:19 patrick Exp $ */
+/* $OpenBSD: if_igc.c,v 1.7 2022/04/06 18:59:29 naddy Exp $ */
/*-
* SPDX-License-Identifier: BSD-2-Clause
*
NULL, "igc", DV_IFNET
};
-struct cfattach igc_ca = {
+const struct cfattach igc_ca = {
sizeof(struct igc_softc), igc_match, igc_attach, igc_detach
};
-/* $OpenBSD: if_iwx.c,v 1.140 2022/03/20 12:01:58 stsp Exp $ */
+/* $OpenBSD: if_iwx.c,v 1.141 2022/04/06 18:59:29 naddy Exp $ */
/*
* Copyright (c) 2014, 2016 genua gmbh <info@genua.de>
NULL, "iwx", DV_IFNET
};
-struct cfattach iwx_ca = {
+const struct cfattach iwx_ca = {
sizeof(struct iwx_softc), iwx_match, iwx_attach,
NULL, iwx_activate
};
-/* $OpenBSD: trm_pci.c,v 1.10 2020/07/20 14:41:14 krw Exp $
+/* $OpenBSD: trm_pci.c,v 1.11 2022/04/06 18:59:29 naddy Exp $
* ------------------------------------------------------------
* O.S : OpenBSD
* FILE NAME : trm_pci.c
int trm_pci_probe (struct device *, void *, void *);
void trm_pci_attach (struct device *, struct device *, void *);
-struct cfattach trm_pci_ca = {
+const struct cfattach trm_pci_ca = {
sizeof(struct trm_softc),
trm_pci_probe,
trm_pci_attach,
-/* $OpenBSD: pckbd.c,v 1.46 2022/01/09 05:42:58 jsg Exp $ */
+/* $OpenBSD: pckbd.c,v 1.47 2022/04/06 18:59:29 naddy Exp $ */
/* $NetBSD: pckbd.c,v 1.24 2000/06/05 22:20:57 sommerfeld Exp $ */
/*-
void pckbdattach(struct device *, struct device *, void *);
int pckbdactivate(struct device *, int);
-struct cfattach pckbd_ca = {
+const struct cfattach pckbd_ca = {
sizeof(struct pckbd_softc),
pckbdprobe,
pckbdattach,
-/* $OpenBSD: pms.c,v 1.95 2020/10/23 22:06:27 bru Exp $ */
+/* $OpenBSD: pms.c,v 1.96 2022/04/06 18:59:30 naddy Exp $ */
/* $NetBSD: psm.c,v 1.11 2000/06/05 22:20:57 sommerfeld Exp $ */
/*-
int elantech_set_absolute_mode_v3(struct pms_softc *);
int elantech_set_absolute_mode_v4(struct pms_softc *);
-struct cfattach pms_ca = {
+const struct cfattach pms_ca = {
sizeof(struct pms_softc), pmsprobe, pmsattach, NULL,
pmsactivate
};
-/* $OpenBSD: aic_pcmcia.c,v 1.18 2021/03/07 06:20:09 jsg Exp $ */
+/* $OpenBSD: aic_pcmcia.c,v 1.19 2022/04/06 18:59:30 naddy Exp $ */
/* $NetBSD: aic_pcmcia.c,v 1.6 1998/07/19 17:28:15 christos Exp $ */
/*
void *sc_ih; /* interrupt handler */
};
-struct cfattach aic_pcmcia_ca = {
+const struct cfattach aic_pcmcia_ca = {
sizeof(struct aic_pcmcia_softc), aic_pcmcia_match, aic_pcmcia_attach,
aic_pcmcia_detach
};
-/* $OpenBSD: cfxga.c,v 1.31 2020/05/25 09:55:49 jsg Exp $ */
+/* $OpenBSD: cfxga.c,v 1.32 2022/04/06 18:59:30 naddy Exp $ */
/*
* Copyright (c) 2005, 2006, Matthieu Herrb and Miodrag Vallat
int cfxga_detach(struct device *, int);
int cfxga_activate(struct device *, int);
-struct cfattach cfxga_ca = {
+const struct cfattach cfxga_ca = {
sizeof(struct cfxga_softc), cfxga_match, cfxga_attach,
cfxga_detach, cfxga_activate
};
-/* $OpenBSD: com_pcmcia.c,v 1.58 2021/03/07 06:20:09 jsg Exp $ */
+/* $OpenBSD: com_pcmcia.c,v 1.59 2022/04/06 18:59:30 naddy Exp $ */
/* $NetBSD: com_pcmcia.c,v 1.15 1998/08/22 17:47:58 msaitoh Exp $ */
/*
void *sc_ih; /* interrupt handler */
};
-struct cfattach com_pcmcia_ca = {
+const struct cfattach com_pcmcia_ca = {
sizeof(struct com_pcmcia_softc), com_pcmcia_match, com_pcmcia_attach,
com_pcmcia_detach, com_pcmcia_activate
};
-/* $OpenBSD: if_an_pcmcia.c,v 1.26 2015/11/24 17:11:40 mpi Exp $ */
+/* $OpenBSD: if_an_pcmcia.c,v 1.27 2022/04/06 18:59:30 naddy Exp $ */
/*
* Copyright (c) 1999 Michael Shalayeff
#define AN_PCMCIA_ATTACHED 3
};
-struct cfattach an_pcmcia_ca = {
+const struct cfattach an_pcmcia_ca = {
sizeof(struct an_pcmcia_softc), an_pcmcia_match, an_pcmcia_attach,
an_pcmcia_detach, an_pcmcia_activate
};
-/* $OpenBSD: if_ep_pcmcia.c,v 1.49 2021/03/07 06:20:09 jsg Exp $ */
+/* $OpenBSD: if_ep_pcmcia.c,v 1.50 2022/04/06 18:59:30 naddy Exp $ */
/* $NetBSD: if_ep_pcmcia.c,v 1.16 1998/08/17 23:20:40 thorpej Exp $ */
/*-
struct pcmcia_function *sc_pf; /* our PCMCIA function */
};
-struct cfattach ep_pcmcia_ca = {
+const struct cfattach ep_pcmcia_ca = {
sizeof(struct ep_pcmcia_softc), ep_pcmcia_match, ep_pcmcia_attach,
ep_pcmcia_detach, ep_pcmcia_activate
};
-/* $OpenBSD: if_malo.c,v 1.98 2022/02/14 23:02:15 jsg Exp $ */
+/* $OpenBSD: if_malo.c,v 1.99 2022/04/06 18:59:30 naddy Exp $ */
/*
* Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org>
void *sc_ih;
};
-struct cfattach malo_pcmcia_ca = {
+const struct cfattach malo_pcmcia_ca = {
sizeof(struct malo_pcmcia_softc),
malo_pcmcia_match,
malo_pcmcia_attach,
-/* $OpenBSD: if_ne_pcmcia.c,v 1.100 2021/03/07 06:20:09 jsg Exp $ */
+/* $OpenBSD: if_ne_pcmcia.c,v 1.101 2022/04/06 18:59:30 naddy Exp $ */
/* $NetBSD: if_ne_pcmcia.c,v 1.17 1998/08/15 19:00:04 thorpej Exp $ */
/*
u_int8_t[ETHER_ADDR_LEN]);
int ne_pcmcia_ax88190_set_iobase(struct ne_pcmcia_softc *);
-struct cfattach ne_pcmcia_ca = {
+const struct cfattach ne_pcmcia_ca = {
sizeof(struct ne_pcmcia_softc), ne_pcmcia_match, ne_pcmcia_attach,
ne_pcmcia_detach, ne_pcmcia_activate
};
-/* $OpenBSD: if_sm_pcmcia.c,v 1.38 2021/03/07 06:20:09 jsg Exp $ */
+/* $OpenBSD: if_sm_pcmcia.c,v 1.39 2022/04/06 18:59:30 naddy Exp $ */
/* $NetBSD: if_sm_pcmcia.c,v 1.11 1998/08/15 20:47:32 thorpej Exp $ */
/*-
struct pcmcia_function *sc_pf; /* our PCMCIA function */
};
-struct cfattach sm_pcmcia_ca = {
+const struct cfattach sm_pcmcia_ca = {
sizeof(struct sm_pcmcia_softc), sm_pcmcia_match, sm_pcmcia_attach,
sm_pcmcia_detach, sm_pcmcia_activate
};
-/* $OpenBSD: if_wi_pcmcia.c,v 1.75 2019/12/31 10:05:33 mpi Exp $ */
+/* $OpenBSD: if_wi_pcmcia.c,v 1.76 2022/04/06 18:59:30 naddy Exp $ */
/* $NetBSD: if_wi_pcmcia.c,v 1.14 2001/11/26 04:34:56 ichiro Exp $ */
/*
struct pcmcia_function *sc_pf;
};
-struct cfattach wi_pcmcia_ca = {
+const struct cfattach wi_pcmcia_ca = {
sizeof (struct wi_pcmcia_softc), wi_pcmcia_match, wi_pcmcia_attach,
wi_pcmcia_detach, wi_pcmcia_activate
};
-/* $OpenBSD: if_xe.c,v 1.61 2021/03/07 06:20:09 jsg Exp $ */
+/* $OpenBSD: if_xe.c,v 1.62 2022/04/06 18:59:30 naddy Exp $ */
/*
* Copyright (c) 1999 Niklas Hallqvist, Brandon Creighton, Job de Haas
NULL, "xe", DV_IFNET
};
-struct cfattach xe_pcmcia_ca = {
+const struct cfattach xe_pcmcia_ca = {
sizeof (struct xe_pcmcia_softc), xe_pcmcia_match, xe_pcmcia_attach,
xe_pcmcia_detach, xe_pcmcia_activate
};
-/* $OpenBSD: pcmcia.c,v 1.49 2021/03/07 06:20:09 jsg Exp $ */
+/* $OpenBSD: pcmcia.c,v 1.50 2022/04/06 18:59:30 naddy Exp $ */
/* $NetBSD: pcmcia.c,v 1.9 1998/08/13 02:10:55 eeh Exp $ */
/*
NULL, "pcmcia", DV_DULL
};
-struct cfattach pcmcia_ca = {
+const struct cfattach pcmcia_ca = {
sizeof(struct pcmcia_softc), pcmcia_match, pcmcia_attach, NULL,
pcmcia_activate
};
-/* $OpenBSD: wdc_pcmcia.c,v 1.33 2021/03/07 06:20:09 jsg Exp $ */
+/* $OpenBSD: wdc_pcmcia.c,v 1.34 2022/04/06 18:59:30 naddy Exp $ */
/* $NetBSD: wdc_pcmcia.c,v 1.19 1999/02/19 21:49:43 abs Exp $ */
/*-
int wdc_pcmcia_detach(struct device *, int);
int wdc_pcmcia_activate(struct device *, int);
-struct cfattach wdc_pcmcia_ca = {
+const struct cfattach wdc_pcmcia_ca = {
sizeof(struct wdc_pcmcia_softc), wdc_pcmcia_match, wdc_pcmcia_attach,
wdc_pcmcia_detach, wdc_pcmcia_activate
};
-/* $OpenBSD: com_puc.c,v 1.26 2021/03/05 13:20:19 jsg Exp $ */
+/* $OpenBSD: com_puc.c,v 1.27 2022/04/06 18:59:30 naddy Exp $ */
/*
* Copyright (c) 1997 - 1999, Jason Downs. All rights reserved.
void com_puc_attach(struct device *, struct device *, void *);
int com_puc_detach(struct device *, int);
-struct cfattach com_puc_ca = {
+const struct cfattach com_puc_ca = {
sizeof(struct com_softc), com_puc_match,
com_puc_attach, com_puc_detach, com_activate
};
-/* $OpenBSD: lpt_puc.c,v 1.10 2021/03/05 13:20:19 jsg Exp $ */
+/* $OpenBSD: lpt_puc.c,v 1.11 2022/04/06 18:59:30 naddy Exp $ */
/* $NetBSD: lpt_puc.c,v 1.1 1998/06/26 18:52:41 cgd Exp $ */
/*
void lpt_puc_attach(struct device *, struct device *, void *);
int lpt_puc_detach(struct device *, int);
-struct cfattach lpt_puc_ca = {
+const struct cfattach lpt_puc_ca = {
sizeof(struct lpt_softc), lpt_puc_probe, lpt_puc_attach, lpt_puc_detach,
};
-/* $OpenBSD: radio.c,v 1.12 2022/03/21 19:22:40 miod Exp $ */
+/* $OpenBSD: radio.c,v 1.13 2022/04/06 18:59:27 naddy Exp $ */
/* $RuOBSD: radio.c,v 1.7 2001/12/04 06:03:05 tm Exp $ */
/*
int radioactivate(struct device *, int);
int radioprint(void *, const char *);
-struct cfattach radio_ca = {
+const struct cfattach radio_ca = {
sizeof(struct radio_softc), radioprobe, radioattach,
radiodetach, radioactivate
};
-/* $OpenBSD: rd.c,v 1.13 2017/12/30 23:08:29 guenther Exp $ */
+/* $OpenBSD: rd.c,v 1.14 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2011 Matthew Dempsky <matthew@dempsky.org>
struct disk sc_dk;
};
-struct cfattach rd_ca = {
+const struct cfattach rd_ca = {
sizeof(struct rd_softc),
rd_match,
rd_attach,
-/* $OpenBSD: if_bwfm_sdio.c,v 1.43 2022/03/18 11:09:39 miod Exp $ */
+/* $OpenBSD: if_bwfm_sdio.c,v 1.44 2022/04/06 18:59:30 naddy Exp $ */
/*
* Copyright (c) 2010-2016 Broadcom Corporation
* Copyright (c) 2016,2017 Patrick Wildt <patrick@blueri.se>
.bc_activate = bwfm_sdio_buscore_activate,
};
-struct cfattach bwfm_sdio_ca = {
+const struct cfattach bwfm_sdio_ca = {
sizeof(struct bwfm_sdio_softc),
bwfm_sdio_match,
bwfm_sdio_attach,
-/* $OpenBSD: sdmmc.c,v 1.58 2020/08/24 15:06:10 kettenis Exp $ */
+/* $OpenBSD: sdmmc.c,v 1.59 2022/04/06 18:59:30 naddy Exp $ */
/*
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
#define DPRINTF(n,s) do {} while (0)
#endif
-struct cfattach sdmmc_ca = {
+const struct cfattach sdmmc_ca = {
sizeof(struct sdmmc_softc), sdmmc_match, sdmmc_attach, sdmmc_detach,
sdmmc_activate
};
-/* $OpenBSD: softraid.c,v 1.422 2022/03/20 13:14:02 krw Exp $ */
+/* $OpenBSD: softraid.c,v 1.423 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org>
int sr_detach(struct device *, int);
void sr_map_root(void);
-struct cfattach softraid_ca = {
+const struct cfattach softraid_ca = {
sizeof(struct sr_softc), sr_match, sr_attach, sr_detach,
};
-/* $OpenBSD: asc_tc.c,v 1.12 2014/01/18 22:33:59 dlg Exp $ */
+/* $OpenBSD: asc_tc.c,v 1.13 2022/04/06 18:59:30 naddy Exp $ */
/* $NetBSD: asc_tc.c,v 1.19 2001/11/15 09:48:19 lukem Exp $ */
/*-
int asc_tc_match(struct device *, void *, void *);
void asc_tc_attach(struct device *, struct device *, void *);
-struct cfattach asc_tc_ca = {
+const struct cfattach asc_tc_ca = {
sizeof(struct asc_tc_softc), asc_tc_match, asc_tc_attach
};
-/* $OpenBSD: asc_tcds.c,v 1.8 2014/01/18 22:33:59 dlg Exp $ */
+/* $OpenBSD: asc_tcds.c,v 1.9 2022/04/06 18:59:30 naddy Exp $ */
/* $NetBSD: asc_tcds.c,v 1.5 2001/11/15 09:48:19 lukem Exp $ */
/*-
void asc_tcds_attach(struct device *, struct device *, void *);
/* Linkup to the rest of the kernel */
-struct cfattach asc_tcds_ca = {
+const struct cfattach asc_tcds_ca = {
sizeof(struct asc_tcds_softc), asc_tcds_match, asc_tcds_attach
};
-/* $OpenBSD: if_le_ioasic.c,v 1.18 2017/10/13 08:58:42 mpi Exp $ */
+/* $OpenBSD: if_le_ioasic.c,v 1.19 2022/04/06 18:59:30 naddy Exp $ */
/* $NetBSD: if_le_ioasic.c,v 1.18 2001/11/13 06:26:10 lukem Exp $ */
/*
int le_ioasic_match(struct device *, void *, void *);
void le_ioasic_attach(struct device *, struct device *, void *);
-struct cfattach le_ioasic_ca = {
+const struct cfattach le_ioasic_ca = {
sizeof(struct le_softc), le_ioasic_match, le_ioasic_attach
};
-/* $OpenBSD: if_le_tc.c,v 1.13 2022/02/21 08:27:51 jsg Exp $ */
+/* $OpenBSD: if_le_tc.c,v 1.14 2022/04/06 18:59:30 naddy Exp $ */
/* $NetBSD: if_le_tc.c,v 1.12 2001/11/13 06:26:10 lukem Exp $ */
/*
int le_tc_match(struct device *, void *, void *);
void le_tc_attach(struct device *, struct device *, void *);
-struct cfattach le_tc_ca = {
+const struct cfattach le_tc_ca = {
sizeof(struct le_softc), le_tc_match, le_tc_attach
};
-/* $OpenBSD: tc.c,v 1.20 2010/11/11 17:54:54 miod Exp $ */
+/* $OpenBSD: tc.c,v 1.21 2022/04/06 18:59:30 naddy Exp $ */
/* $NetBSD: tc.c,v 1.29 2001/11/13 06:26:10 lukem Exp $ */
/*
int tcmatch(struct device *, void *, void *);
void tcattach(struct device *, struct device *, void *);
-struct cfattach tc_ca = {
+const struct cfattach tc_ca = {
sizeof(struct tc_softc), tcmatch, tcattach
};
-/* $OpenBSD: tcds.c,v 1.9 2017/10/27 20:21:53 mpi Exp $ */
+/* $OpenBSD: tcds.c,v 1.10 2022/04/06 18:59:30 naddy Exp $ */
/* $NetBSD: tcds.c,v 1.3 2001/11/13 06:26:10 lukem Exp $ */
/*-
int tcdsprint(void *, const char *);
int tcdssubmatch(struct device *, void *, void *);
-struct cfattach tcds_ca = {
+const struct cfattach tcds_ca = {
sizeof(struct tcds_softc), tcdsmatch, tcdsattach,
};
-/* $OpenBSD: video.c,v 1.55 2022/03/21 19:22:40 miod Exp $ */
+/* $OpenBSD: video.c,v 1.56 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2008 Robert Nagy <robert@openbsd.org>
int video_stop(struct video_softc *);
int video_claim(struct video_softc *, struct process *);
-struct cfattach video_ca = {
+const struct cfattach video_ca = {
sizeof(struct video_softc), videoprobe, videoattach,
videodetach, videoactivate
};
-/* $OpenBSD: vscsi.c,v 1.58 2020/12/25 12:59:52 visa Exp $ */
+/* $OpenBSD: vscsi.c,v 1.59 2022/04/06 18:59:27 naddy Exp $ */
/*
* Copyright (c) 2008 David Gwynne <dlg@openbsd.org>
#define DEVNAME(_s) ((_s)->sc_dev.dv_xname)
#define DEV2SC(_d) ((struct vscsi_softc *)device_lookup(&vscsi_cd, minor(_d)))
-struct cfattach vscsi_ca = {
+const struct cfattach vscsi_ca = {
sizeof(struct vscsi_softc),
vscsi_match,
vscsi_attach
-/* $OpenBSD: wsdisplay.c,v 1.143 2021/02/09 14:37:13 jcs Exp $ */
+/* $OpenBSD: wsdisplay.c,v 1.144 2022/04/06 18:59:30 naddy Exp $ */
/* $NetBSD: wsdisplay.c,v 1.82 2005/02/27 00:27:52 perry Exp $ */
/*
NULL, "wsdisplay", DV_TTY
};
-struct cfattach wsdisplay_emul_ca = {
+const struct cfattach wsdisplay_emul_ca = {
sizeof(struct wsdisplay_softc), wsdisplay_emul_match,
wsdisplay_emul_attach, wsdisplay_emul_detach, wsdisplay_activate
};
-/* $OpenBSD: wskbd.c,v 1.111 2022/02/16 06:23:42 anton Exp $ */
+/* $OpenBSD: wskbd.c,v 1.112 2022/04/06 18:59:30 naddy Exp $ */
/* $NetBSD: wskbd.c,v 1.80 2005/05/04 01:52:16 augustss Exp $ */
/*
NULL, "wskbd", DV_TTY
};
-struct cfattach wskbd_ca = {
+const struct cfattach wskbd_ca = {
sizeof (struct wskbd_softc), wskbd_match, wskbd_attach,
wskbd_detach, wskbd_activate
};
-/* $OpenBSD: wsmouse.c,v 1.67 2021/03/21 16:20:49 bru Exp $ */
+/* $OpenBSD: wsmouse.c,v 1.68 2022/04/06 18:59:30 naddy Exp $ */
/* $NetBSD: wsmouse.c,v 1.35 2005/02/27 00:27:52 perry Exp $ */
/*
NULL, "wsmouse", DV_TTY
};
-struct cfattach wsmouse_ca = {
+const struct cfattach wsmouse_ca = {
sizeof (struct wsmouse_softc), wsmouse_match, wsmouse_attach,
wsmouse_detach, wsmouse_activate
};