-/* $OpenBSD: cpu.c,v 1.44 2020/07/15 08:24:29 fcambus Exp $ */
+/* $OpenBSD: cpu.c,v 1.45 2022/03/13 08:04:13 mpi Exp $ */
/* $NetBSD: cpu.c,v 1.44 2000/05/23 05:12:53 thorpej Exp $ */
/*-
int cpumatch(struct device *, void *, void *);
void cpuattach(struct device *, struct device *, void *);
-struct cfattach cpu_ca = {
+const struct cfattach cpu_ca = {
sizeof(struct device), cpumatch, cpuattach
};
-/* $OpenBSD: mainbus.c,v 1.14 2013/12/22 18:52:34 miod Exp $ */
+/* $OpenBSD: mainbus.c,v 1.15 2022/03/13 08:04:13 mpi Exp $ */
/* $NetBSD: mainbus.c,v 1.27 1998/06/24 01:10:35 ross Exp $ */
/*
static void mbattach(struct device *, struct device *, void *);
static int mbprint(void *, const char *);
-struct cfattach mainbus_ca = {
+const struct cfattach mainbus_ca = {
sizeof(struct device), mbmatch, mbattach
};
-/* $OpenBSD: mcclock_isa.c,v 1.8 2006/01/02 05:21:24 brad Exp $ */
+/* $OpenBSD: mcclock_isa.c,v 1.9 2022/03/13 08:04:13 mpi 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: mcbus.c,v 1.4 2021/03/11 11:16:54 jsg Exp $ */
+/* $OpenBSD: mcbus.c,v 1.5 2022/03/13 08:04:13 mpi Exp $ */
/* $NetBSD: mcbus.c,v 1.19 2007/03/04 05:59:11 christos Exp $ */
/*
u_int8_t mcbus_types[MCBUS_MID_MAX];
} mcbus_softc_t;
-struct cfattach mcbus_ca = {
+const struct cfattach mcbus_ca = {
sizeof(mcbus_softc_t), mcbusmatch, mcbusattach
};
-/* $OpenBSD: mcmem.c,v 1.2 2012/12/05 23:20:10 deraadt Exp $ */
+/* $OpenBSD: mcmem.c,v 1.3 2022/03/13 08:04:13 mpi Exp $ */
/* $NetBSD: mcmem.c,v 1.4 2002/10/02 04:06:38 thorpej Exp $ */
/*
int mcmemmatch (struct device *, void *, void *);
void mcmemattach (struct device *, struct device *, void *);
-struct cfattach mcmem_ca = {
+const struct cfattach mcmem_ca = {
sizeof(struct device), mcmemmatch, mcmemattach
};
-/* $OpenBSD: apecs.c,v 1.22 2009/03/30 21:43:13 kettenis Exp $ */
+/* $OpenBSD: apecs.c,v 1.23 2022/03/13 08:04:13 mpi Exp $ */
/* $NetBSD: apecs.c,v 1.16 1996/12/05 01:39:34 cgd Exp $ */
/*-
int apecsmatch(struct device *, void *, void *);
void apecsattach(struct device *, struct device *, void *);
-struct cfattach apecs_ca = {
+const struct cfattach apecs_ca = {
sizeof(struct device), apecsmatch, apecsattach,
};
-/* $OpenBSD: cia.c,v 1.26 2017/10/20 12:05:01 mpi Exp $ */
+/* $OpenBSD: cia.c,v 1.27 2022/03/13 08:04:13 mpi Exp $ */
/* $NetBSD: cia.c,v 1.56 2000/06/29 08:58:45 mrg Exp $ */
/*-
int ciamatch(struct device *, void *, void *);
void ciaattach(struct device *, struct device *, void *);
-struct cfattach cia_ca = {
+const struct cfattach cia_ca = {
sizeof(struct device), ciamatch, ciaattach,
};
-/* $OpenBSD: irongate.c,v 1.11 2009/03/30 21:43:13 kettenis Exp $ */
+/* $OpenBSD: irongate.c,v 1.12 2022/03/13 08:04:13 mpi Exp $ */
/* $NetBSD: irongate.c,v 1.3 2000/11/29 06:29:10 thorpej Exp $ */
/*-
int irongate_match(struct device *, void *, void *);
void irongate_attach(struct device *, struct device *, void *);
-struct cfattach irongate_ca = {
+const struct cfattach irongate_ca = {
sizeof(struct device), irongate_match, irongate_attach,
};
-/* $OpenBSD: lca.c,v 1.23 2013/06/04 19:12:34 miod Exp $ */
+/* $OpenBSD: lca.c,v 1.24 2022/03/13 08:04:13 mpi Exp $ */
/* $NetBSD: lca.c,v 1.14 1996/12/05 01:39:35 cgd Exp $ */
/*-
int lcamatch(struct device *, void *, void *);
void lcaattach(struct device *, struct device *, void *);
-struct cfattach lca_ca = {
+const struct cfattach lca_ca = {
sizeof(struct device), lcamatch, lcaattach,
};
-/* $OpenBSD: mcpcia.c,v 1.6 2012/12/05 23:20:10 deraadt Exp $ */
+/* $OpenBSD: mcpcia.c,v 1.7 2022/03/13 08:04:13 mpi Exp $ */
/* $NetBSD: mcpcia.c,v 1.20 2007/03/04 05:59:11 christos Exp $ */
/*-
int mcpciaprint (void *, const char *);
-struct cfattach mcpcia_ca = {
+const struct cfattach mcpcia_ca = {
sizeof(struct mcpcia_softc), mcpciamatch, mcpciaattach
};
-/* $OpenBSD: sio.c,v 1.40 2015/08/15 19:26:00 miod Exp $ */
+/* $OpenBSD: sio.c,v 1.41 2022/03/13 08:04:13 mpi Exp $ */
/* $NetBSD: sio.c,v 1.15 1996/12/05 01:39:36 cgd Exp $ */
/*
int pcebmatch(struct device *, void *, void *);
-struct cfattach pceb_ca = {
+const struct cfattach pceb_ca = {
sizeof(struct sio_softc), pcebmatch, sioattach,
};
-/* $OpenBSD: tsc.c,v 1.16 2014/12/24 18:46:14 miod Exp $ */
+/* $OpenBSD: tsc.c,v 1.17 2022/03/13 08:04:13 mpi Exp $ */
/* $NetBSD: tsc.c,v 1.3 2000/06/25 19:17:40 thorpej Exp $ */
/*-
int tscmatch(struct device *, void *, void *);
void tscattach(struct device *, struct device *, void *);
-struct cfattach tsc_ca = {
+const struct cfattach tsc_ca = {
sizeof(struct device), tscmatch, tscattach,
};
int tspmatch(struct device *, void *, void *);
void tspattach(struct device *, struct device *, void *);
-struct cfattach tsp_ca = {
+const struct cfattach tsp_ca = {
sizeof(struct tsp_softc), tspmatch, tspattach,
};
-/* $OpenBSD: ioasic.c,v 1.18 2017/10/11 08:14:28 mpi Exp $ */
+/* $OpenBSD: ioasic.c,v 1.19 2022/03/13 08:04:13 mpi Exp $ */
/* $NetBSD: ioasic.c,v 1.34 2000/07/18 06:10:06 thorpej Exp $ */
/*-
int ioasicmatch(struct device *, void *, void *);
void ioasicattach(struct device *, struct device *, void *);
-struct cfattach ioasic_ca = {
+const struct cfattach ioasic_ca = {
sizeof(struct ioasic_softc), ioasicmatch, ioasicattach,
};
-/* $OpenBSD: mcclock_ioasic.c,v 1.6 2002/05/02 22:56:06 miod Exp $ */
+/* $OpenBSD: mcclock_ioasic.c,v 1.7 2022/03/13 08:04:13 mpi Exp $ */
/* $NetBSD: mcclock_ioasic.c,v 1.9 2000/07/04 02:37:51 nisimura Exp $ */
/*
int mcclock_ioasic_match(struct device *, void *, void *);
void mcclock_ioasic_attach(struct device *, struct device *, void *);
-struct cfattach mcclock_ioasic_ca = {
+const struct cfattach mcclock_ioasic_ca = {
sizeof (struct mcclock_ioasic_softc), mcclock_ioasic_match,
mcclock_ioasic_attach,
};
-/* $OpenBSD: tcasic.c,v 1.18 2020/05/23 08:40:55 jsg Exp $ */
+/* $OpenBSD: tcasic.c,v 1.19 2022/03/13 08:04:13 mpi Exp $ */
/* $NetBSD: tcasic.c,v 1.36 2001/08/23 01:16:52 nisimura Exp $ */
/*
void tcasicattach(struct device *, struct device *, void *);
int tcasicactivate(struct device *, int);
-struct cfattach tcasic_ca = {
+const struct cfattach tcasic_ca = {
.ca_devsize = sizeof (struct device),
.ca_match = tcasicmatch,
.ca_attach = tcasicattach,