-/* $OpenBSD: acpi_machdep.c,v 1.102 2022/02/17 17:22:22 deraadt Exp $ */
+/* $OpenBSD: acpi_machdep.c,v 1.103 2022/02/21 11:03:39 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: bios.c,v 1.44 2021/03/11 11:16:54 jsg Exp $ */
+/* $OpenBSD: bios.c,v 1.45 2022/02/21 11:03:39 mpi Exp $ */
/*
* Copyright (c) 2006 Gordon Willem Klok <gklok@cogeco.ca>
*
int bios_print(void *, const char *);
char *fixstring(char *);
-struct cfattach bios_ca = {
+const struct cfattach bios_ca = {
sizeof(struct bios_softc), bios_match, bios_attach
};
-/* $OpenBSD: cpu.c,v 1.154 2021/08/31 17:40:59 dv Exp $ */
+/* $OpenBSD: cpu.c,v 1.155 2022/02/21 11:03:39 mpi Exp $ */
/* $NetBSD: cpu.c,v 1.1 2003/04/26 18:39:26 fvdl Exp $ */
/*-
mp_cpu_start_cleanup };
#endif /* MULTIPROCESSOR */
-struct cfattach cpu_ca = {
+const struct cfattach cpu_ca = {
sizeof(struct cpu_softc), cpu_match, cpu_attach, NULL, cpu_activate
};
-/* $OpenBSD: ioapic.c,v 1.29 2018/08/25 16:09:29 kettenis Exp $ */
+/* $OpenBSD: ioapic.c,v 1.30 2022/02/21 11:03:39 mpi Exp $ */
/* $NetBSD: ioapic.c,v 1.6 2003/05/15 13:30:31 fvdl 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.51 2021/08/31 15:52:59 patrick Exp $ */
+/* $OpenBSD: mainbus.c,v 1.52 2022/02/21 11:03:39 mpi Exp $ */
/* $NetBSD: mainbus.c,v 1.1 2003/04/26 18:39:29 fvdl 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: mpbios.c,v 1.30 2020/12/20 09:49:53 jmatthew Exp $ */
+/* $OpenBSD: mpbios.c,v 1.31 2022/02/21 11:03:39 mpi Exp $ */
/* $NetBSD: mpbios.c,v 1.7 2003/05/15 16:32:50 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: aapic.c,v 1.6 2015/03/14 03:38:46 jsg Exp $ */
+/* $OpenBSD: aapic.c,v 1.7 2022/02/21 11:03:39 mpi Exp $ */
/* $NetBSD: aapic.c,v 1.3 2005/01/13 23:40:01 fvdl Exp $ */
/*
struct device sc_dev;
};
-struct cfattach aapic_ca = {
+const struct cfattach aapic_ca = {
sizeof(struct aapic_softc), aapic_match, aapic_attach
};
-/* $OpenBSD: acpipci.c,v 1.6 2021/03/11 11:16:55 jsg Exp $ */
+/* $OpenBSD: acpipci.c,v 1.7 2022/02/21 11:03:39 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: pchb.c,v 1.45 2020/05/29 04:42:23 deraadt Exp $ */
+/* $OpenBSD: pchb.c,v 1.46 2022/02/21 11:03:39 mpi Exp $ */
/* $NetBSD: pchb.c,v 1.1 2003/04/26 18:39:50 fvdl Exp $ */
/*
* Copyright (c) 2000 Michael Shalayeff
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.6 2013/05/30 16:15:01 deraadt Exp $ */
+/* $OpenBSD: pcib.c,v 1.7 2022/02/21 11:03:39 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
};