-/* $OpenBSD: acpi_machdep.c,v 1.84 2022/02/17 17:22:24 deraadt Exp $ */
+/* $OpenBSD: acpi_machdep.c,v 1.85 2022/02/21 10:24:28 mpi Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
int acpi_match(struct device *, void *, void *);
void acpi_attach(struct device *, struct device *, void *);
-struct cfattach acpi_ca = {
+const struct cfattach acpi_ca = {
sizeof(struct acpi_softc), acpi_match, acpi_attach
};
-/* $OpenBSD: amdmsr.c,v 1.10 2018/02/19 08:59:52 mpi Exp $ */
+/* $OpenBSD: amdmsr.c,v 1.11 2022/02/21 10:24:28 mpi Exp $ */
/*
* Copyright (c) 2008 Marc Balmer <mbalmer@openbsd.org>
int amdmsr_match(struct device *, void *, void *);
void amdmsr_attach(struct device *, struct device *, void *);
-struct cfattach amdmsr_ca = {
+const struct cfattach amdmsr_ca = {
sizeof(struct amdmsr_softc), amdmsr_match, amdmsr_attach
};
-/* $OpenBSD: apm.c,v 1.126 2020/12/25 12:59:51 visa Exp $ */
+/* $OpenBSD: apm.c,v 1.127 2022/02/21 10:24:28 mpi Exp $ */
/*-
* Copyright (c) 1998-2001 Michael Shalayeff. All rights reserved.
int apmprobe(struct device *, void *, void *);
void apmattach(struct device *, struct device *, void *);
-struct cfattach apm_ca = {
+const struct cfattach apm_ca = {
sizeof(struct apm_softc), apmprobe, apmattach
};
-/* $OpenBSD: bios.c,v 1.126 2020/08/26 03:29:05 visa Exp $ */
+/* $OpenBSD: bios.c,v 1.127 2022/02/21 10:24:28 mpi Exp $ */
/*
* Copyright (c) 1997-2001 Michael Shalayeff
int bios_print(void *, const char *);
char *fixstring(char *);
-struct cfattach bios_ca = {
+const struct cfattach bios_ca = {
sizeof(struct bios_softc), biosprobe, biosattach, NULL,
config_activate_children
};
-/* $OpenBSD: cpu.c,v 1.107 2021/03/11 11:16:57 jsg Exp $ */
+/* $OpenBSD: cpu.c,v 1.108 2022/02/21 10:24:28 mpi Exp $ */
/* $NetBSD: cpu.c,v 1.1.2.7 2000/06/26 02:04:05 sommerfeld Exp $ */
/*-
struct cpu_info *sc_info;
};
-struct cfattach cpu_ca = {
+const struct cfattach cpu_ca = {
sizeof(struct cpu_softc), cpu_match, cpu_attach, NULL, cpu_activate
};
-/* $OpenBSD: esm.c,v 1.61 2019/10/12 15:56:17 cheloha Exp $ */
+/* $OpenBSD: esm.c,v 1.62 2022/02/21 10:24:28 mpi Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
volatile int sc_wdog_tickle;
};
-struct cfattach esm_ca = {
+const struct cfattach esm_ca = {
sizeof(struct esm_softc), esm_match, esm_attach,
NULL, esm_activate
};
-/* $OpenBSD: ioapic.c,v 1.42 2021/09/02 08:48:22 mpi Exp $ */
+/* $OpenBSD: ioapic.c,v 1.43 2022/02/21 10:24:28 mpi Exp $ */
/* $NetBSD: ioapic.c,v 1.7 2003/07/14 22:32:40 lukem Exp $ */
/*-
apic_format_redir(sc->sc_pic.pic_name, why, pin, redirhi, redirlo);
}
-struct cfattach ioapic_ca = {
+const struct cfattach ioapic_ca = {
sizeof(struct ioapic_softc), ioapic_match, ioapic_attach, NULL,
ioapic_activate
};
-/* $OpenBSD: mainbus.c,v 1.59 2019/01/18 01:34:50 pd Exp $ */
+/* $OpenBSD: mainbus.c,v 1.60 2022/02/21 10:24:28 mpi Exp $ */
/* $NetBSD: mainbus.c,v 1.21 1997/06/06 23:14:20 thorpej 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, NULL,
config_activate_children
};
-/* $OpenBSD: mpbios.c,v 1.43 2021/03/11 11:16:57 jsg Exp $ */
+/* $OpenBSD: mpbios.c,v 1.44 2022/02/21 10:24:28 mpi Exp $ */
/* $NetBSD: mpbios.c,v 1.2 2002/10/01 12:56:57 fvdl Exp $ */
/*-
int mpbios_match(struct device *, void *, void *);
void mpbios_attach(struct device *, struct device *, void *);
-struct cfattach mpbios_ca = {
+const struct cfattach mpbios_ca = {
sizeof(struct device), mpbios_match, mpbios_attach
};
-/* $OpenBSD: ahc_isa.c,v 1.19 2021/03/11 11:16:57 jsg Exp $ */
+/* $OpenBSD: ahc_isa.c,v 1.20 2022/02/21 10:24:28 mpi Exp $ */
/* $NetBSD: ahc_isa.c,v 1.5 1996/10/21 22:27:39 thorpej Exp $ */
/*
void ahc_isa_attach(struct device *, struct device *, void *);
void aha2840_load_seeprom(struct ahc_softc *ahc);
-struct cfattach ahc_isa_ca = {
+const struct cfattach ahc_isa_ca = {
sizeof(struct ahc_softc), ahc_isa_probe, ahc_isa_attach
};
-/* $OpenBSD: joy_isa.c,v 1.7 2007/08/01 13:18:18 martin Exp $ */
+/* $OpenBSD: joy_isa.c,v 1.8 2022/02/21 10:24:28 mpi Exp $ */
/* $NetBSD: joy.c,v 1.3 1996/05/05 19:46:15 christos Exp $ */
/*-
int joy_isa_probe(struct device *, void *, void *);
void joy_isa_attach(struct device *, struct device *, void *);
-struct cfattach joy_isa_ca = {
+const struct cfattach joy_isa_ca = {
sizeof(struct joy_softc), joy_isa_probe, joy_isa_attach
};
-/* $OpenBSD: joy_isapnp.c,v 1.7 2007/08/01 13:18:18 martin Exp $ */
+/* $OpenBSD: joy_isapnp.c,v 1.8 2022/02/21 10:24:28 mpi Exp $ */
/* $NetBSD: joy.c,v 1.3 1996/05/05 19:46:15 christos Exp $ */
/*-
int joy_isapnp_probe(struct device *, void *, void *);
void joy_isapnp_attach(struct device *, struct device *, void *);
-struct cfattach joy_isapnp_ca = {
+const struct cfattach joy_isapnp_ca = {
sizeof(struct joy_softc), joy_isapnp_probe, joy_isapnp_attach
};
-/* $OpenBSD: lms.c,v 1.21 2016/06/05 20:02:36 bru Exp $ */
+/* $OpenBSD: lms.c,v 1.22 2022/02/21 10:24:28 mpi Exp $ */
/* $NetBSD: lms.c,v 1.38 2000/01/08 02:57:25 takemura Exp $ */
/*-
void lmsattach(struct device *, struct device *, void *);
int lmsintr(void *);
-struct cfattach lms_ca = {
+const struct cfattach lms_ca = {
sizeof(struct lms_softc), lmsprobe, lmsattach
};
-/* $OpenBSD: mms.c,v 1.20 2016/06/05 20:02:36 bru Exp $ */
+/* $OpenBSD: mms.c,v 1.21 2022/02/21 10:24:28 mpi Exp $ */
/* $NetBSD: mms.c,v 1.35 2000/01/08 02:57:25 takemura Exp $ */
/*-
void mmsattach(struct device *, struct device *, void *);
int mmsintr(void *);
-struct cfattach mms_ca = {
+const struct cfattach mms_ca = {
sizeof(struct mms_softc), mmsprobe, mmsattach
};
-/* $OpenBSD: npx.c,v 1.72 2020/09/24 21:14:32 deraadt Exp $ */
+/* $OpenBSD: npx.c,v 1.73 2022/02/21 10:24:28 mpi Exp $ */
/* $NetBSD: npx.c,v 1.57 1996/05/12 23:12:24 mycroft Exp $ */
#if 0
int npxprobe(struct device *, void *, void *);
void npxattach(struct device *, struct device *, void *);
-struct cfattach npx_ca = {
+const struct cfattach npx_ca = {
sizeof(struct npx_softc), npxprobe, npxattach
};
-/* $OpenBSD: elan520.c,v 1.22 2018/07/30 14:19:12 kettenis Exp $ */
+/* $OpenBSD: elan520.c,v 1.23 2022/02/21 10:24:28 mpi Exp $ */
/* $NetBSD: elan520.c,v 1.4 2002/10/02 05:47:15 thorpej Exp $ */
/*-
u_int elansc_tc_read(struct timecounter *);
-struct cfattach elansc_ca = {
+const struct cfattach elansc_ca = {
sizeof(struct elansc_softc), elansc_match, elansc_attach,
NULL, elansc_activate
};
-/* $OpenBSD: geodesc.c,v 1.16 2021/02/23 04:44:30 cheloha Exp $ */
+/* $OpenBSD: geodesc.c,v 1.17 2022/02/21 10:24:28 mpi Exp $ */
/*
* Copyright (c) 2003 Markus Friedl <markus@openbsd.org>
int geodesc_wdogctl_cb(void *, int);
#endif /* SMALL_KERNEL */
-struct cfattach geodesc_ca = {
+const struct cfattach geodesc_ca = {
sizeof(struct geodesc_softc), geodesc_match, geodesc_attach,
NULL, geodesc_activate
};
-/* $OpenBSD: glxsb.c,v 1.40 2021/10/24 10:26:22 patrick Exp $ */
+/* $OpenBSD: glxsb.c,v 1.41 2022/02/21 10:24:28 mpi Exp $ */
/*
* Copyright (c) 2006 Tom Cosgrove <tom@openbsd.org>
int glxsb_activate(struct device *, int);
void glxsb_rnd(void *);
-struct cfattach glxsb_ca = {
+const struct cfattach glxsb_ca = {
sizeof(struct glxsb_softc), glxsb_match, glxsb_attach, NULL,
glxsb_activate
};
-/* $OpenBSD: gscpcib.c,v 1.6 2009/03/29 21:53:52 sthen Exp $ */
+/* $OpenBSD: gscpcib.c,v 1.7 2022/02/21 10:24:28 mpi Exp $ */
/*
* Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org>
*
/* arch/i386/pci/pcib.c */
void pcibattach(struct device *, struct device *, void *);
-struct cfattach gscpcib_ca = {
+const struct cfattach gscpcib_ca = {
sizeof (struct gscpcib_softc),
gscpcib_match,
gscpcib_attach
-/* $OpenBSD: gscpm.c,v 1.12 2021/03/11 11:16:57 jsg Exp $ */
+/* $OpenBSD: gscpm.c,v 1.13 2022/02/21 10:24:28 mpi Exp $ */
/*
* Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org>
*
.tc_user = 0,
};
-struct cfattach gscpm_ca = {
+const struct cfattach gscpm_ca = {
sizeof (struct gscpm_softc),
gscpm_match,
gscpm_attach
-/* $OpenBSD: ichpcib.c,v 1.30 2021/02/23 04:44:30 cheloha Exp $ */
+/* $OpenBSD: ichpcib.c,v 1.31 2022/02/21 10:24:28 mpi Exp $ */
/*
* Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org>
*
.tc_user = 0,
};
-struct cfattach ichpcib_ca = {
+const struct cfattach ichpcib_ca = {
sizeof(struct ichpcib_softc), ichpcib_match, ichpcib_attach
};
-/* $OpenBSD: pchb.c,v 1.92 2020/05/29 04:42:24 deraadt Exp $ */
+/* $OpenBSD: pchb.c,v 1.93 2022/02/21 10:24:28 mpi Exp $ */
/* $NetBSD: pchb.c,v 1.65 2007/08/15 02:26:13 markd Exp $ */
/*
void pchbattach(struct device *, struct device *, void *);
int pchbactivate(struct device *, int);
-struct cfattach pchb_ca = {
+const struct cfattach pchb_ca = {
sizeof(struct pchb_softc), pchbmatch, pchbattach, NULL,
pchbactivate
};
-/* $OpenBSD: pcib.c,v 1.24 2013/05/30 16:15:01 deraadt Exp $ */
+/* $OpenBSD: pcib.c,v 1.25 2022/02/21 10:24:28 mpi Exp $ */
/* $NetBSD: pcib.c,v 1.6 1997/06/06 23:29:16 thorpej Exp $ */
/*-
void pcib_callback(struct device *);
int pcib_print(void *, const char *);
-struct cfattach pcib_ca = {
+const struct cfattach pcib_ca = {
sizeof(struct device), pcibmatch, pcibattach
};
-/* $OpenBSD: pcibios.c,v 1.48 2015/09/08 08:33:26 deraadt Exp $ */
+/* $OpenBSD: pcibios.c,v 1.49 2022/02/21 10:24:28 mpi Exp $ */
/* $NetBSD: pcibios.c,v 1.5 2000/08/01 05:23:59 uch Exp $ */
/*
int pcibiosprobe(struct device *, void *, void *);
void pcibiosattach(struct device *, struct device *, void *);
-struct cfattach pcibios_ca = {
+const struct cfattach pcibios_ca = {
sizeof(struct pcibios_softc), pcibiosprobe, pcibiosattach
};