-/* $OpenBSD: acpi_machdep.c,v 1.15 2021/05/17 17:25:13 kettenis Exp $ */
+/* $OpenBSD: acpi_machdep.c,v 1.16 2021/10/24 17:52:28 mpi Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis
*
void acpi_fdt_attach(struct device *, struct device *, void *);
void acpi_attach(struct device *, struct device *, void *);
-struct cfattach acpi_fdt_ca = {
+const struct cfattach acpi_fdt_ca = {
sizeof(struct acpi_softc), acpi_fdt_match, acpi_fdt_attach
};
-/* $OpenBSD: cpu.c,v 1.55 2021/06/10 04:49:48 jsg Exp $ */
+/* $OpenBSD: cpu.c,v 1.56 2021/10/24 17:52:28 mpi 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: acpipci.c,v 1.32 2021/10/10 21:54:50 kettenis Exp $ */
+/* $OpenBSD: acpipci.c,v 1.33 2021/10/24 17:52:28 mpi Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis
*
int acpipci_match(struct device *, void *, void *);
void acpipci_attach(struct device *, struct device *, void *);
-struct cfattach acpipci_ca = {
+const struct cfattach acpipci_ca = {
sizeof(struct acpipci_softc), acpipci_match, acpipci_attach
};
-/* $OpenBSD: agintc.c,v 1.34 2021/10/21 22:25:03 patrick Exp $ */
+/* $OpenBSD: agintc.c,v 1.35 2021/10/24 17:52:28 mpi Exp $ */
/*
* Copyright (c) 2007, 2009, 2011, 2017 Dale Rahn <drahn@dalerahn.com>
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
int agintc_ipi_combined(void *);
void agintc_send_ipi(struct cpu_info *, int);
-struct cfattach agintc_ca = {
+const struct cfattach agintc_ca = {
sizeof (struct agintc_softc), agintc_match, agintc_attach
};
struct interrupt_controller sc_ic;
};
-struct cfattach agintcmsi_ca = {
+const struct cfattach agintcmsi_ca = {
sizeof (struct agintc_msi_softc), agintc_msi_match, agintc_msi_attach
};
-/* $OpenBSD: agtimer.c,v 1.18 2021/03/11 11:16:56 jsg Exp $ */
+/* $OpenBSD: agtimer.c,v 1.19 2021/10/24 17:52:28 mpi Exp $ */
/*
* Copyright (c) 2011 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2013 Patrick Wildt <patrick@blueri.se>
void agtimer_set_clockrate(int32_t new_frequency);
void agtimer_startclock(void);
-struct cfattach agtimer_ca = {
+const struct cfattach agtimer_ca = {
sizeof (struct agtimer_softc), agtimer_match, agtimer_attach
};
-/* $OpenBSD: ampintc.c,v 1.25 2021/10/24 14:54:52 patrick Exp $ */
+/* $OpenBSD: ampintc.c,v 1.26 2021/10/24 17:52:28 mpi Exp $ */
/*
* Copyright (c) 2007,2009,2011 Dale Rahn <drahn@openbsd.org>
*
int ampintc_ipi_ddb(void *);
void ampintc_send_ipi(struct cpu_info *, int);
-struct cfattach ampintc_ca = {
+const struct cfattach ampintc_ca = {
sizeof (struct ampintc_softc), ampintc_match, ampintc_attach
};
struct interrupt_controller sc_ic;
};
-struct cfattach ampintcmsi_ca = {
+const struct cfattach ampintcmsi_ca = {
sizeof (struct ampintc_msi_softc), ampintc_msi_match, ampintc_msi_attach
};
-/* $OpenBSD: apm.c,v 1.7 2021/03/26 22:55:48 kn Exp $ */
+/* $OpenBSD: apm.c,v 1.8 2021/10/24 17:52:28 mpi 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: bcm2836_intr.c,v 1.12 2021/07/02 19:55:00 kettenis Exp $ */
+/* $OpenBSD: bcm2836_intr.c,v 1.13 2021/10/24 17:52:28 mpi Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2015 Patrick Wildt <patrick@blueri.se>
void bcm_intc_handle_ipi(void);
void bcm_intc_send_ipi(struct cpu_info *, int);
-struct cfattach bcmintc_ca = {
+const struct cfattach bcmintc_ca = {
sizeof (struct bcm_intc_softc), bcm_intc_match, bcm_intc_attach
};
-/* $OpenBSD: efi.c,v 1.10 2021/05/15 11:30:27 kettenis Exp $ */
+/* $OpenBSD: efi.c,v 1.11 2021/10/24 17:52:28 mpi Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
int efi_match(struct device *, void *, void *);
void efi_attach(struct device *, struct device *, void *);
-struct cfattach efi_ca = {
+const struct cfattach efi_ca = {
sizeof(struct efi_softc), efi_match, efi_attach
};
-/* $OpenBSD: mainbus.c,v 1.21 2021/05/05 14:13:57 kettenis Exp $ */
+/* $OpenBSD: mainbus.c,v 1.22 2021/10/24 17:52:28 mpi 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: simplebus.c,v 1.13 2021/02/28 21:10:22 patrick Exp $ */
+/* $OpenBSD: simplebus.c,v 1.14 2021/10/24 17:52:28 mpi 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: smbios.c,v 1.6 2020/08/26 03:29:05 visa Exp $ */
+/* $OpenBSD: smbios.c,v 1.7 2021/10/24 17:52:28 mpi Exp $ */
/*
* Copyright (c) 2006 Gordon Willem Klok <gklok@cogeco.ca>
* Copyright (c) 2019 Mark Kettenis <kettenis@openbsd.org>
int smbios_match(struct device *, void *, void *);
void smbios_attach(struct device *, struct device *, void *);
-struct cfattach smbios_ca = {
+const struct cfattach smbios_ca = {
sizeof(struct device), smbios_match, smbios_attach
};
-/* $OpenBSD: bcm2836_intr.c,v 1.6 2021/05/16 15:10:19 deraadt Exp $ */
+/* $OpenBSD: bcm2836_intr.c,v 1.7 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2015 Patrick Wildt <patrick@blueri.se>
const char *bcm_intc_intr_string(void *);
void bcm_intc_irq_handler(void *);
-struct cfattach bcmintc_ca = {
+const struct cfattach bcmintc_ca = {
sizeof (struct bcm_intc_softc), bcm_intc_match, bcm_intc_attach
};
-/* $OpenBSD: crosec.c,v 1.4 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: crosec.c,v 1.5 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2013 Patrick Wildt <patrick@blueri.se>
*
int, const uint8_t *, int, uint8_t **, int);
int cros_ec_calc_checksum(const uint8_t *, int);
-struct cfattach crosec_ca = {
+const struct cfattach crosec_ca = {
sizeof(struct cros_ec_softc), cros_ec_match, cros_ec_attach
};
-/* $OpenBSD: exclock.c,v 1.9 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: exclock.c,v 1.10 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se>
*
uint32_t exclock_get_kfcclk(struct exclock_softc *);
unsigned int exclock_get_i2cclk(void);
-struct cfattach exclock_ca = {
+const struct cfattach exclock_ca = {
sizeof (struct exclock_softc), exclock_match, exclock_attach
};
-/* $OpenBSD: exdisplay.c,v 1.6 2020/05/25 09:55:48 jsg Exp $ */
+/* $OpenBSD: exdisplay.c,v 1.7 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2013 Patrick Wildt <patrick@blueri.se>
*
int exdisplay_cnattach(bus_space_tag_t iot, bus_addr_t iobase, size_t size);
void exdisplay_setup_rasops(struct rasops_info *rinfo, struct wsscreen_descr *descr);
-struct cfattach exdisplay_ca = {
+const struct cfattach exdisplay_ca = {
sizeof (struct exdisplay_softc), NULL, exdisplay_attach
};
-struct cfattach exdisplay_fdt_ca = {
+const struct cfattach exdisplay_fdt_ca = {
sizeof (struct exdisplay_softc), exdisplay_match, exdisplay_attach
};
-/* $OpenBSD: exdog.c,v 1.7 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: exdog.c,v 1.8 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se>
*
void exdog_stop(void);
void exdog_reset(void);
-struct cfattach exdog_ca = {
+const struct cfattach exdog_ca = {
sizeof (struct exdog_softc), exdog_match, exdog_attach
};
-/* $OpenBSD: exdwusb.c,v 1.4 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: exdwusb.c,v 1.5 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
*
int exdwusb_match(struct device *, void *, void *);
void exdwusb_attach(struct device *, struct device *, void *);
-struct cfattach exdwusb_ca = {
+const struct cfattach exdwusb_ca = {
sizeof(struct exdwusb_softc), exdwusb_match, exdwusb_attach
};
-/* $OpenBSD: exehci.c,v 1.10 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: exehci.c,v 1.11 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se>
*
bus_space_handle_t ph_ioh;
};
-struct cfattach exehci_ca = {
+const struct cfattach exehci_ca = {
sizeof (struct exehci_softc), exehci_match, exehci_attach,
exehci_detach
};
-/* $OpenBSD: exgpio.c,v 1.7 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: exgpio.c,v 1.8 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se>
int exgpio_match(struct device *, void *, void *);
void exgpio_attach(struct device *, struct device *, void *);
-struct cfattach exgpio_ca = {
+const struct cfattach exgpio_ca = {
sizeof (struct exgpio_softc), exgpio_match, exgpio_attach
};
HWRITE4((sc), (reg), HREAD4((sc), (reg)) & ~(bits))
-struct cfattach exiic_ca = {
+const struct cfattach exiic_ca = {
sizeof(struct exiic_softc), exiic_match, exiic_attach, exiic_detach
};
-/* $OpenBSD: exmct.c,v 1.5 2017/03/04 18:17:24 kettenis Exp $ */
+/* $OpenBSD: exmct.c,v 1.6 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se>
*
void exmct_stop(void);
void exmct_reset(void);
-struct cfattach exmct_ca = {
+const struct cfattach exmct_ca = {
sizeof (struct exmct_softc), exmct_match, exmct_attach
};
-/* $OpenBSD: expower.c,v 1.9 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: expower.c,v 1.10 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se>
*
int expower_match(struct device *, void *, void *);
void expower_attach(struct device *, struct device *, void *);
-struct cfattach expower_ca = {
+const struct cfattach expower_ca = {
sizeof (struct expower_softc), expower_match, expower_attach
};
-/* $OpenBSD: tps65090.c,v 1.5 2021/05/16 03:39:28 jsg Exp $ */
+/* $OpenBSD: tps65090.c,v 1.6 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2013 Patrick Wildt <patrick@blueri.se>
*
int tps65090_get_charging(void);
void tps65090_set_charging(int);
-struct cfattach tpspmic_ca = {
+const struct cfattach tpspmic_ca = {
sizeof(struct tps65090_softc), tps65090_match, tps65090_attach
};
-/* $OpenBSD: imxahci.c,v 1.12 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: imxahci.c,v 1.13 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2013 Patrick Wildt <patrick@blueri.se>
*
struct ahci_softc sc;
};
-struct cfattach imxahci_ca = {
+const struct cfattach imxahci_ca = {
sizeof(struct imxahci_softc),
imxahci_match,
imxahci_attach,
-/* $OpenBSD: imxtemp.c,v 1.6 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: imxtemp.c,v 1.7 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2014 Patrick Wildt <patrick@blueri.se>
* Copyright (c) 2016 Mark Kettenis <kettenis@openbsd.org>
int imxtemp_match(struct device *, void *, void *);
void imxtemp_attach(struct device *, struct device *, void *);
-struct cfattach imxtemp_ca = {
+const struct cfattach imxtemp_ca = {
sizeof(struct imxtemp_softc), imxtemp_match, imxtemp_attach
};
-/* $OpenBSD: mvacc.c,v 1.3 2017/03/24 15:22:45 patrick Exp $ */
+/* $OpenBSD: mvacc.c,v 1.4 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2016 Patrick Wildt <patrick@blueri.se>
*
uint32_t mvacc_get_frequency(void *, uint32_t *);
-struct cfattach mvacc_ca = {
+const struct cfattach mvacc_ca = {
sizeof (struct mvacc_softc), mvacc_match, mvacc_attach
};
-/* $OpenBSD: mvagc.c,v 1.1 2016/10/07 19:10:46 patrick Exp $ */
+/* $OpenBSD: mvagc.c,v 1.2 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2016 Patrick Wildt <patrick@blueri.se>
*
void mvagc_enable(void *, uint32_t *, int);
uint32_t mvagc_gen_get_frequency(void *, uint32_t *);
-struct cfattach mvagc_ca = {
+const struct cfattach mvagc_ca = {
sizeof (struct mvagc_softc), mvagc_match, mvagc_attach
};
-/* $OpenBSD: mvahci.c,v 1.1 2017/03/24 20:31:58 patrick Exp $ */
+/* $OpenBSD: mvahci.c,v 1.2 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2013,2017 Patrick Wildt <patrick@blueri.se>
*
extern int ahci_intr(void *);
-struct cfattach mvahci_ca = {
+const struct cfattach mvahci_ca = {
sizeof(struct ahci_softc),
mvahci_match,
mvahci_attach,
-/* $OpenBSD: mvmbus.c,v 1.3 2018/07/09 09:24:22 patrick Exp $ */
+/* $OpenBSD: mvmbus.c,v 1.4 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2016 Patrick Wildt <patrick@blueri.se>
*
uint32_t mvmbus_pcie_mem_aperture[2];
uint32_t mvmbus_pcie_io_aperture[2];
-struct cfattach mvmbus_ca = {
+const struct cfattach mvmbus_ca = {
sizeof (struct mvmbus_softc), mvmbus_match, mvmbus_attach
};
-/* $OpenBSD: mvmpic.c,v 1.4 2020/07/14 15:34:15 patrick Exp $ */
+/* $OpenBSD: mvmpic.c,v 1.5 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2007,2009,2011 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2015 Patrick Wildt <patrick@blueri.se>
void mpic_intr_enable(struct mpic_softc *, int);
void mpic_intr_disable(struct mpic_softc *, int);
-struct cfattach mvmpic_ca = {
+const struct cfattach mvmpic_ca = {
sizeof (struct mpic_softc), mpic_match, mpic_attach
};
-/* $OpenBSD: mvpcie.c,v 1.4 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: mvpcie.c,v 1.5 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2018 Patrick Wildt <patrick@blueri.se>
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
int mvpcie_match(struct device *, void *, void *);
void mvpcie_attach(struct device *, struct device *, void *);
-struct cfattach mvpcie_ca = {
+const struct cfattach mvpcie_ca = {
sizeof (struct mvpcie_softc), mvpcie_match, mvpcie_attach
};
-/* $OpenBSD: mvpxa.c,v 1.2 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: mvpxa.c,v 1.3 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis
* Copyright (c) 2017 Patrick Wildt <patrick@blueri.se>
NULL, "mvpxa", DV_DULL
};
-struct cfattach mvpxa_ca = {
+const struct cfattach mvpxa_ca = {
sizeof(struct mvpxa_softc), mvpxa_match, mvpxa_attach
};
-/* $OpenBSD: mvsysctrl.c,v 1.1 2016/10/07 14:43:50 patrick Exp $ */
+/* $OpenBSD: mvsysctrl.c,v 1.2 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2016 Patrick Wildt <patrick@blueri.se>
*
struct mvsysctrl_softc *mvsysctrl_sc;
-struct cfattach mvsysctrl_ca = {
+const struct cfattach mvsysctrl_ca = {
sizeof (struct mvsysctrl_softc), mvsysctrl_match, mvsysctrl_attach
};
-/* $OpenBSD: mvxhci.c,v 1.3 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: mvxhci.c,v 1.4 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2017 Patrick Wildt <patrick@blueri.se>
*
int mvxhci_match(struct device *, void *, void *);
void mvxhci_attach(struct device *, struct device *, void *);
-struct cfattach mvxhci_ca = {
+const struct cfattach mvxhci_ca = {
sizeof (struct mvxhci_softc), mvxhci_match, mvxhci_attach
};
-/* $OpenBSD: amdisplay.c,v 1.15 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: amdisplay.c,v 1.16 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2016 Ian Sutton <ians@openbsd.org>
*
.list_font = rasops_list_font,
};
-struct cfattach amdisplay_ca = {
+const struct cfattach amdisplay_ca = {
sizeof(struct amdisplay_softc), amdisplay_match, amdisplay_attach,
amdisplay_detach
};
-/* $OpenBSD: dmtimer.c,v 1.13 2021/05/16 15:10:19 deraadt Exp $ */
+/* $OpenBSD: dmtimer.c,v 1.14 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2013 Raphael Graf <r@undefined.ch>
u_int32_t sc_nextstatevent;
};
-struct cfattach dmtimer_ca = {
+const struct cfattach dmtimer_ca = {
sizeof (struct dmtimer_softc), NULL, dmtimer_attach
};
-/* $OpenBSD: edma.c,v 1.7 2017/09/08 05:36:51 deraadt Exp $ */
+/* $OpenBSD: edma.c,v 1.8 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2013 Sylvestre Gallon <ccna.syl@gmail.com>
*
void edma_attach(struct device *, struct device *, void *);
int edma_comp_intr(void *);
-struct cfattach edma_ca = {
+const struct cfattach edma_ca = {
sizeof(struct edma_softc), edma_match, edma_attach
};
-/* $OpenBSD: gptimer.c,v 1.14 2021/05/16 03:39:28 jsg Exp $ */
+/* $OpenBSD: gptimer.c,v 1.15 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
*
u_int32_t ticks_err_sum;
u_int32_t statvar, statmin;
-struct cfattach gptimer_ca = {
+const struct cfattach gptimer_ca = {
sizeof (struct device), NULL, gptimer_attach
};
-/* $OpenBSD: if_cpsw.c,v 1.51 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: if_cpsw.c,v 1.52 2021/10/24 17:52:27 mpi Exp $ */
/* $NetBSD: if_cpsw.c,v 1.3 2013/04/17 14:36:34 bouyer Exp $ */
/*
void cpsw_get_port_config(struct cpsw_port_config *, int);
-struct cfattach cpsw_ca = {
+const struct cfattach cpsw_ca = {
sizeof(struct cpsw_softc),
cpsw_match,
cpsw_attach
-/* $OpenBSD: intc.c,v 1.10 2020/07/14 15:34:15 patrick Exp $ */
+/* $OpenBSD: intc.c,v 1.11 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
*
void *intc_intr_establish_fdt(void *, int *, int, struct cpu_info *,
int (*)(void *), void *, char *);
-struct cfattach intc_ca = {
+const struct cfattach intc_ca = {
sizeof (struct device), intc_match, intc_attach
};
-/* $OpenBSD: nxphdmi.c,v 1.7 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: nxphdmi.c,v 1.8 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2016 Ian Sutton <ians@openbsd.org>
* All rights reserved.
int nxphdmi_get_edid(uint8_t *, int);
int nxphdmi_set_videomode(struct videomode *);
-struct cfattach nxphdmi_ca = {
+const struct cfattach nxphdmi_ca = {
sizeof(struct nxphdmi_softc), nxphdmi_match, nxphdmi_attach
};
-/* $OpenBSD: omap.c,v 1.23 2021/05/16 03:39:28 jsg Exp $ */
+/* $OpenBSD: omap.c,v 1.24 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2005,2008 Dale Rahn <drahn@openbsd.org>
*
void omap4_init(void);
void am335x_init(void);
-struct cfattach omap_ca = {
+const struct cfattach omap_ca = {
sizeof(struct armv7_softc), omap_match, armv7_attach
};
-/* $OpenBSD: omapid.c,v 1.4 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: omapid.c,v 1.5 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2013 Dale Rahn <drahn@dalerahn.com>
*
void omapid_attach(struct device *parent, struct device *self, void *args);
void omapid_wpending(int flags);
-struct cfattach omapid_ca = {
+const struct cfattach omapid_ca = {
sizeof (struct omapid_softc), NULL, omapid_attach
};
-/* $OpenBSD: omdisplay.c,v 1.8 2020/05/25 09:55:48 jsg Exp $ */
+/* $OpenBSD: omdisplay.c,v 1.9 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2007 Dale Rahn <drahn@openbsd.org>
*
int omdisplay_intr(void *v);
void omdisplay_dumpreg(struct omdisplay_softc *sc);
-struct cfattach omdisplay_ca = {
+const struct cfattach omdisplay_ca = {
sizeof (struct omdisplay_softc), omdisplay_match, omdisplay_attach,
NULL, omdisplay_activate
};
-/* $OpenBSD: omdog.c,v 1.9 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: omdog.c,v 1.10 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2013 Federico G. Schwindt <fgsch@openbsd.org>
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
int omdog_cb(void *, int);
void omdog_reset(void);
-struct cfattach omdog_ca = {
+const struct cfattach omdog_ca = {
sizeof (struct omdog_softc), omdog_match, omdog_attach, NULL,
omdog_activate
};
-/* $OpenBSD: omehci.c,v 1.8 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: omehci.c,v 1.9 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
void misc_setup(struct omehci_softc *sc);
void omehci_uhh_init(struct omehci_softc *sc);
-struct cfattach omehci_ca = {
+const struct cfattach omehci_ca = {
sizeof (struct omehci_softc), omehci_match, omehci_attach,
omehci_detach, omehci_activate
};
-/* $OpenBSD: omgpio.c,v 1.13 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: omgpio.c,v 1.14 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
*
int omgpio_get_pin(void *, uint32_t *);
void omgpio_set_pin(void *, uint32_t *, int);
-struct cfattach omgpio_ca = {
+const struct cfattach omgpio_ca = {
sizeof (struct omgpio_softc), omgpio_match, omgpio_attach
};
-/* $OpenBSD: ommmc.c,v 1.39 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: ommmc.c,v 1.40 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2009 Dale Rahn <drahn@openbsd.org>
NULL, "ommmc", DV_DULL
};
-struct cfattach ommmc_ca = {
+const struct cfattach ommmc_ca = {
sizeof(struct ommmc_softc), ommmc_match, ommmc_attach
};
-/* $OpenBSD: omohci.c,v 1.3 2014/05/19 13:11:31 mpi Exp $ */
+/* $OpenBSD: omohci.c,v 1.4 2021/10/24 17:52:28 mpi Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
void omohci_enable(struct omohci_softc *);
void omohci_disable(struct omohci_softc *);
-struct cfattach omohci_ca = {
+const struct cfattach omohci_ca = {
sizeof (struct omohci_softc), omohci_match, omohci_attach,
omohci_detach, omohci_detach
};
-/* $OpenBSD: omusbtll.c,v 1.4 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: omusbtll.c,v 1.5 2021/10/24 17:52:28 mpi Exp $ */
/*
* Copyright (c) 2010 Dale Rahn <drahn@openbsd.org>
*
void omusbtll_attach(struct device *parent, struct device *self, void *args);
void omusbtll_init(uint32_t channel_mask);
-struct cfattach omusbtll_ca = {
+const struct cfattach omusbtll_ca = {
sizeof (struct omusbtll_softc), NULL, omusbtll_attach
};
-/* $OpenBSD: omwugen.c,v 1.1 2016/09/15 21:55:51 jsg Exp $ */
+/* $OpenBSD: omwugen.c,v 1.2 2021/10/24 17:52:28 mpi Exp $ */
/*
* Copyright (c) 2016 Mark Kettenis
*
int omwugen_match(struct device *, void *, void *);
void omwugen_attach(struct device *, struct device *, void *);
-struct cfattach omwugen_ca = {
+const struct cfattach omwugen_ca = {
sizeof(struct omwugen_softc), omwugen_match, omwugen_attach
};
-/* $OpenBSD: prcm.c,v 1.17 2021/05/16 15:10:19 deraadt Exp $ */
+/* $OpenBSD: prcm.c,v 1.18 2021/10/24 17:52:28 mpi Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
*
int prcm_v4_hsusbhost_activate(int);
int prcm_v4_hsusbhost_set_source(int, int);
-struct cfattach prcm_ca = {
+const struct cfattach prcm_ca = {
sizeof (struct prcm_softc), NULL, prcm_attach
};
-/* $OpenBSD: ti_iic.c,v 1.14 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: ti_iic.c,v 1.15 2021/10/24 17:52:28 mpi Exp $ */
/* $NetBSD: ti_iic.c,v 1.4 2013/04/25 13:04:27 rkujawa Exp $ */
/*
uint32_t ti_iic_stat(struct ti_iic_softc *, uint32_t);
int ti_iic_flush(struct ti_iic_softc *);
-struct cfattach tiiic_ca = {
+const struct cfattach tiiic_ca = {
sizeof (struct ti_iic_softc), ti_iic_match, ti_iic_attach
};
-/* $OpenBSD: sxiahci.c,v 1.16 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: sxiahci.c,v 1.17 2021/10/24 17:52:28 mpi Exp $ */
/*
* Copyright (c) 2013 Patrick Wildt <patrick@blueri.se>
* Copyright (c) 2013,2014 Artturi Alm
};
-struct cfattach sxiahci_ca = {
+const struct cfattach sxiahci_ca = {
sizeof(struct sxiahci_softc),
sxiahci_match,
sxiahci_attach,
-/* $OpenBSD: sxie.c,v 1.32 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: sxie.c,v 1.33 2021/10/24 17:52:28 mpi Exp $ */
/*
* Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se>
* Copyright (c) 2013 Artturi Alm
int sxie_ifm_change(struct ifnet *);
void sxie_ifm_status(struct ifnet *, struct ifmediareq *);
-struct cfattach sxie_ca = {
+const struct cfattach sxie_ca = {
sizeof (struct sxie_softc), sxie_match, sxie_attach
};
-/* $OpenBSD: sxiintc.c,v 1.9 2021/05/16 15:10:19 deraadt Exp $ */
+/* $OpenBSD: sxiintc.c,v 1.10 2021/10/24 17:52:28 mpi Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2013 Artturi Alm
void *sxiintc_intr_establish_fdt(void *, int *, int, struct cpu_info *,
int (*)(void *), void *, char *);
-struct cfattach sxiintc_ca = {
+const struct cfattach sxiintc_ca = {
sizeof (struct device), sxiintc_match, sxiintc_attach
};
-/* $OpenBSD: sxitimer.c,v 1.17 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: sxitimer.c,v 1.18 2021/10/24 17:52:28 mpi Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2013 Raphael Graf <r@undefined.ch>
struct device sc_dev;
};
-struct cfattach sxitimer_ca = {
+const struct cfattach sxitimer_ca = {
sizeof (struct sxitimer_softc), sxitimer_match, sxitimer_attach
};
-/* $OpenBSD: pciecam.c,v 1.4 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: pciecam.c,v 1.5 2021/10/24 17:52:28 mpi Exp $ */
/*
* Copyright (c) 2013,2017 Patrick Wildt <patrick@blueri.se>
*
void pciecam_intr_disestablish(void *, void *);
int pciecam_bs_map(void *, uint64_t, bus_size_t, int, bus_space_handle_t *);
-struct cfattach pciecam_ca = {
+const struct cfattach pciecam_ca = {
sizeof (struct pciecam_softc), pciecam_match, pciecam_attach
};
-/* $OpenBSD: sysreg.c,v 1.5 2021/03/25 04:12:01 jsg Exp $ */
+/* $OpenBSD: sysreg.c,v 1.6 2021/10/24 17:52:28 mpi Exp $ */
/*
* Copyright (c) 2015 Jonathan Gray <jsg@openbsd.org>
void sysconf_reboot(void);
void sysconf_shutdown(void);
-struct cfattach sysreg_ca = {
+const struct cfattach sysreg_ca = {
sizeof (struct sysreg_softc), sysreg_match, sysreg_attach
};
-/* $OpenBSD: acrtc.c,v 1.4 2020/03/28 11:40:29 kettenis Exp $ */
+/* $OpenBSD: acrtc.c,v 1.5 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
*
int acrtc_match(struct device *, void *, void *);
void acrtc_attach(struct device *, struct device *, void *);
-struct cfattach acrtc_ca = {
+const struct cfattach acrtc_ca = {
sizeof(struct acrtc_softc), acrtc_match, acrtc_attach
};
-/* $OpenBSD: ahci_fdt.c,v 1.5 2018/12/04 11:25:48 kettenis Exp $ */
+/* $OpenBSD: ahci_fdt.c,v 1.6 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2013,2017 Patrick Wildt <patrick@blueri.se>
*
extern int ahci_intr(void *);
-struct cfattach ahci_fdt_ca = {
+const struct cfattach ahci_fdt_ca = {
sizeof(struct ahci_softc),
ahci_fdt_match,
ahci_fdt_attach,
-/* $OpenBSD: amlclock.c,v 1.12 2020/12/22 15:23:51 kettenis Exp $ */
+/* $OpenBSD: amlclock.c,v 1.13 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2019 Mark Kettenis <kettenis@openbsd.org>
*
int amlclock_match(struct device *, void *, void *);
void amlclock_attach(struct device *, struct device *, void *);
-struct cfattach amlclock_ca = {
+const struct cfattach amlclock_ca = {
sizeof (struct amlclock_softc), amlclock_match, amlclock_attach
};
-/* $OpenBSD: amldwusb.c,v 1.3 2020/12/17 22:39:45 kettenis Exp $ */
+/* $OpenBSD: amldwusb.c,v 1.4 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2019 Mark kettenis <kettenis@openbsd.org>
*
int amldwusb_match(struct device *, void *, void *);
void amldwusb_attach(struct device *, struct device *, void *);
-struct cfattach amldwusb_ca = {
+const struct cfattach amldwusb_ca = {
sizeof(struct amldwusb_softc), amldwusb_match, amldwusb_attach
};
-/* $OpenBSD: amliic.c,v 1.4 2021/06/14 12:06:06 kettenis Exp $ */
+/* $OpenBSD: amliic.c,v 1.5 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2019 Mark Kettenis <kettenis@openbsd.org>
*
int amliic_match(struct device *, void *, void *);
void amliic_attach(struct device *, struct device *, void *);
-struct cfattach amliic_ca = {
+const struct cfattach amliic_ca = {
sizeof (struct amliic_softc), amliic_match, amliic_attach
};
-/* $OpenBSD: amlmmc.c,v 1.10 2021/04/20 19:33:03 kettenis Exp $ */
+/* $OpenBSD: amlmmc.c,v 1.11 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2019 Mark Kettenis <kettenis@openbsd.org>
*
int amlmmc_match(struct device *, void *, void *);
void amlmmc_attach(struct device *, struct device *, void *);
-struct cfattach amlmmc_ca = {
+const struct cfattach amlmmc_ca = {
sizeof (struct amlmmc_softc), amlmmc_match, amlmmc_attach
};
-/* $OpenBSD: amlpciephy.c,v 1.4 2020/12/27 20:37:58 kettenis Exp $ */
+/* $OpenBSD: amlpciephy.c,v 1.5 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2019 Mark Kettenis <kettenis@openbsd.org>
*
int amlpciephy_match(struct device *, void *, void *);
void amlpciephy_attach(struct device *, struct device *, void *);
-struct cfattach amlpciephy_ca = {
+const struct cfattach amlpciephy_ca = {
sizeof (struct amlpciephy_softc), amlpciephy_match, amlpciephy_attach
};
-/* $OpenBSD: amlpinctrl.c,v 1.10 2021/05/21 15:37:54 kettenis Exp $ */
+/* $OpenBSD: amlpinctrl.c,v 1.11 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2019 Mark Kettenis <kettenis@openbsd.org>
*
int amlpinctrl_match(struct device *, void *, void *);
void amlpinctrl_attach(struct device *, struct device *, void *);
-struct cfattach amlpinctrl_ca = {
+const struct cfattach amlpinctrl_ca = {
sizeof(struct amlpinctrl_softc), amlpinctrl_match, amlpinctrl_attach
};
-/* $OpenBSD: amlpwm.c,v 1.2 2020/12/29 16:04:27 kettenis Exp $ */
+/* $OpenBSD: amlpwm.c,v 1.3 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2019 Mark Kettenis <kettenis@openbsd.org>
*
int amlpwm_match(struct device *, void *, void *);
void amlpwm_attach(struct device *, struct device *, void *);
-struct cfattach amlpwm_ca = {
+const struct cfattach amlpwm_ca = {
sizeof (struct amlpwm_softc), amlpwm_match, amlpwm_attach
};
-/* $OpenBSD: amlreset.c,v 1.1 2019/08/26 09:42:31 kettenis Exp $ */
+/* $OpenBSD: amlreset.c,v 1.2 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2019 Mark Kettenis <kettenis@openbsd.org>
*
int amlreset_match(struct device *, void *, void *);
void amlreset_attach(struct device *, struct device *, void *);
-struct cfattach amlreset_ca = {
+const struct cfattach amlreset_ca = {
sizeof (struct amlreset_softc), amlreset_match, amlreset_attach
};
-/* $OpenBSD: amlrng.c,v 1.2 2020/05/29 04:42:24 deraadt Exp $ */
+/* $OpenBSD: amlrng.c,v 1.3 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2019 Mark Kettenis <kettenis@openbsd.org>
*
int amlrng_match(struct device *, void *, void *);
void amlrng_attach(struct device *, struct device *, void *);
-struct cfattach amlrng_ca = {
+const struct cfattach amlrng_ca = {
sizeof (struct amlrng_softc), amlrng_match, amlrng_attach
};
-/* $OpenBSD: amlsm.c,v 1.2 2020/05/29 04:42:25 deraadt Exp $ */
+/* $OpenBSD: amlsm.c,v 1.3 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
int amlsm_match(struct device *, void *, void *);
void amlsm_attach(struct device *, struct device *, void *);
-struct cfattach amlsm_ca = {
+const struct cfattach amlsm_ca = {
sizeof (struct amlsm_softc), amlsm_match, amlsm_attach
};
-/* $OpenBSD: amltemp.c,v 1.1 2020/01/14 16:56:32 kettenis Exp $ */
+/* $OpenBSD: amltemp.c,v 1.2 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
int amltemp_match(struct device *, void *, void *);
void amltemp_attach(struct device *, struct device *, void *);
-struct cfattach amltemp_ca = {
+const struct cfattach amltemp_ca = {
sizeof (struct amltemp_softc), amltemp_match, amltemp_attach
};
-/* $OpenBSD: amluart.c,v 1.2 2021/08/31 12:24:15 jan Exp $ */
+/* $OpenBSD: amluart.c,v 1.3 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2019 Mark Kettenis <kettenis@openbsd.org>
*
NULL, "amluart", DV_TTY
};
-struct cfattach amluart_ca = {
+const struct cfattach amluart_ca = {
sizeof(struct amluart_softc), amluart_match, amluart_attach
};
-/* $OpenBSD: amlusbphy.c,v 1.1 2019/08/29 17:20:03 kettenis Exp $ */
+/* $OpenBSD: amlusbphy.c,v 1.2 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2019 Mark Kettenis <kettenis@openbsd.org>
*
int amlusbphy_match(struct device *, void *, void *);
void amlusbphy_attach(struct device *, struct device *, void *);
-struct cfattach amlusbphy_ca = {
+const struct cfattach amlusbphy_ca = {
sizeof (struct amlusbphy_softc), amlusbphy_match, amlusbphy_attach
};
-/* $OpenBSD: axppmic.c,v 1.10 2021/09/06 19:55:27 patrick Exp $ */
+/* $OpenBSD: axppmic.c,v 1.11 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
*
int axppmic_i2c_match(struct device *, void *, void *);
void axppmic_i2c_attach(struct device *, struct device *, void *);
-struct cfattach axppmic_ca = {
+const struct cfattach axppmic_ca = {
sizeof(struct axppmic_softc), axppmic_i2c_match, axppmic_i2c_attach
};
int axppmic_rsb_match(struct device *, void *, void *);
void axppmic_rsb_attach(struct device *, struct device *, void *);
-struct cfattach axppmic_rsb_ca = {
+const struct cfattach axppmic_rsb_ca = {
sizeof(struct axppmic_softc), axppmic_rsb_match, axppmic_rsb_attach
};
-/* $OpenBSD: bcm2835_aux.c,v 1.6 2020/07/17 08:07:34 patrick Exp $ */
+/* $OpenBSD: bcm2835_aux.c,v 1.7 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
*
int bcmaux_match(struct device *, void *, void *);
void bcmaux_attach(struct device *, struct device *, void *);
-struct cfattach bcmaux_ca = {
+const struct cfattach bcmaux_ca = {
sizeof(struct bcmaux_softc), bcmaux_match, bcmaux_attach
};
-/* $OpenBSD: bcm2835_dog.c,v 1.2 2019/09/05 16:58:36 patrick Exp $ */
+/* $OpenBSD: bcm2835_dog.c,v 1.3 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2015 Patrick Wildt <patrick@blueri.se>
*
int bcmdog_wdog_cb(void *, int);
void bcmdog_wdog_reset(void);
-struct cfattach bcmdog_ca = {
+const struct cfattach bcmdog_ca = {
sizeof (struct bcmdog_softc), bcmdog_match, bcmdog_attach, NULL,
bcmdog_activate
};
-/* $OpenBSD: bcm2835_rng.c,v 1.3 2020/05/29 04:42:25 deraadt Exp $ */
+/* $OpenBSD: bcm2835_rng.c,v 1.4 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
int bcmrng_match(struct device *, void *, void *);
void bcmrng_attach(struct device *, struct device *, void *);
-struct cfattach bcmrng_ca = {
+const struct cfattach bcmrng_ca = {
sizeof (struct bcmrng_softc), bcmrng_match, bcmrng_attach
};
-/* $OpenBSD: bcm2835_temp.c,v 1.1 2018/02/24 11:06:59 kettenis Exp $ */
+/* $OpenBSD: bcm2835_temp.c,v 1.2 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
int bcmtemp_match(struct device *, void *, void *);
void bcmtemp_attach(struct device *, struct device *, void *);
-struct cfattach bcmtemp_ca = {
+const struct cfattach bcmtemp_ca = {
sizeof (struct bcmtemp_softc), bcmtemp_match, bcmtemp_attach
};
-/* $OpenBSD: ccp_fdt.c,v 1.1 2018/04/20 04:37:21 dlg Exp $ */
+/* $OpenBSD: ccp_fdt.c,v 1.2 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2018 David Gwynne <dlg@openbsd.org>
*
static int ccp_fdt_match(struct device *, void *, void *);
static void ccp_fdt_attach(struct device *, struct device *, void *);
-struct cfattach ccp_fdt_ca = {
+const struct cfattach ccp_fdt_ca = {
sizeof(struct ccp_softc),
ccp_fdt_match,
ccp_fdt_attach
-/* $OpenBSD: com_fdt.c,v 1.5 2021/04/24 10:33:09 kettenis Exp $ */
+/* $OpenBSD: com_fdt.c,v 1.6 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2016 Patrick Wildt <patrick@blueri.se>
*
void com_fdt_attach(struct device *, struct device *, void *);
int com_fdt_intr_designware(void *);
-struct cfattach com_fdt_ca = {
+const struct cfattach com_fdt_ca = {
sizeof (struct com_softc), com_fdt_match, com_fdt_attach
};
-/* $OpenBSD: dwdog.c,v 1.2 2019/08/29 11:51:48 kettenis Exp $ */
+/* $OpenBSD: dwdog.c,v 1.3 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
*
int dwdog_match(struct device *, void *, void *);
void dwdog_attach(struct device *, struct device *, void *);
-struct cfattach dwdog_ca = {
+const struct cfattach dwdog_ca = {
sizeof(struct dwdog_softc), dwdog_match, dwdog_attach
};
-/* $OpenBSD: dwmmc.c,v 1.24 2021/05/05 09:17:19 jsg Exp $ */
+/* $OpenBSD: dwmmc.c,v 1.25 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis
*
int dwmmc_match(struct device *, void *, void *);
void dwmmc_attach(struct device *, struct device *, void *);
-struct cfattach dwmmc_ca = {
+const struct cfattach dwmmc_ca = {
sizeof(struct dwmmc_softc), dwmmc_match, dwmmc_attach
};
-/* $OpenBSD: dwpcie.c,v 1.35 2021/06/25 18:55:26 kettenis Exp $ */
+/* $OpenBSD: dwpcie.c,v 1.36 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
int dwpcie_match(struct device *, void *, void *);
void dwpcie_attach(struct device *, struct device *, void *);
-struct cfattach dwpcie_ca = {
+const struct cfattach dwpcie_ca = {
sizeof (struct dwpcie_softc), dwpcie_match, dwpcie_attach
};
-/* $OpenBSD: ehci_fdt.c,v 1.6 2019/08/11 11:16:05 kettenis Exp $ */
+/* $OpenBSD: ehci_fdt.c,v 1.7 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
void ehci_fdt_attach(struct device *, struct device *, void *);
int ehci_fdt_detach(struct device *, int);
-struct cfattach ehci_fdt_ca = {
+const struct cfattach ehci_fdt_ca = {
sizeof(struct ehci_fdt_softc), ehci_fdt_match, ehci_fdt_attach,
ehci_fdt_detach, ehci_activate
};
-/* $OpenBSD: exrtc.c,v 1.3 2019/08/29 11:51:48 kettenis Exp $ */
+/* $OpenBSD: exrtc.c,v 1.4 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
*
int exrtc_match(struct device *, void *, void *);
void exrtc_attach(struct device *, struct device *, void *);
-struct cfattach exrtc_ca = {
+const struct cfattach exrtc_ca = {
sizeof(struct exrtc_softc), exrtc_match, exrtc_attach
};
-/* $OpenBSD: fanpwr.c,v 1.4 2020/11/12 10:47:07 patrick Exp $ */
+/* $OpenBSD: fanpwr.c,v 1.5 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
int fanpwr_match(struct device *, void *, void *);
void fanpwr_attach(struct device *, struct device *, void *);
-struct cfattach fanpwr_ca = {
+const struct cfattach fanpwr_ca = {
sizeof(struct fanpwr_softc), fanpwr_match, fanpwr_attach
};
-/* $OpenBSD: fusbtc.c,v 1.1 2019/05/11 14:43:27 patrick Exp $ */
+/* $OpenBSD: fusbtc.c,v 1.2 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2019 Patrick Wildt <patrick@blueri.se>
*
void fusbtc_write_reg(struct fusbtc_softc *, uint8_t, uint8_t);
uint8_t fusbtc_read_reg(struct fusbtc_softc *, uint8_t);
-struct cfattach fusbtc_ca = {
+const struct cfattach fusbtc_ca = {
sizeof(struct fusbtc_softc),
fusbtc_match,
fusbtc_attach,
-/* $OpenBSD: hiclock.c,v 1.2 2019/04/22 12:43:13 kettenis Exp $ */
+/* $OpenBSD: hiclock.c,v 1.3 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2018, 2019 Mark Kettenis <kettenis@openbsd.org>
*
int hiclock_match(struct device *, void *, void *);
void hiclock_attach(struct device *, struct device *, void *);
-struct cfattach hiclock_ca = {
+const struct cfattach hiclock_ca = {
sizeof (struct hiclock_softc), hiclock_match, hiclock_attach
};
-/* $OpenBSD: hidwusb.c,v 1.2 2019/08/29 11:51:48 kettenis Exp $ */
+/* $OpenBSD: hidwusb.c,v 1.3 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2017, 2018 Mark Kettenis <kettenis@openbsd.org>
*
int hidwusb_match(struct device *, void *, void *);
void hidwusb_attach(struct device *, struct device *, void *);
-struct cfattach hidwusb_ca = {
+const struct cfattach hidwusb_ca = {
sizeof(struct hidwusb_softc), hidwusb_match, hidwusb_attach
};
-/* $OpenBSD: hireset.c,v 1.1 2018/08/27 14:12:59 kettenis Exp $ */
+/* $OpenBSD: hireset.c,v 1.2 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
int hireset_match(struct device *, void *, void *);
void hireset_attach(struct device *, struct device *, void *);
-struct cfattach hireset_ca = {
+const struct cfattach hireset_ca = {
sizeof (struct hireset_softc), hireset_match, hireset_attach
};
-/* $OpenBSD: hitemp.c,v 1.1 2018/08/27 21:09:47 kettenis Exp $ */
+/* $OpenBSD: hitemp.c,v 1.2 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
int hitemp_match(struct device *, void *, void *);
void hitemp_attach(struct device *, struct device *, void *);
-struct cfattach hitemp_ca = {
+const struct cfattach hitemp_ca = {
sizeof (struct hitemp_softc), hitemp_match, hitemp_attach
};
-/* $OpenBSD: if_dwge.c,v 1.11 2021/10/22 14:28:54 kettenis Exp $ */
+/* $OpenBSD: if_dwge.c,v 1.12 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2008, 2019 Mark Kettenis <kettenis@openbsd.org>
* Copyright (c) 2017 Patrick Wildt <patrick@blueri.se>
void dwge_setup_allwinner(struct dwge_softc *);
void dwge_setup_rockchip(struct dwge_softc *);
-struct cfattach dwge_ca = {
+const struct cfattach dwge_ca = {
sizeof(struct dwge_softc), dwge_match, dwge_attach
};
-/* $OpenBSD: if_dwxe.c,v 1.18 2020/12/12 11:48:52 jan Exp $ */
+/* $OpenBSD: if_dwxe.c,v 1.19 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
* Copyright (c) 2017 Patrick Wildt <patrick@blueri.se>
void dwxe_phy_setup_emac(struct dwxe_softc *);
void dwxe_phy_setup_gmac(struct dwxe_softc *);
-struct cfattach dwxe_ca = {
+const struct cfattach dwxe_ca = {
sizeof(struct dwxe_softc), dwxe_match, dwxe_attach
};
-/* $OpenBSD: if_fec.c,v 1.11 2020/12/12 11:48:52 jan Exp $ */
+/* $OpenBSD: if_fec.c,v 1.12 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2012-2013,2019 Patrick Wildt <patrick@blueri.se>
*
struct mbuf *fec_alloc_mbuf(struct fec_softc *, bus_dmamap_t);
void fec_fill_rx_ring(struct fec_softc *);
-struct cfattach fec_ca = {
+const struct cfattach fec_ca = {
sizeof (struct fec_softc), fec_match, fec_attach
};
-/* $OpenBSD: if_mvneta.c,v 1.16 2020/12/12 11:48:52 jan Exp $ */
+/* $OpenBSD: if_mvneta.c,v 1.17 2021/10/24 17:52:26 mpi Exp $ */
/* $NetBSD: if_mvneta.c,v 1.41 2015/04/15 10:15:40 hsuenaga Exp $ */
/*
* Copyright (c) 2007, 2008, 2013 KIYOHARA Takashi
NULL, "mvneta", DV_IFNET
};
-struct cfattach mvneta_ca = {
+const struct cfattach mvneta_ca = {
sizeof (struct mvneta_softc), mvneta_match, mvneta_attach,
};
-/* $OpenBSD: imxanatop.c,v 1.5 2018/08/30 12:14:30 jsg Exp $ */
+/* $OpenBSD: imxanatop.c,v 1.6 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2016 Mark Kettenis <kettenis@openbsd.org>
*
int imxanatop_match(struct device *, void *, void *);
void imxanatop_attach(struct device *, struct device *, void *);
-struct cfattach imxanatop_ca = {
+const struct cfattach imxanatop_ca = {
sizeof(struct imxanatop_softc), imxanatop_match, imxanatop_attach
};
-/* $OpenBSD: imxccm.c,v 1.26 2020/12/19 01:18:11 patrick Exp $ */
+/* $OpenBSD: imxccm.c,v 1.27 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se>
*
int imxccm_match(struct device *, void *, void *);
void imxccm_attach(struct device *parent, struct device *self, void *args);
-struct cfattach imxccm_ca = {
+const struct cfattach imxccm_ca = {
sizeof (struct imxccm_softc), imxccm_match, imxccm_attach
};
-/* $OpenBSD: imxesdhc.c,v 1.16 2020/04/28 17:22:53 patrick Exp $ */
+/* $OpenBSD: imxesdhc.c,v 1.17 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2009 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
NULL, "imxesdhc", DV_DULL
};
-struct cfattach imxesdhc_ca = {
+const struct cfattach imxesdhc_ca = {
sizeof(struct imxesdhc_softc), imxesdhc_match, imxesdhc_attach
};
-/* $OpenBSD: imxgpc.c,v 1.9 2020/12/18 16:26:21 patrick Exp $ */
+/* $OpenBSD: imxgpc.c,v 1.10 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2016 Mark Kettenis
*
void imxgpc_attach(struct device *, struct device *, void *);
void imxgpc_enable(void *, uint32_t *, int);
-struct cfattach imxgpc_ca = {
+const struct cfattach imxgpc_ca = {
sizeof(struct imxgpc_softc), imxgpc_match, imxgpc_attach
};
-/* $OpenBSD: imxgpio.c,v 1.5 2020/07/17 08:07:34 patrick Exp $ */
+/* $OpenBSD: imxgpio.c,v 1.6 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se>
void imxgpio_intr_barrier(void *);
-struct cfattach imxgpio_ca = {
+const struct cfattach imxgpio_ca = {
sizeof (struct imxgpio_softc), imxgpio_match, imxgpio_attach
};
-/* $OpenBSD: imxiomuxc.c,v 1.6 2021/07/08 13:20:26 patrick Exp $ */
+/* $OpenBSD: imxiomuxc.c,v 1.7 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2013 Patrick Wildt <patrick@blueri.se>
* Copyright (c) 2016 Mark Kettenis <kettenis@openbsd.org>
int imxiomuxc_match(struct device *, void *, void *);
void imxiomuxc_attach(struct device *, struct device *, void *);
-struct cfattach imxiomuxc_ca = {
+const struct cfattach imxiomuxc_ca = {
sizeof (struct imxiomuxc_softc), imxiomuxc_match, imxiomuxc_attach
};
-/* $OpenBSD: imxrtc.c,v 1.1 2018/06/16 14:11:35 kettenis Exp $ */
+/* $OpenBSD: imxrtc.c,v 1.2 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
int imxrtc_match(struct device *, void *, void *);
void imxrtc_attach(struct device *, struct device *, void *);
-struct cfattach imxrtc_ca = {
+const struct cfattach imxrtc_ca = {
sizeof (struct imxrtc_softc), imxrtc_match, imxrtc_attach
};
-/* $OpenBSD: imxspi.c,v 1.1 2018/07/26 10:59:07 patrick Exp $ */
+/* $OpenBSD: imxspi.c,v 1.2 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2018 Patrick Wildt <patrick@blueri.se>
*
#define HCLR4(sc, reg, bits) \
HWRITE4((sc), (reg), HREAD4((sc), (reg)) & ~(bits))
-struct cfattach imxspi_ca = {
+const struct cfattach imxspi_ca = {
sizeof(struct imxspi_softc), imxspi_match, imxspi_attach,
imxspi_detach
};
-/* $OpenBSD: imxsrc.c,v 1.4 2019/10/27 19:19:10 kettenis Exp $ */
+/* $OpenBSD: imxsrc.c,v 1.5 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2019 Patrick Wildt <patrick@blueri.se>
*
void imxsrc_attach(struct device *, struct device *, void *);
void imxsrc_reset(void *, uint32_t *, int);
-struct cfattach imxsrc_ca = {
+const struct cfattach imxsrc_ca = {
sizeof (struct imxsrc_softc), imxsrc_match, imxsrc_attach
};
-/* $OpenBSD: imxtmu.c,v 1.2 2020/03/20 09:13:03 patrick Exp $ */
+/* $OpenBSD: imxtmu.c,v 1.3 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2018 Patrick Wildt <patrick@blueri.se>
*
void imxtmu_mm_refresh_sensors(void *);
void imxtmu_mq_refresh_sensors(void *);
-struct cfattach imxtmu_ca = {
+const struct cfattach imxtmu_ca = {
sizeof(struct imxtmu_softc), imxtmu_match, imxtmu_attach
};
-/* $OpenBSD: imxuart.c,v 1.11 2021/09/01 09:29:31 jan Exp $ */
+/* $OpenBSD: imxuart.c,v 1.12 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2005 Dale Rahn <drahn@motorola.com>
*
NULL, "imxuart", DV_TTY
};
-struct cfattach imxuart_ca = {
+const struct cfattach imxuart_ca = {
sizeof(struct imxuart_softc), imxuart_match, imxuart_attach
};
-/* $OpenBSD: moxtet.c,v 1.1 2019/10/07 19:35:07 patrick Exp $ */
+/* $OpenBSD: moxtet.c,v 1.2 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2019 Patrick Wildt <patrick@blueri.se>
*
int moxtet_read(struct moxtet_softc *, char *, size_t);
int moxtet_write(struct moxtet_softc *, char *, size_t);
-struct cfattach moxtet_ca = {
+const struct cfattach moxtet_ca = {
sizeof(struct moxtet_softc), moxtet_match, moxtet_attach, moxtet_detach
};
-/* $OpenBSD: mvclock.c,v 1.8 2020/11/06 13:29:45 patrick Exp $ */
+/* $OpenBSD: mvclock.c,v 1.9 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
int mvclock_match(struct device *, void *, void *);
void mvclock_attach(struct device *, struct device *, void *);
-struct cfattach mvclock_ca = {
+const struct cfattach mvclock_ca = {
sizeof (struct mvclock_softc), mvclock_match, mvclock_attach
};
-/* $OpenBSD: mvdog.c,v 1.1 2019/09/05 18:38:30 patrick Exp $ */
+/* $OpenBSD: mvdog.c,v 1.2 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2019 Patrick Wildt <patrick@blueri.se>
*
int mvdog_match(struct device *, void *, void *);
void mvdog_attach(struct device *, struct device *, void *);
-struct cfattach mvdog_ca = {
+const struct cfattach mvdog_ca = {
sizeof (struct mvdog_softc), mvdog_match, mvdog_attach
};
-/* $OpenBSD: mvgicp.c,v 1.4 2021/05/17 17:25:13 kettenis Exp $ */
+/* $OpenBSD: mvgicp.c,v 1.5 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2019 Patrick Wildt <patrick@blueri.se>
*
void mvgicp_intr_disestablish(void *);
void mvgicp_intr_barrier(void *);
-struct cfattach mvgicp_ca = {
+const struct cfattach mvgicp_ca = {
sizeof(struct mvgicp_softc), mvgicp_match, mvgicp_attach
};
-/* $OpenBSD: mvgpio.c,v 1.2 2021/05/07 01:54:17 jsg Exp $ */
+/* $OpenBSD: mvgpio.c,v 1.3 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
int mvgpio_match(struct device *, void *, void *);
void mvgpio_attach(struct device *, struct device *, void *);
-struct cfattach mvgpio_ca = {
+const struct cfattach mvgpio_ca = {
sizeof (struct mvgpio_softc), mvgpio_match, mvgpio_attach
};
-/* $OpenBSD: mvicu.c,v 1.7 2021/05/17 17:25:13 kettenis Exp $ */
+/* $OpenBSD: mvicu.c,v 1.8 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
int mvicu_match(struct device *, void *, void *);
void mvicu_attach(struct device *, struct device *, void *);
-struct cfattach mvicu_ca = {
+const struct cfattach mvicu_ca = {
sizeof (struct mvicu_softc), mvicu_match, mvicu_attach
};
-/* $OpenBSD: mviic.c,v 1.3 2021/03/11 09:15:25 patrick Exp $ */
+/* $OpenBSD: mviic.c,v 1.4 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2019 Patrick Wildt <patrick@blueri.se>
*
#define HCLR4(sc, reg, bits) \
HWRITE4((sc), (reg), HREAD4((sc), (reg)) & ~(bits))
-struct cfattach mviic_ca = {
+const struct cfattach mviic_ca = {
sizeof(struct mviic_softc), mviic_match, mviic_attach, mviic_detach
};
-/* $OpenBSD: mvmdio.c,v 1.3 2020/11/28 20:06:05 kettenis Exp $ */
+/* $OpenBSD: mvmdio.c,v 1.4 2021/10/24 17:52:26 mpi Exp $ */
/* $NetBSD: if_mvneta.c,v 1.41 2015/04/15 10:15:40 hsuenaga Exp $ */
/*
* Copyright (c) 2007, 2008, 2013 KIYOHARA Takashi
NULL, "mvmdio", DV_DULL
};
-struct cfattach mvmdio_ca = {
+const struct cfattach mvmdio_ca = {
sizeof (struct mvmdio_softc), mvmdio_match, mvmdio_attach,
};
-/* $OpenBSD: mvpinctrl.c,v 1.8 2021/05/07 01:54:17 jsg Exp $ */
+/* $OpenBSD: mvpinctrl.c,v 1.9 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2013,2016 Patrick Wildt <patrick@blueri.se>
* Copyright (c) 2016 Mark Kettenis <kettenis@openbsd.org>
uint32_t a3700_xtal_get_frequency(void *, uint32_t *);
-struct cfattach mvpinctrl_ca = {
+const struct cfattach mvpinctrl_ca = {
sizeof (struct mvpinctrl_softc), mvpinctrl_match, mvpinctrl_attach
};
-/* $OpenBSD: mvrng.c,v 1.3 2020/05/29 04:42:25 deraadt Exp $ */
+/* $OpenBSD: mvrng.c,v 1.4 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
int mvrng_match(struct device *, void *, void *);
void mvrng_attach(struct device *, struct device *, void *);
-struct cfattach mvrng_ca = {
+const struct cfattach mvrng_ca = {
sizeof (struct mvrng_softc), mvrng_match, mvrng_attach
};
-/* $OpenBSD: mvrtc.c,v 1.1 2018/03/29 18:20:52 kettenis Exp $ */
+/* $OpenBSD: mvrtc.c,v 1.2 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
int mvrtc_match(struct device *, void *, void *);
void mvrtc_attach(struct device *, struct device *, void *);
-struct cfattach mvrtc_ca = {
+const struct cfattach mvrtc_ca = {
sizeof (struct mvrtc_softc), mvrtc_match, mvrtc_attach
};
-/* $OpenBSD: mvspi.c,v 1.1 2019/10/07 19:30:12 patrick Exp $ */
+/* $OpenBSD: mvspi.c,v 1.2 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2019 Patrick Wildt <patrick@blueri.se>
*
#define HCLR4(sc, reg, bits) \
HWRITE4((sc), (reg), HREAD4((sc), (reg)) & ~(bits))
-struct cfattach mvspi_ca = {
+const struct cfattach mvspi_ca = {
sizeof(struct mvspi_softc), mvspi_match, mvspi_attach, mvspi_detach
};
-/* $OpenBSD: mvtemp.c,v 1.1 2018/03/31 16:35:15 kettenis Exp $ */
+/* $OpenBSD: mvtemp.c,v 1.2 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
int mvtemp_match(struct device *, void *, void *);
void mvtemp_attach(struct device *, struct device *, void *);
-struct cfattach mvtemp_ca = {
+const struct cfattach mvtemp_ca = {
sizeof (struct mvtemp_softc), mvtemp_match, mvtemp_attach
};
-/* $OpenBSD: mvuart.c,v 1.3 2021/08/31 12:24:15 jan Exp $ */
+/* $OpenBSD: mvuart.c,v 1.4 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2005 Dale Rahn <drahn@motorola.com>
* Copyright (c) 2018 Patrick Wildt <patrick@blueri.se>
NULL, "mvuart", DV_TTY
};
-struct cfattach mvuart_ca = {
+const struct cfattach mvuart_ca = {
sizeof(struct mvuart_softc), mvuart_match, mvuart_attach
};
-/* $OpenBSD: ohci_fdt.c,v 1.2 2019/01/07 03:41:06 dlg Exp $ */
+/* $OpenBSD: ohci_fdt.c,v 1.3 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2005, 2019 David Gwynne <dlg@openbsd.org>
void ohci_fdt_attach(struct device *, struct device *, void *);
int ohci_fdt_detach(struct device *, int);
-struct cfattach ohci_fdt_ca = {
+const struct cfattach ohci_fdt_ca = {
sizeof(struct ohci_fdt_softc),
ohci_fdt_match,
ohci_fdt_attach,
-/* $OpenBSD: pinctrl.c,v 1.4 2021/02/01 14:30:01 jsg Exp $ */
+/* $OpenBSD: pinctrl.c,v 1.5 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2018, 2019 Mark Kettenis <kettenis@openbsd.org>
*
int pinctrl_match(struct device *, void *, void *);
void pinctrl_attach(struct device *, struct device *, void *);
-struct cfattach pinctrl_ca = {
+const struct cfattach pinctrl_ca = {
sizeof (struct pinctrl_softc), pinctrl_match, pinctrl_attach
};
-/* $OpenBSD: plgpio.c,v 1.2 2021/05/07 01:54:17 jsg Exp $ */
+/* $OpenBSD: plgpio.c,v 1.3 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
int plgpio_match(struct device *, void *, void *);
void plgpio_attach(struct device *, struct device *, void *);
-struct cfattach plgpio_ca = {
+const struct cfattach plgpio_ca = {
sizeof (struct plgpio_softc), plgpio_match, plgpio_attach
};
-/* $OpenBSD: plrtc.c,v 1.1 2017/01/25 10:14:40 jsg Exp $ */
+/* $OpenBSD: plrtc.c,v 1.2 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2015 Jonathan Gray <jsg@openbsd.org>
int plrtc_settime(struct todr_chip_handle *, struct timeval *);
-struct cfattach plrtc_ca = {
+const struct cfattach plrtc_ca = {
sizeof(struct plrtc_softc), plrtc_match, plrtc_attach
};
-/* $OpenBSD: pluart_fdt.c,v 1.3 2019/04/22 10:18:20 kettenis Exp $ */
+/* $OpenBSD: pluart_fdt.c,v 1.4 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2014 Patrick Wildt <patrick@blueri.se>
* Copyright (c) 2005 Dale Rahn <drahn@dalerahn.com>
int pluart_fdt_match(struct device *, void *, void *);
void pluart_fdt_attach(struct device *, struct device *, void *);
-struct cfattach pluart_fdt_ca = {
+const struct cfattach pluart_fdt_ca = {
sizeof(struct pluart_softc), pluart_fdt_match, pluart_fdt_attach
};
-/* $OpenBSD: psci.c,v 1.9 2021/10/10 16:20:37 kettenis Exp $ */
+/* $OpenBSD: psci.c,v 1.10 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2016 Jonathan Gray <jsg@openbsd.org>
uint32_t psci_version(void);
int32_t psci_features(uint32_t);
-struct cfattach psci_ca = {
+const struct cfattach psci_ca = {
sizeof(struct psci_softc), psci_match, psci_attach
};
-/* $OpenBSD: pwmbl.c,v 1.5 2020/06/10 23:36:26 patrick Exp $ */
+/* $OpenBSD: pwmbl.c,v 1.6 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2019 Krystian Lewandowski
* Copyright (c) 2019 Mark Kettenis <kettenis@openbsd.org>
int pwmbl_match(struct device *, void *, void *);
void pwmbl_attach(struct device *, struct device *, void *);
-struct cfattach pwmbl_ca = {
+const struct cfattach pwmbl_ca = {
sizeof(struct pwmbl_softc), pwmbl_match, pwmbl_attach
};
-/* $OpenBSD: pwmfan.c,v 1.1 2019/12/03 09:12:45 patrick Exp $ */
+/* $OpenBSD: pwmfan.c,v 1.2 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2019 Krystian Lewandowski
* Copyright (c) 2019 Mark Kettenis <kettenis@openbsd.org>
int pwmfan_match(struct device *, void *, void *);
void pwmfan_attach(struct device *, struct device *, void *);
-struct cfattach pwmfan_ca = {
+const struct cfattach pwmfan_ca = {
sizeof(struct pwmfan_softc), pwmfan_match, pwmfan_attach
};
-/* $OpenBSD: pwmreg.c,v 1.1 2019/09/30 20:44:13 kettenis Exp $ */
+/* $OpenBSD: pwmreg.c,v 1.2 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2019 Mark Kettenis <kettenis@openbsd.org>
*
int pwmreg_match(struct device *, void *, void *);
void pwmreg_attach(struct device *, struct device *, void *);
-struct cfattach pwmreg_ca = {
+const struct cfattach pwmreg_ca = {
sizeof (struct pwmreg_softc), pwmreg_match, pwmreg_attach
};
-/* $OpenBSD: rkclock.c,v 1.58 2021/07/28 13:39:39 patrick Exp $ */
+/* $OpenBSD: rkclock.c,v 1.59 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2017, 2018 Mark Kettenis <kettenis@openbsd.org>
*
int rkclock_match(struct device *, void *, void *);
void rkclock_attach(struct device *, struct device *, void *);
-struct cfattach rkclock_ca = {
+const struct cfattach rkclock_ca = {
sizeof (struct rkclock_softc), rkclock_match, rkclock_attach
};
-/* $OpenBSD: rkdwusb.c,v 1.3 2019/08/29 11:51:48 kettenis Exp $ */
+/* $OpenBSD: rkdwusb.c,v 1.4 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
*
int rkdwusb_match(struct device *, void *, void *);
void rkdwusb_attach(struct device *, struct device *, void *);
-struct cfattach rkdwusb_ca = {
+const struct cfattach rkdwusb_ca = {
sizeof(struct rkdwusb_softc), rkdwusb_match, rkdwusb_attach
};
-/* $OpenBSD: rkemmcphy.c,v 1.3 2020/04/03 22:03:45 kettenis Exp $ */
+/* $OpenBSD: rkemmcphy.c,v 1.4 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2019 Patrick Wildt <patrick@blueri.se>
*
int rkemmcphy_match(struct device *, void *, void *);
void rkemmcphy_attach(struct device *, struct device *, void *);
-struct cfattach rkemmcphy_ca = {
+const struct cfattach rkemmcphy_ca = {
sizeof (struct rkemmcphy_softc), rkemmcphy_match, rkemmcphy_attach
};
-/* $OpenBSD: rkgpio.c,v 1.6 2020/07/17 08:07:34 patrick Exp $ */
+/* $OpenBSD: rkgpio.c,v 1.7 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
* Copyright (c) 2019 Patrick Wildt <patrick@blueri.se>
int rkgpio_match(struct device *, void *, void *);
void rkgpio_attach(struct device *, struct device *, void *);
-struct cfattach rkgpio_ca = {
+const struct cfattach rkgpio_ca = {
sizeof (struct rkgpio_softc), rkgpio_match, rkgpio_attach
};
-/* $OpenBSD: rkgrf.c,v 1.4 2020/09/04 01:10:29 jmatthew Exp $ */
+/* $OpenBSD: rkgrf.c,v 1.5 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
*
int rkgrf_match(struct device *, void *, void *);
void rkgrf_attach(struct device *, struct device *, void *);
-struct cfattach rkgrf_ca = {
+const struct cfattach rkgrf_ca = {
sizeof (struct rkgrf_softc), rkgrf_match, rkgrf_attach
};
-/* $OpenBSD: rkiic.c,v 1.6 2021/03/11 08:55:59 patrick Exp $ */
+/* $OpenBSD: rkiic.c,v 1.7 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
*
int rkiic_match(struct device *, void *, void *);
void rkiic_attach(struct device *, struct device *, void *);
-struct cfattach rkiic_ca = {
+const struct cfattach rkiic_ca = {
sizeof (struct rkiic_softc), rkiic_match, rkiic_attach
};
-/* $OpenBSD: rkpcie.c,v 1.14 2021/05/17 17:25:13 kettenis Exp $ */
+/* $OpenBSD: rkpcie.c,v 1.15 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
int rkpcie_match(struct device *, void *, void *);
void rkpcie_attach(struct device *, struct device *, void *);
-struct cfattach rkpcie_ca = {
+const struct cfattach rkpcie_ca = {
sizeof (struct rkpcie_softc), rkpcie_match, rkpcie_attach
};
-/* $OpenBSD: rkpinctrl.c,v 1.6 2020/09/04 01:11:16 jmatthew Exp $ */
+/* $OpenBSD: rkpinctrl.c,v 1.7 2021/10/24 17:52:26 mpi Exp $ */
/*
* Copyright (c) 2017, 2018 Mark Kettenis <kettenis@openbsd.org>
*
int rkpinctrl_match(struct device *, void *, void *);
void rkpinctrl_attach(struct device *, struct device *, void *);
-struct cfattach rkpinctrl_ca = {
+const struct cfattach rkpinctrl_ca = {
sizeof (struct rkpinctrl_softc), rkpinctrl_match, rkpinctrl_attach
};
-/* $OpenBSD: rkpmic.c,v 1.8 2021/03/08 12:53:35 kurt Exp $ */
+/* $OpenBSD: rkpmic.c,v 1.9 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
*
int rkpmic_match(struct device *, void *, void *);
void rkpmic_attach(struct device *, struct device *, void *);
-struct cfattach rkpmic_ca = {
+const struct cfattach rkpmic_ca = {
sizeof(struct rkpmic_softc), rkpmic_match, rkpmic_attach
};
-/* $OpenBSD: rkpwm.c,v 1.3 2021/08/02 18:22:41 patrick Exp $ */
+/* $OpenBSD: rkpwm.c,v 1.4 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2019 Krystian Lewandowski
* Copyright (c) 2019 Patrick Wildt <patrick@blueri.se>
int rkpwm_match(struct device *, void *, void *);
void rkpwm_attach(struct device *, struct device *, void *);
-struct cfattach rkpwm_ca = {
+const struct cfattach rkpwm_ca = {
sizeof(struct rkpwm_softc), rkpwm_match, rkpwm_attach
};
-/* $OpenBSD: rktemp.c,v 1.6 2020/09/08 01:29:58 jmatthew Exp $ */
+/* $OpenBSD: rktemp.c,v 1.7 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
*
int rktemp_match(struct device *, void *, void *);
void rktemp_attach(struct device *, struct device *, void *);
-struct cfattach rktemp_ca = {
+const struct cfattach rktemp_ca = {
sizeof (struct rktemp_softc), rktemp_match, rktemp_attach
};
-/* $OpenBSD: sdhc_fdt.c,v 1.17 2021/09/11 22:42:12 mglocker Exp $ */
+/* $OpenBSD: sdhc_fdt.c,v 1.18 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis
*
int sdhc_fdt_match(struct device *, void *, void *);
void sdhc_fdt_attach(struct device *, struct device *, void *);
-struct cfattach sdhc_fdt_ca = {
+const struct cfattach sdhc_fdt_ca = {
sizeof(struct sdhc_fdt_softc), sdhc_fdt_match, sdhc_fdt_attach
};
-/* $OpenBSD: sfp.c,v 1.4 2020/11/10 19:08:43 kettenis Exp $ */
+/* $OpenBSD: sfp.c,v 1.5 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2019 Patrick Wildt <patrick@blueri.se>
*
int sfp_gpio_enable(void *, int);
int sfp_i2c_get_sffpage(void *, struct if_sffpage *);
-struct cfattach sfp_ca = {
+const struct cfattach sfp_ca = {
sizeof(struct sfp_softc), sfp_match, sfp_attach, sfp_detach,
};
-/* $OpenBSD: simplefb.c,v 1.13 2021/03/13 14:02:02 kettenis Exp $ */
+/* $OpenBSD: simplefb.c,v 1.14 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2016 Mark Kettenis
*
int simplefb_match(struct device *, void *, void *);
void simplefb_attach(struct device *, struct device *, void *);
-struct cfattach simplefb_ca = {
+const struct cfattach simplefb_ca = {
sizeof(struct simplefb_softc), simplefb_match, simplefb_attach
};
-/* $OpenBSD: simplepanel.c,v 1.4 2021/07/07 02:38:21 jsg Exp $ */
+/* $OpenBSD: simplepanel.c,v 1.5 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2020 Patrick Wildt <patrick@blueri.se>
*
simplepanel_match, simplepanel_attach
};
-struct cfdriver simplepanel_cd = {
+const struct cfdriver simplepanel_cd = {
NULL, "simplepanel", DV_DULL
};
-/* $OpenBSD: ssdfb.c,v 1.11 2020/05/25 09:55:48 jsg Exp $ */
+/* $OpenBSD: ssdfb.c,v 1.12 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2018 Patrick Wildt <patrick@blueri.se>
*
int ssdfb_eraserows(void *, int, int, uint32_t);
int ssdfb_do_cursor(struct rasops_info *);
-struct cfattach ssdfb_i2c_ca = {
+const struct cfattach ssdfb_i2c_ca = {
sizeof(struct ssdfb_softc),
ssdfb_i2c_match,
ssdfb_i2c_attach,
ssdfb_i2c_detach,
};
-struct cfattach ssdfb_spi_ca = {
+const struct cfattach ssdfb_spi_ca = {
sizeof(struct ssdfb_softc),
ssdfb_spi_match,
ssdfb_spi_attach,
-/* $OpenBSD: sxiccmu.c,v 1.28 2020/08/30 05:23:49 uaa Exp $ */
+/* $OpenBSD: sxiccmu.c,v 1.29 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2013 Artturi Alm
int sxiccmu_match(struct device *, void *, void *);
void sxiccmu_attach(struct device *, struct device *, void *);
-struct cfattach sxiccmu_ca = {
+const struct cfattach sxiccmu_ca = {
sizeof (struct sxiccmu_softc), sxiccmu_match, sxiccmu_attach
};
-/* $OpenBSD: sxidog.c,v 1.2 2019/10/17 22:26:32 kettenis Exp $ */
+/* $OpenBSD: sxidog.c,v 1.3 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
*
int sxidog_callback(void *, int);
void sxidog_reset(void);
-struct cfattach sxidog_ca = {
+const struct cfattach sxidog_ca = {
sizeof (struct sxidog_softc), sxidog_match, sxidog_attach,
NULL, sxidog_activate
};
-/* $OpenBSD: sximmc.c,v 1.11 2020/01/11 01:18:29 cheloha Exp $ */
+/* $OpenBSD: sximmc.c,v 1.12 2021/10/24 17:52:27 mpi Exp $ */
/* $NetBSD: awin_mmc.c,v 1.23 2015/11/14 10:32:40 bouyer Exp $ */
/*-
NULL, "sximmc", DV_DULL
};
-struct cfattach sximmc_ca = {
+const struct cfattach sximmc_ca = {
sizeof(struct sximmc_softc), sximmc_match, sximmc_attach
};
-/* $OpenBSD: sxipio.c,v 1.13 2021/05/07 01:54:17 jsg Exp $ */
+/* $OpenBSD: sxipio.c,v 1.14 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2010 Miodrag Vallat.
* Copyright (c) 2013 Artturi Alm
int sxipio_match(struct device *, void *, void *);
void sxipio_attach(struct device *, struct device *, void *);
-struct cfattach sxipio_ca = {
+const struct cfattach sxipio_ca = {
sizeof (struct sxipio_softc), sxipio_match, sxipio_attach
};
-/* $OpenBSD: sxipwm.c,v 1.1 2019/10/21 20:52:33 kettenis Exp $ */
+/* $OpenBSD: sxipwm.c,v 1.2 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2019 Krystian Lewandowski
*
int sxipwm_match(struct device *, void *, void *);
void sxipwm_attach(struct device *, struct device *, void *);
-struct cfattach sxipwm_ca = {
+const struct cfattach sxipwm_ca = {
sizeof(struct sxipwm_softc), sxipwm_match, sxipwm_attach
};
-/* $OpenBSD: sxirsb.c,v 1.3 2019/08/29 11:51:48 kettenis Exp $ */
+/* $OpenBSD: sxirsb.c,v 1.4 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
*
int sxirsb_match(struct device *, void *, void *);
void sxirsb_attach(struct device *, struct device *, void *);
-struct cfattach sxirsb_ca = {
+const struct cfattach sxirsb_ca = {
sizeof(struct sxirsb_softc), sxirsb_match, sxirsb_attach
};
-/* $OpenBSD: sxirtc.c,v 1.5 2021/04/24 10:15:15 mpi Exp $ */
+/* $OpenBSD: sxirtc.c,v 1.6 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
* Copyright (c) 2013 Artturi Alm
int sxirtc_match(struct device *, void *, void *);
void sxirtc_attach(struct device *, struct device *, void *);
-struct cfattach sxirtc_ca = {
+const struct cfattach sxirtc_ca = {
sizeof(struct sxirtc_softc), sxirtc_match, sxirtc_attach
};
-/* $OpenBSD: sxisid.c,v 1.3 2020/05/29 04:42:25 deraadt Exp $ */
+/* $OpenBSD: sxisid.c,v 1.4 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2019 Krystian Lewandowski
* Copyright (c) 2019 Mark Kettenis <kettenis@openbsd.org>
int sxisid_match(struct device *, void *, void *);
void sxisid_attach(struct device *, struct device *, void *);
-struct cfattach sxisid_ca = {
+const struct cfattach sxisid_ca = {
sizeof(struct sxisid_softc), sxisid_match, sxisid_attach
};
-/* $OpenBSD: sxisyscon.c,v 1.1 2019/08/11 11:19:41 kettenis Exp $ */
+/* $OpenBSD: sxisyscon.c,v 1.2 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2019 Mark Kettenis <kettenis@openbsd.org>
*
int sxisyscon_match(struct device *, void *, void *);
void sxisyscon_attach(struct device *, struct device *, void *);
-struct cfattach sxisyscon_ca = {
+const struct cfattach sxisyscon_ca = {
sizeof(struct sxisyscon_softc), sxisyscon_match, sxisyscon_attach
};
-/* $OpenBSD: sxitemp.c,v 1.8 2020/07/15 11:33:12 dtucker Exp $ */
+/* $OpenBSD: sxitemp.c,v 1.9 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
*
int sxitemp_match(struct device *, void *, void *);
void sxitemp_attach(struct device *, struct device *, void *);
-struct cfattach sxitemp_ca = {
+const struct cfattach sxitemp_ca = {
sizeof (struct sxitemp_softc), sxitemp_match, sxitemp_attach
};
-/* $OpenBSD: sxits.c,v 1.2 2019/09/21 15:55:29 kettenis Exp $ */
+/* $OpenBSD: sxits.c,v 1.3 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
int sxits_match(struct device *, void *, void *);
void sxits_attach(struct device *, struct device *, void *);
-struct cfattach sxits_ca = {
+const struct cfattach sxits_ca = {
sizeof (struct sxits_softc), sxits_match, sxits_attach
};
-/* $OpenBSD: sxitwi.c,v 1.13 2021/03/11 09:15:25 patrick Exp $ */
+/* $OpenBSD: sxitwi.c,v 1.14 2021/10/24 17:52:27 mpi Exp $ */
/* $NetBSD: gttwsi_core.c,v 1.2 2014/11/23 13:37:27 jmcneill Exp $ */
/*
* Copyright (c) 2008 Eiji Kawauchi.
NULL, "sxitwi", DV_DULL
};
-struct cfattach sxitwi_ca = {
+const struct cfattach sxitwi_ca = {
sizeof(struct sxitwi_softc), sxitwi_match, sxitwi_attach
};
-/* $OpenBSD: sypwr.c,v 1.4 2020/11/12 10:47:07 patrick Exp $ */
+/* $OpenBSD: sypwr.c,v 1.5 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
*
void sypwr_attach(struct device *, struct device *, void *);
int sypwr_activate(struct device *, int);
-struct cfattach sypwr_ca = {
+const struct cfattach sypwr_ca = {
sizeof(struct sypwr_softc), sypwr_match, sypwr_attach,
NULL, sypwr_activate
};
-/* $OpenBSD: syscon.c,v 1.6 2021/04/23 12:49:53 jsg Exp $ */
+/* $OpenBSD: syscon.c,v 1.7 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis
*
int syscon_match(struct device *, void *, void *);
void syscon_attach(struct device *, struct device *, void *);
-struct cfattach syscon_ca = {
+const struct cfattach syscon_ca = {
sizeof(struct syscon_softc), syscon_match, syscon_attach
};
-/* $OpenBSD: virtio_mmio.c,v 1.9 2021/04/15 17:06:59 patrick Exp $ */
+/* $OpenBSD: virtio_mmio.c,v 1.10 2021/10/24 17:52:27 mpi Exp $ */
/* $NetBSD: virtio.c,v 1.3 2011/11/02 23:05:52 njoly Exp $ */
/*
uint32_t sc_version;
};
-struct cfattach virtio_mmio_ca = {
+const struct cfattach virtio_mmio_ca = {
sizeof(struct virtio_mmio_softc),
virtio_mmio_match,
virtio_mmio_attach,
NULL
};
-struct cfattach virtio_mmio_fdt_ca = {
+const struct cfattach virtio_mmio_fdt_ca = {
sizeof(struct virtio_mmio_softc),
NULL,
virtio_mmio_attach,
-/* $OpenBSD: xhci_fdt.c,v 1.17 2021/06/29 12:46:36 patrick Exp $ */
+/* $OpenBSD: xhci_fdt.c,v 1.18 2021/10/24 17:52:27 mpi Exp $ */
/*
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
*
int xhci_fdt_match(struct device *, void *, void *);
void xhci_fdt_attach(struct device *, struct device *, void *);
-struct cfattach xhci_fdt_ca = {
+const struct cfattach xhci_fdt_ca = {
sizeof(struct xhci_fdt_softc), xhci_fdt_match, xhci_fdt_attach
};