const*ify cfattach

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

const*ify cfattach

Martin Pieuchot
These structures are only used by autoconf(9) and don't need to be
modified.  Some subsystems already define most of them as 'const'.
Diff below turn all the remaining one as such.

Only a single driver, de(4), needed a modification apart from adding
the const: removing a forward definition fixed it ;)

Built for all archs, I tested i386, amd64 and sparc64.

Ok?

Index: arch/alpha/alpha/cpu.c
===================================================================
RCS file: /cvs/src/sys/arch/alpha/alpha/cpu.c,v
retrieving revision 1.42
diff -u -p -r1.42 cpu.c
--- arch/alpha/alpha/cpu.c 27 Oct 2016 09:46:14 -0000 1.42
+++ arch/alpha/alpha/cpu.c 13 Feb 2020 09:38:17 -0000
@@ -108,7 +108,7 @@ u_long cpu_implver, cpu_amask;
 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
 };
 
Index: arch/alpha/alpha/mainbus.c
===================================================================
RCS file: /cvs/src/sys/arch/alpha/alpha/mainbus.c,v
retrieving revision 1.14
diff -u -p -r1.14 mainbus.c
--- arch/alpha/alpha/mainbus.c 22 Dec 2013 18:52:34 -0000 1.14
+++ arch/alpha/alpha/mainbus.c 13 Feb 2020 09:38:17 -0000
@@ -43,7 +43,7 @@ static int mbmatch(struct device *, void
 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
 };
 
Index: arch/alpha/isa/mcclock_isa.c
===================================================================
RCS file: /cvs/src/sys/arch/alpha/isa/mcclock_isa.c,v
retrieving revision 1.8
diff -u -p -r1.8 mcclock_isa.c
--- arch/alpha/isa/mcclock_isa.c 2 Jan 2006 05:21:24 -0000 1.8
+++ arch/alpha/isa/mcclock_isa.c 13 Feb 2020 09:38:17 -0000
@@ -50,7 +50,7 @@ struct mcclock_isa_softc {
 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,
 };
Index: arch/alpha/mcbus/mcbus.c
===================================================================
RCS file: /cvs/src/sys/arch/alpha/mcbus/mcbus.c,v
retrieving revision 1.3
diff -u -p -r1.3 mcbus.c
--- arch/alpha/mcbus/mcbus.c 6 Aug 2014 15:15:16 -0000 1.3
+++ arch/alpha/mcbus/mcbus.c 13 Feb 2020 09:38:17 -0000
@@ -68,7 +68,7 @@ typedef struct {
  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
 };
 
Index: arch/alpha/mcbus/mcmem.c
===================================================================
RCS file: /cvs/src/sys/arch/alpha/mcbus/mcmem.c,v
retrieving revision 1.2
diff -u -p -r1.2 mcmem.c
--- arch/alpha/mcbus/mcmem.c 5 Dec 2012 23:20:10 -0000 1.2
+++ arch/alpha/mcbus/mcmem.c 13 Feb 2020 09:38:17 -0000
@@ -52,7 +52,7 @@
 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
 };
 
Index: arch/alpha/pci/apecs.c
===================================================================
RCS file: /cvs/src/sys/arch/alpha/pci/apecs.c,v
retrieving revision 1.22
diff -u -p -r1.22 apecs.c
--- arch/alpha/pci/apecs.c 30 Mar 2009 21:43:13 -0000 1.22
+++ arch/alpha/pci/apecs.c 13 Feb 2020 09:38:17 -0000
@@ -90,7 +90,7 @@
 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,
 };
 
Index: arch/alpha/pci/cia.c
===================================================================
RCS file: /cvs/src/sys/arch/alpha/pci/cia.c,v
retrieving revision 1.26
diff -u -p -r1.26 cia.c
--- arch/alpha/pci/cia.c 20 Oct 2017 12:05:01 -0000 1.26
+++ arch/alpha/pci/cia.c 13 Feb 2020 09:38:17 -0000
@@ -95,7 +95,7 @@
 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,
 };
 
Index: arch/alpha/pci/irongate.c
===================================================================
RCS file: /cvs/src/sys/arch/alpha/pci/irongate.c,v
retrieving revision 1.11
diff -u -p -r1.11 irongate.c
--- arch/alpha/pci/irongate.c 30 Mar 2009 21:43:13 -0000 1.11
+++ arch/alpha/pci/irongate.c 13 Feb 2020 09:38:17 -0000
@@ -53,7 +53,7 @@
 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,
 };
 
Index: arch/alpha/pci/lca.c
===================================================================
RCS file: /cvs/src/sys/arch/alpha/pci/lca.c,v
retrieving revision 1.23
diff -u -p -r1.23 lca.c
--- arch/alpha/pci/lca.c 4 Jun 2013 19:12:34 -0000 1.23
+++ arch/alpha/pci/lca.c 13 Feb 2020 09:38:17 -0000
@@ -89,7 +89,7 @@
 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,
 };
 
Index: arch/alpha/pci/mcpcia.c
===================================================================
RCS file: /cvs/src/sys/arch/alpha/pci/mcpcia.c,v
retrieving revision 1.6
diff -u -p -r1.6 mcpcia.c
--- arch/alpha/pci/mcpcia.c 5 Dec 2012 23:20:10 -0000 1.6
+++ arch/alpha/pci/mcpcia.c 13 Feb 2020 09:38:17 -0000
@@ -99,7 +99,7 @@ void mcpcia_config_cleanup (void);
 
 int mcpciaprint (void *, const char *);
 
-struct cfattach mcpcia_ca = {
+const struct cfattach mcpcia_ca = {
  sizeof(struct mcpcia_softc), mcpciamatch, mcpciaattach
 };
 
Index: arch/alpha/pci/sio.c
===================================================================
RCS file: /cvs/src/sys/arch/alpha/pci/sio.c,v
retrieving revision 1.40
diff -u -p -r1.40 sio.c
--- arch/alpha/pci/sio.c 15 Aug 2015 19:26:00 -0000 1.40
+++ arch/alpha/pci/sio.c 13 Feb 2020 09:38:17 -0000
@@ -79,7 +79,7 @@ struct cfdriver sio_cd = {
 
 int pcebmatch(struct device *, void *, void *);
 
-struct cfattach pceb_ca = {
+const struct cfattach pceb_ca = {
  sizeof(struct sio_softc), pcebmatch, sioattach,
 };
 
Index: arch/alpha/pci/tsc.c
===================================================================
RCS file: /cvs/src/sys/arch/alpha/pci/tsc.c,v
retrieving revision 1.16
diff -u -p -r1.16 tsc.c
--- arch/alpha/pci/tsc.c 24 Dec 2014 18:46:14 -0000 1.16
+++ arch/alpha/pci/tsc.c 13 Feb 2020 09:38:17 -0000
@@ -56,7 +56,7 @@
 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,
 };
 
@@ -71,7 +71,7 @@ static int tscprint(void *, const char *
 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,
 };
 
Index: arch/alpha/tc/cfb.c
===================================================================
RCS file: /cvs/src/sys/arch/alpha/tc/cfb.c,v
retrieving revision 1.24
diff -u -p -r1.24 cfb.c
--- arch/alpha/tc/cfb.c 15 Jan 2017 20:22:33 -0000 1.24
+++ arch/alpha/tc/cfb.c 13 Feb 2020 09:38:17 -0000
@@ -57,7 +57,7 @@
 int cfbmatch(struct device *, void *, void *);
 void cfbattach(struct device *, struct device *, void *);
 
-struct cfattach cfb_ca = {
+const struct cfattach cfb_ca = {
  sizeof(struct cfb_softc), cfbmatch, cfbattach,
 };
 
Index: arch/alpha/tc/ioasic.c
===================================================================
RCS file: /cvs/src/sys/arch/alpha/tc/ioasic.c,v
retrieving revision 1.18
diff -u -p -r1.18 ioasic.c
--- arch/alpha/tc/ioasic.c 11 Oct 2017 08:14:28 -0000 1.18
+++ arch/alpha/tc/ioasic.c 13 Feb 2020 09:38:17 -0000
@@ -81,7 +81,7 @@
 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,
 };
 
Index: arch/alpha/tc/mcclock_ioasic.c
===================================================================
RCS file: /cvs/src/sys/arch/alpha/tc/mcclock_ioasic.c,v
retrieving revision 1.6
diff -u -p -r1.6 mcclock_ioasic.c
--- arch/alpha/tc/mcclock_ioasic.c 2 May 2002 22:56:06 -0000 1.6
+++ arch/alpha/tc/mcclock_ioasic.c 13 Feb 2020 09:38:17 -0000
@@ -53,7 +53,7 @@ struct mcclock_ioasic_softc {
 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,
 };
Index: arch/alpha/tc/sfb.c
===================================================================
RCS file: /cvs/src/sys/arch/alpha/tc/sfb.c,v
retrieving revision 1.22
diff -u -p -r1.22 sfb.c
--- arch/alpha/tc/sfb.c 15 Jan 2017 20:22:33 -0000 1.22
+++ arch/alpha/tc/sfb.c 13 Feb 2020 09:38:17 -0000
@@ -57,7 +57,7 @@
 int sfbmatch(struct device *, void *, void *);
 void sfbattach(struct device *, struct device *, void *);
 
-struct cfattach sfb_ca = {
+const struct cfattach sfb_ca = {
  sizeof(struct sfb_softc), sfbmatch, sfbattach,
 };
 
Index: arch/alpha/tc/tcasic.c
===================================================================
RCS file: /cvs/src/sys/arch/alpha/tc/tcasic.c,v
retrieving revision 1.17
diff -u -p -r1.17 tcasic.c
--- arch/alpha/tc/tcasic.c 29 Oct 2017 08:50:43 -0000 1.17
+++ arch/alpha/tc/tcasic.c 13 Feb 2020 09:38:17 -0000
@@ -44,7 +44,7 @@ int tcasicmatch(struct device *, void *,
 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,
Index: arch/amd64/amd64/acpi_machdep.c
===================================================================
RCS file: /cvs/src/sys/arch/amd64/amd64/acpi_machdep.c,v
retrieving revision 1.89
diff -u -p -r1.89 acpi_machdep.c
--- arch/amd64/amd64/acpi_machdep.c 20 Dec 2019 07:49:31 -0000 1.89
+++ arch/amd64/amd64/acpi_machdep.c 13 Feb 2020 09:38:17 -0000
@@ -68,7 +68,7 @@ u_int8_t *acpi_scan(struct acpi_mem_map
 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
 };
 
Index: arch/amd64/amd64/bios.c
===================================================================
RCS file: /cvs/src/sys/arch/amd64/amd64/bios.c,v
retrieving revision 1.41
diff -u -p -r1.41 bios.c
--- arch/amd64/amd64/bios.c 23 Oct 2019 10:14:46 -0000 1.41
+++ arch/amd64/amd64/bios.c 13 Feb 2020 09:38:17 -0000
@@ -46,7 +46,7 @@ void bios_attach(struct device *, struct
 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
 };
 
Index: arch/amd64/amd64/cpu.c
===================================================================
RCS file: /cvs/src/sys/arch/amd64/amd64/cpu.c,v
retrieving revision 1.144
diff -u -p -r1.144 cpu.c
--- arch/amd64/amd64/cpu.c 10 Feb 2020 03:08:58 -0000 1.144
+++ arch/amd64/amd64/cpu.c 13 Feb 2020 09:38:17 -0000
@@ -376,7 +376,7 @@ struct cpu_functions mp_cpu_funcs = { mp
       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
 };
 
Index: arch/amd64/amd64/ioapic.c
===================================================================
RCS file: /cvs/src/sys/arch/amd64/amd64/ioapic.c,v
retrieving revision 1.29
diff -u -p -r1.29 ioapic.c
--- arch/amd64/amd64/ioapic.c 25 Aug 2018 16:09:29 -0000 1.29
+++ arch/amd64/amd64/ioapic.c 13 Feb 2020 09:38:17 -0000
@@ -225,7 +225,7 @@ ioapic_print_redir(struct ioapic_softc *
  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
 };
Index: arch/amd64/amd64/mainbus.c
===================================================================
RCS file: /cvs/src/sys/arch/amd64/amd64/mainbus.c,v
retrieving revision 1.49
diff -u -p -r1.49 mainbus.c
--- arch/amd64/amd64/mainbus.c 7 Sep 2019 13:46:19 -0000 1.49
+++ arch/amd64/amd64/mainbus.c 13 Feb 2020 09:38:17 -0000
@@ -78,7 +78,7 @@ void replacemds(void);
 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
 };
 
Index: arch/amd64/amd64/mpbios.c
===================================================================
RCS file: /cvs/src/sys/arch/amd64/amd64/mpbios.c,v
retrieving revision 1.29
diff -u -p -r1.29 mpbios.c
--- arch/amd64/amd64/mpbios.c 7 Feb 2018 06:19:54 -0000 1.29
+++ arch/amd64/amd64/mpbios.c 13 Feb 2020 09:38:17 -0000
@@ -184,7 +184,7 @@ int mpbios_scanned;
 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
 };
 
Index: arch/amd64/pci/aapic.c
===================================================================
RCS file: /cvs/src/sys/arch/amd64/pci/aapic.c,v
retrieving revision 1.6
diff -u -p -r1.6 aapic.c
--- arch/amd64/pci/aapic.c 14 Mar 2015 03:38:46 -0000 1.6
+++ arch/amd64/pci/aapic.c 13 Feb 2020 09:38:17 -0000
@@ -31,7 +31,7 @@ struct aapic_softc {
  struct device sc_dev;
 };
 
-struct cfattach aapic_ca = {
+const struct cfattach aapic_ca = {
  sizeof(struct aapic_softc), aapic_match, aapic_attach
 };
 
Index: arch/amd64/pci/acpipci.c
===================================================================
RCS file: /cvs/src/sys/arch/amd64/pci/acpipci.c,v
retrieving revision 1.3
diff -u -p -r1.3 acpipci.c
--- arch/amd64/pci/acpipci.c 7 Sep 2019 13:46:19 -0000 1.3
+++ arch/amd64/pci/acpipci.c 13 Feb 2020 09:38:17 -0000
@@ -58,7 +58,7 @@ struct acpipci_softc {
 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
 };
 
Index: arch/amd64/pci/pchb.c
===================================================================
RCS file: /cvs/src/sys/arch/amd64/pci/pchb.c,v
retrieving revision 1.44
diff -u -p -r1.44 pchb.c
--- arch/amd64/pci/pchb.c 4 Jan 2020 01:34:24 -0000 1.44
+++ arch/amd64/pci/pchb.c 13 Feb 2020 09:38:17 -0000
@@ -118,7 +118,7 @@ int pchbmatch(struct device *, void *, v
 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
 };
Index: arch/amd64/pci/pcib.c
===================================================================
RCS file: /cvs/src/sys/arch/amd64/pci/pcib.c,v
retrieving revision 1.6
diff -u -p -r1.6 pcib.c
--- arch/amd64/pci/pcib.c 30 May 2013 16:15:01 -0000 1.6
+++ arch/amd64/pci/pcib.c 13 Feb 2020 09:38:17 -0000
@@ -49,7 +49,7 @@ void pcibattach(struct device *, struct
 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
 };
 
Index: arch/arm/arm/cpu.c
===================================================================
RCS file: /cvs/src/sys/arch/arm/arm/cpu.c,v
retrieving revision 1.53
diff -u -p -r1.53 cpu.c
--- arch/arm/arm/cpu.c 12 Jan 2020 16:55:00 -0000 1.53
+++ arch/arm/arm/cpu.c 13 Feb 2020 09:38:17 -0000
@@ -152,7 +152,7 @@ int cpu_node;
 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
 };
 
Index: arch/arm/cortex/agtimer.c
===================================================================
RCS file: /cvs/src/sys/arch/arm/cortex/agtimer.c,v
retrieving revision 1.9
diff -u -p -r1.9 agtimer.c
--- arch/arm/cortex/agtimer.c 11 Aug 2018 10:42:42 -0000 1.9
+++ arch/arm/cortex/agtimer.c 13 Feb 2020 09:38:17 -0000
@@ -83,7 +83,7 @@ void agtimer_setstatclockrate(int stath
 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
 };
 
Index: arch/arm/cortex/ampintc.c
===================================================================
RCS file: /cvs/src/sys/arch/arm/cortex/ampintc.c,v
retrieving revision 1.27
diff -u -p -r1.27 ampintc.c
--- arch/arm/cortex/ampintc.c 29 Sep 2019 10:36:52 -0000 1.27
+++ arch/arm/cortex/ampintc.c 13 Feb 2020 09:38:17 -0000
@@ -200,7 +200,7 @@ int ampintc_ipi_nop(void *);
 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
 };
 
@@ -832,7 +832,7 @@ struct ampintc_msi_softc {
  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
 };
 
Index: arch/arm/cortex/amptimer.c
===================================================================
RCS file: /cvs/src/sys/arch/arm/cortex/amptimer.c,v
retrieving revision 1.6
diff -u -p -r1.6 amptimer.c
--- arch/arm/cortex/amptimer.c 9 Jul 2018 09:51:43 -0000 1.6
+++ arch/arm/cortex/amptimer.c 13 Feb 2020 09:38:17 -0000
@@ -117,7 +117,7 @@ void *ampintc_intr_establish(int, int, i
 
 
 
-struct cfattach amptimer_ca = {
+const struct cfattach amptimer_ca = {
  sizeof (struct amptimer_softc), amptimer_match, amptimer_attach
 };
 
Index: arch/arm/cortex/arml2cc.c
===================================================================
RCS file: /cvs/src/sys/arch/arm/cortex/arml2cc.c,v
retrieving revision 1.5
diff -u -p -r1.5 arml2cc.c
--- arch/arm/cortex/arml2cc.c 22 Aug 2016 01:42:00 -0000 1.5
+++ arch/arm/cortex/arml2cc.c 13 Feb 2020 09:38:17 -0000
@@ -116,7 +116,7 @@ void arml2cc_cache_op(struct arml2cc_sof
 void arml2cc_cache_sync(struct arml2cc_softc *);
 void arml2cc_sdcache_drain_writebuf(void);
 
-struct cfattach armliicc_ca = {
+const struct cfattach armliicc_ca = {
  sizeof (struct arml2cc_softc), arml2cc_match, arml2cc_attach
 };
 
Index: arch/arm/cortex/cortex.c
===================================================================
RCS file: /cvs/src/sys/arch/arm/cortex/cortex.c,v
retrieving revision 1.5
diff -u -p -r1.5 cortex.c
--- arch/arm/cortex/cortex.c 2 May 2016 08:15:55 -0000 1.5
+++ arch/arm/cortex/cortex.c 13 Feb 2020 09:38:17 -0000
@@ -81,7 +81,7 @@ int cortexsearch(struct device *,  void
 
 /* attach and device structures for the device */
 
-struct cfattach cortex_ca = {
+const struct cfattach cortex_ca = {
  sizeof(struct device), cortexmatch, cortexattach, NULL,
  config_activate_children
 };
Index: arch/arm/mainbus/mainbus.c
===================================================================
RCS file: /cvs/src/sys/arch/arm/mainbus/mainbus.c,v
retrieving revision 1.21
diff -u -p -r1.21 mainbus.c
--- arch/arm/mainbus/mainbus.c 23 Oct 2019 09:27:43 -0000 1.21
+++ arch/arm/mainbus/mainbus.c 13 Feb 2020 09:38:17 -0000
@@ -50,7 +50,7 @@ struct mainbus_softc {
  int sc_early;
 };
 
-struct cfattach mainbus_ca = {
+const struct cfattach mainbus_ca = {
  sizeof(struct mainbus_softc), mainbus_match, mainbus_attach, NULL,
  config_activate_children
 };
Index: arch/arm/simplebus/simplebus.c
===================================================================
RCS file: /cvs/src/sys/arch/arm/simplebus/simplebus.c,v
retrieving revision 1.15
diff -u -p -r1.15 simplebus.c
--- arch/arm/simplebus/simplebus.c 16 Apr 2019 13:16:06 -0000 1.15
+++ arch/arm/simplebus/simplebus.c 13 Feb 2020 09:38:17 -0000
@@ -33,7 +33,7 @@ void simplebus_attach(struct device *, s
 void simplebus_attach_node(struct device *, int);
 int simplebus_bs_map(void *, uint64_t, bus_size_t, int, bus_space_handle_t *);
 
-struct cfattach simplebus_ca = {
+const struct cfattach simplebus_ca = {
  sizeof(struct simplebus_softc), simplebus_match, simplebus_attach
 };
 
Index: arch/arm64/arm64/acpi_machdep.c
===================================================================
RCS file: /cvs/src/sys/arch/arm64/arm64/acpi_machdep.c,v
retrieving revision 1.3
diff -u -p -r1.3 acpi_machdep.c
--- arch/arm64/arm64/acpi_machdep.c 27 Aug 2019 22:39:53 -0000 1.3
+++ arch/arm64/arm64/acpi_machdep.c 13 Feb 2020 09:38:17 -0000
@@ -37,7 +37,7 @@ int acpi_fdt_match(struct device *, void
 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
 };
 
Index: arch/arm64/arm64/cpu.c
===================================================================
RCS file: /cvs/src/sys/arch/arm64/arm64/cpu.c,v
retrieving revision 1.37
diff -u -p -r1.37 cpu.c
--- arch/arm64/arm64/cpu.c 1 Oct 2019 03:53:26 -0000 1.37
+++ arch/arm64/arm64/cpu.c 13 Feb 2020 09:38:17 -0000
@@ -137,7 +137,7 @@ struct cpu_info *cpu_info_list = &cpu_in
 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
 };
 
Index: arch/arm64/dev/acpipci.c
===================================================================
RCS file: /cvs/src/sys/arch/arm64/dev/acpipci.c,v
retrieving revision 1.13
diff -u -p -r1.13 acpipci.c
--- arch/arm64/dev/acpipci.c 22 Aug 2019 17:14:21 -0000 1.13
+++ arch/arm64/dev/acpipci.c 13 Feb 2020 09:38:17 -0000
@@ -80,7 +80,7 @@ struct acpipci_softc {
 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
 };
 
Index: arch/arm64/dev/agintc.c
===================================================================
RCS file: /cvs/src/sys/arch/arm64/dev/agintc.c,v
retrieving revision 1.22
diff -u -p -r1.22 agintc.c
--- arch/arm64/dev/agintc.c 2 Aug 2019 10:04:59 -0000 1.22
+++ arch/arm64/dev/agintc.c 13 Feb 2020 09:38:17 -0000
@@ -228,7 +228,7 @@ int agintc_ipi_nop(void *v);
 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
 };
 
@@ -1244,7 +1244,7 @@ struct agintc_msi_softc {
  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
 };
 
Index: arch/arm64/dev/agtimer.c
===================================================================
RCS file: /cvs/src/sys/arch/arm64/dev/agtimer.c,v
retrieving revision 1.11
diff -u -p -r1.11 agtimer.c
--- arch/arm64/dev/agtimer.c 5 Oct 2019 11:27:02 -0000 1.11
+++ arch/arm64/dev/agtimer.c 13 Feb 2020 09:38:17 -0000
@@ -81,7 +81,7 @@ void agtimer_setstatclockrate(int stath
 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
 };
 
Index: arch/arm64/dev/ampintc.c
===================================================================
RCS file: /cvs/src/sys/arch/arm64/dev/ampintc.c,v
retrieving revision 1.16
diff -u -p -r1.16 ampintc.c
--- arch/arm64/dev/ampintc.c 22 Sep 2019 15:05:37 -0000 1.16
+++ arch/arm64/dev/ampintc.c 13 Feb 2020 09:38:17 -0000
@@ -195,7 +195,7 @@ int ampintc_ipi_nop(void *);
 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
 };
 
@@ -818,7 +818,7 @@ struct ampintc_msi_softc {
  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
 };
 
Index: arch/arm64/dev/apm.c
===================================================================
RCS file: /cvs/src/sys/arch/arm64/dev/apm.c,v
retrieving revision 1.2
diff -u -p -r1.2 apm.c
--- arch/arm64/dev/apm.c 31 Dec 2019 13:48:31 -0000 1.2
+++ arch/arm64/dev/apm.c 13 Feb 2020 09:38:17 -0000
@@ -69,7 +69,7 @@ struct apm_softc {
 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
 };
 
Index: arch/arm64/dev/bcm2836_intr.c
===================================================================
RCS file: /cvs/src/sys/arch/arm64/dev/bcm2836_intr.c,v
retrieving revision 1.8
diff -u -p -r1.8 bcm2836_intr.c
--- arch/arm64/dev/bcm2836_intr.c 24 Feb 2018 12:46:45 -0000 1.8
+++ arch/arm64/dev/bcm2836_intr.c 13 Feb 2020 09:38:17 -0000
@@ -126,7 +126,7 @@ void bcm_intc_intr_route(void *, int ,
 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
 };
 
Index: arch/arm64/dev/efi.c
===================================================================
RCS file: /cvs/src/sys/arch/arm64/dev/efi.c,v
retrieving revision 1.7
diff -u -p -r1.7 efi.c
--- arch/arm64/dev/efi.c 4 Aug 2019 09:27:09 -0000 1.7
+++ arch/arm64/dev/efi.c 13 Feb 2020 09:38:17 -0000
@@ -57,7 +57,7 @@ struct efi_softc {
 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
 };
 
Index: arch/arm64/dev/mainbus.c
===================================================================
RCS file: /cvs/src/sys/arch/arm64/dev/mainbus.c,v
retrieving revision 1.15
diff -u -p -r1.15 mainbus.c
--- arch/arm64/dev/mainbus.c 23 Oct 2019 09:27:43 -0000 1.15
+++ arch/arm64/dev/mainbus.c 13 Feb 2020 09:38:17 -0000
@@ -55,7 +55,7 @@ struct mainbus_softc {
  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
 };
Index: arch/arm64/dev/pciecam.c
===================================================================
RCS file: /cvs/src/sys/arch/arm64/dev/pciecam.c,v
retrieving revision 1.9
diff -u -p -r1.9 pciecam.c
--- arch/arm64/dev/pciecam.c 2 Jun 2019 18:40:58 -0000 1.9
+++ arch/arm64/dev/pciecam.c 13 Feb 2020 09:38:17 -0000
@@ -106,7 +106,7 @@ void *pciecam_intr_establish(void *, pci
 void pciecam_intr_disestablish(void *, void *);
 int pciecam_bs_map(bus_space_tag_t, bus_addr_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
 };
 
Index: arch/arm64/dev/simplebus.c
===================================================================
RCS file: /cvs/src/sys/arch/arm64/dev/simplebus.c,v
retrieving revision 1.11
diff -u -p -r1.11 simplebus.c
--- arch/arm64/dev/simplebus.c 16 Apr 2019 13:15:31 -0000 1.11
+++ arch/arm64/dev/simplebus.c 13 Feb 2020 09:38:17 -0000
@@ -36,7 +36,7 @@ int simplebus_bs_map(bus_space_tag_t, bu
 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
 };
 
Index: arch/arm64/dev/smbios.c
===================================================================
RCS file: /cvs/src/sys/arch/arm64/dev/smbios.c,v
retrieving revision 1.4
diff -u -p -r1.4 smbios.c
--- arch/arm64/dev/smbios.c 23 Oct 2019 10:14:46 -0000 1.4
+++ arch/arm64/dev/smbios.c 13 Feb 2020 09:38:17 -0000
@@ -57,7 +57,7 @@ struct smbios_softc {
 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
 };
 
Index: arch/armv7/broadcom/bcm2836_intr.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/broadcom/bcm2836_intr.c,v
retrieving revision 1.4
diff -u -p -r1.4 bcm2836_intr.c
--- arch/armv7/broadcom/bcm2836_intr.c 5 Oct 2019 15:44:57 -0000 1.4
+++ arch/armv7/broadcom/bcm2836_intr.c 13 Feb 2020 09:38:17 -0000
@@ -120,7 +120,7 @@ void bcm_intc_intr_disestablish(void *)
 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
 };
 
Index: arch/armv7/exynos/crosec.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/exynos/crosec.c,v
retrieving revision 1.3
diff -u -p -r1.3 crosec.c
--- arch/armv7/exynos/crosec.c 6 Mar 2017 06:50:47 -0000 1.3
+++ arch/armv7/exynos/crosec.c 13 Feb 2020 09:38:17 -0000
@@ -42,7 +42,7 @@ int cros_ec_i2c_command(struct cros_ec_s
  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
 };
 
Index: arch/armv7/exynos/exclock.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/exynos/exclock.c,v
retrieving revision 1.7
diff -u -p -r1.7 exclock.c
--- arch/armv7/exynos/exclock.c 21 May 2017 17:49:45 -0000 1.7
+++ arch/armv7/exynos/exclock.c 13 Feb 2020 09:38:17 -0000
@@ -96,7 +96,7 @@ unsigned int exclock_get_pll_clk(enum cl
 unsigned int exclock_get_armclk(void);
 unsigned int exclock_get_i2cclk(void);
 
-struct cfattach exclock_ca = {
+const struct cfattach exclock_ca = {
  sizeof (struct exclock_softc), exclock_match, exclock_attach
 };
 
Index: arch/armv7/exynos/exdisplay.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/exynos/exdisplay.c,v
retrieving revision 1.4
diff -u -p -r1.4 exdisplay.c
--- arch/armv7/exynos/exdisplay.c 26 Jul 2016 22:10:10 -0000 1.4
+++ arch/armv7/exynos/exdisplay.c 13 Feb 2020 09:38:17 -0000
@@ -52,10 +52,10 @@ void exdisplay_attach(struct device *par
 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
 };
 
Index: arch/armv7/exynos/exdog.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/exynos/exdog.c,v
retrieving revision 1.6
diff -u -p -r1.6 exdog.c
--- arch/armv7/exynos/exdog.c 9 Mar 2017 20:07:35 -0000 1.6
+++ arch/armv7/exynos/exdog.c 13 Feb 2020 09:38:17 -0000
@@ -62,7 +62,7 @@ void exdog_attach(struct device *parent,
 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
 };
 
Index: arch/armv7/exynos/exdwusb.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/exynos/exdwusb.c,v
retrieving revision 1.2
diff -u -p -r1.2 exdwusb.c
--- arch/armv7/exynos/exdwusb.c 29 Aug 2019 14:19:27 -0000 1.2
+++ arch/armv7/exynos/exdwusb.c 13 Feb 2020 09:38:17 -0000
@@ -34,7 +34,7 @@ struct exdwusb_softc {
 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
 };
 
Index: arch/armv7/exynos/exehci.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/exynos/exehci.c,v
retrieving revision 1.8
diff -u -p -r1.8 exehci.c
--- arch/armv7/exynos/exehci.c 23 Dec 2017 10:23:34 -0000 1.8
+++ arch/armv7/exynos/exehci.c 13 Feb 2020 09:38:17 -0000
@@ -92,7 +92,7 @@ struct exehci_softc {
  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
 };
Index: arch/armv7/exynos/exgpio.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/exynos/exgpio.c,v
retrieving revision 1.6
diff -u -p -r1.6 exgpio.c
--- arch/armv7/exynos/exgpio.c 11 Mar 2017 17:06:27 -0000 1.6
+++ arch/armv7/exynos/exgpio.c 13 Feb 2020 09:38:17 -0000
@@ -68,7 +68,7 @@ struct exgpio_softc {
 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
 };
 
Index: arch/armv7/exynos/exiic.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/exynos/exiic.c,v
retrieving revision 1.7
diff -u -p -r1.7 exiic.c
--- arch/armv7/exynos/exiic.c 13 Jan 2020 13:27:25 -0000 1.7
+++ arch/armv7/exynos/exiic.c 13 Feb 2020 09:38:17 -0000
@@ -101,7 +101,7 @@ int exiic_i2c_exec(void *, i2c_op_t, i2c
  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
 };
 
Index: arch/armv7/exynos/exmct.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/exynos/exmct.c,v
retrieving revision 1.5
diff -u -p -r1.5 exmct.c
--- arch/armv7/exynos/exmct.c 4 Mar 2017 18:17:24 -0000 1.5
+++ arch/armv7/exynos/exmct.c 13 Feb 2020 09:38:17 -0000
@@ -48,7 +48,7 @@ void exmct_attach(struct device *, struc
 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
 };
 
Index: arch/armv7/exynos/expower.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/exynos/expower.c,v
retrieving revision 1.7
diff -u -p -r1.7 expower.c
--- arch/armv7/exynos/expower.c 10 Mar 2017 21:26:19 -0000 1.7
+++ arch/armv7/exynos/expower.c 13 Feb 2020 09:38:17 -0000
@@ -45,7 +45,7 @@ struct expower_softc {
 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
 };
 
Index: arch/armv7/exynos/exuart.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/exynos/exuart.c,v
retrieving revision 1.17
diff -u -p -r1.17 exuart.c
--- arch/armv7/exynos/exuart.c 10 Jan 2020 06:45:27 -0000 1.17
+++ arch/armv7/exynos/exuart.c 13 Feb 2020 09:38:17 -0000
@@ -116,7 +116,7 @@ struct cfdriver exuart_cd = {
  NULL, "exuart", DV_TTY
 };
 
-struct cfattach exuart_ca = {
+const struct cfattach exuart_ca = {
  sizeof(struct exuart_softc), exuartprobe, exuartattach
 };
 
Index: arch/armv7/exynos/tps65090.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/exynos/tps65090.c,v
retrieving revision 1.3
diff -u -p -r1.3 tps65090.c
--- arch/armv7/exynos/tps65090.c 6 Mar 2017 06:50:47 -0000 1.3
+++ arch/armv7/exynos/tps65090.c 13 Feb 2020 09:38:17 -0000
@@ -84,7 +84,7 @@ void tps65090_fet_disable(int);
 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
 };
 
Index: arch/armv7/imx/imxahci.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/imx/imxahci.c,v
retrieving revision 1.11
diff -u -p -r1.11 imxahci.c
--- arch/armv7/imx/imxahci.c 2 Apr 2018 17:43:08 -0000 1.11
+++ arch/armv7/imx/imxahci.c 13 Feb 2020 09:38:17 -0000
@@ -99,7 +99,7 @@ struct imxahci_softc {
  struct ahci_softc sc;
 };
 
-struct cfattach imxahci_ca = {
+const struct cfattach imxahci_ca = {
  sizeof(struct imxahci_softc),
  imxahci_match,
  imxahci_attach,
Index: arch/armv7/imx/imxdog.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/imx/imxdog.c,v
retrieving revision 1.5
diff -u -p -r1.5 imxdog.c
--- arch/armv7/imx/imxdog.c 5 Oct 2016 22:06:48 -0000 1.5
+++ arch/armv7/imx/imxdog.c 13 Feb 2020 09:38:17 -0000
@@ -54,7 +54,7 @@ int imxdog_match(struct device *, void *
 void imxdog_attach(struct device *, struct device *, void *);
 void imxdog_reset(void);
 
-struct cfattach imxdog_ca = {
+const struct cfattach imxdog_ca = {
  sizeof (struct imxdog_softc), imxdog_match, imxdog_attach
 };
 
Index: arch/armv7/imx/imxehci.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/imx/imxehci.c,v
retrieving revision 1.25
diff -u -p -r1.25 imxehci.c
--- arch/armv7/imx/imxehci.c 11 Jun 2018 09:22:50 -0000 1.25
+++ arch/armv7/imx/imxehci.c 13 Feb 2020 09:38:17 -0000
@@ -93,7 +93,7 @@ struct imxehci_softc {
  uint32_t sc_unit;
 };
 
-struct cfattach imxehci_ca = {
+const struct cfattach imxehci_ca = {
  sizeof (struct imxehci_softc), imxehci_match, imxehci_attach,
  imxehci_detach
 };
Index: arch/armv7/imx/imxtemp.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/imx/imxtemp.c,v
retrieving revision 1.5
diff -u -p -r1.5 imxtemp.c
--- arch/armv7/imx/imxtemp.c 30 Mar 2018 20:31:01 -0000 1.5
+++ arch/armv7/imx/imxtemp.c 13 Feb 2020 09:38:17 -0000
@@ -90,7 +90,7 @@ struct imxtemp_softc {
 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
 };
 
Index: arch/armv7/marvell/mvacc.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/marvell/mvacc.c,v
retrieving revision 1.3
diff -u -p -r1.3 mvacc.c
--- arch/armv7/marvell/mvacc.c 24 Mar 2017 15:22:45 -0000 1.3
+++ arch/armv7/marvell/mvacc.c 13 Feb 2020 09:38:17 -0000
@@ -82,7 +82,7 @@ void mvacc_attach(struct device *, stru
 
 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
 };
 
Index: arch/armv7/marvell/mvagc.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/marvell/mvagc.c,v
retrieving revision 1.1
diff -u -p -r1.1 mvagc.c
--- arch/armv7/marvell/mvagc.c 7 Oct 2016 19:10:46 -0000 1.1
+++ arch/armv7/marvell/mvagc.c 13 Feb 2020 09:38:17 -0000
@@ -48,7 +48,7 @@ void mvagc_attach(struct device *, stru
 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
 };
 
Index: arch/armv7/marvell/mvahci.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/marvell/mvahci.c,v
retrieving revision 1.1
diff -u -p -r1.1 mvahci.c
--- arch/armv7/marvell/mvahci.c 24 Mar 2017 20:31:58 -0000 1.1
+++ arch/armv7/marvell/mvahci.c 13 Feb 2020 09:38:17 -0000
@@ -57,7 +57,7 @@ int mvahci_activate(struct device *, int
 
 extern int ahci_intr(void *);
 
-struct cfattach mvahci_ca = {
+const struct cfattach mvahci_ca = {
  sizeof(struct ahci_softc),
  mvahci_match,
  mvahci_attach,
Index: arch/armv7/marvell/mvmbus.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/marvell/mvmbus.c,v
retrieving revision 1.3
diff -u -p -r1.3 mvmbus.c
--- arch/armv7/marvell/mvmbus.c 9 Jul 2018 09:24:22 -0000 1.3
+++ arch/armv7/marvell/mvmbus.c 13 Feb 2020 09:38:17 -0000
@@ -91,7 +91,7 @@ struct mbus_dram_info *mvmbus_dram_info;
 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
 };
 
Index: arch/armv7/marvell/mvmpic.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/marvell/mvmpic.c,v
retrieving revision 1.3
diff -u -p -r1.3 mvmpic.c
--- arch/armv7/marvell/mvmpic.c 7 Dec 2018 21:33:28 -0000 1.3
+++ arch/armv7/marvell/mvmpic.c 13 Feb 2020 09:38:17 -0000
@@ -81,7 +81,7 @@ void mpic_set_priority(struct mpic_sof
 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
 };
 
Index: arch/armv7/marvell/mvpcie.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/marvell/mvpcie.c,v
retrieving revision 1.1
diff -u -p -r1.1 mvpcie.c
--- arch/armv7/marvell/mvpcie.c 9 Jul 2018 09:58:40 -0000 1.1
+++ arch/armv7/marvell/mvpcie.c 13 Feb 2020 09:38:17 -0000
@@ -162,7 +162,7 @@ struct mvpcie_softc {
 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
 };
 
Index: arch/armv7/marvell/mvpxa.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/marvell/mvpxa.c,v
retrieving revision 1.1
diff -u -p -r1.1 mvpxa.c
--- arch/armv7/marvell/mvpxa.c 27 Aug 2017 21:27:14 -0000 1.1
+++ arch/armv7/marvell/mvpxa.c 13 Feb 2020 09:38:17 -0000
@@ -68,7 +68,7 @@ struct cfdriver mvpxa_cd = {
  NULL, "mvpxa", DV_DULL
 };
 
-struct cfattach mvpxa_ca = {
+const struct cfattach mvpxa_ca = {
  sizeof(struct mvpxa_softc), mvpxa_match, mvpxa_attach
 };
 
Index: arch/armv7/marvell/mvsysctrl.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/marvell/mvsysctrl.c,v
retrieving revision 1.1
diff -u -p -r1.1 mvsysctrl.c
--- arch/armv7/marvell/mvsysctrl.c 7 Oct 2016 14:43:50 -0000 1.1
+++ arch/armv7/marvell/mvsysctrl.c 13 Feb 2020 09:38:17 -0000
@@ -52,7 +52,7 @@ void mvsysctrl_reset(void);
 
 struct mvsysctrl_softc *mvsysctrl_sc;
 
-struct cfattach mvsysctrl_ca = {
+const struct cfattach mvsysctrl_ca = {
  sizeof (struct mvsysctrl_softc), mvsysctrl_match, mvsysctrl_attach
 };
 
Index: arch/armv7/marvell/mvxhci.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/marvell/mvxhci.c,v
retrieving revision 1.2
diff -u -p -r1.2 mvxhci.c
--- arch/armv7/marvell/mvxhci.c 8 May 2018 13:41:52 -0000 1.2
+++ arch/armv7/marvell/mvxhci.c 13 Feb 2020 09:38:17 -0000
@@ -63,7 +63,7 @@ void mvxhci_wininit(struct mvxhci_softc
 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
 };
 
Index: arch/armv7/omap/amdisplay.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/omap/amdisplay.c,v
retrieving revision 1.11
diff -u -p -r1.11 amdisplay.c
--- arch/armv7/omap/amdisplay.c 25 Dec 2019 11:42:05 -0000 1.11
+++ arch/armv7/omap/amdisplay.c 13 Feb 2020 09:38:17 -0000
@@ -116,7 +116,7 @@ struct wsdisplay_accessops amdisplay_acc
  .list_font = rasops_list_font,
 };
 
-struct cfattach amdisplay_ca = {
+const struct cfattach amdisplay_ca = {
  sizeof(struct amdisplay_softc), amdisplay_match, amdisplay_attach,
  amdisplay_detach
 };
Index: arch/armv7/omap/dmtimer.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/omap/dmtimer.c,v
retrieving revision 1.8
diff -u -p -r1.8 dmtimer.c
--- arch/armv7/omap/dmtimer.c 6 May 2019 03:45:58 -0000 1.8
+++ arch/armv7/omap/dmtimer.c 13 Feb 2020 09:38:17 -0000
@@ -132,7 +132,7 @@ struct dmtimer_softc {
  u_int32_t sc_nextstatevent;
 };
 
-struct cfattach dmtimer_ca = {
+const struct cfattach dmtimer_ca = {
  sizeof (struct dmtimer_softc), NULL, dmtimer_attach
 };
 
Index: arch/armv7/omap/edma.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/omap/edma.c,v
retrieving revision 1.7
diff -u -p -r1.7 edma.c
--- arch/armv7/omap/edma.c 8 Sep 2017 05:36:51 -0000 1.7
+++ arch/armv7/omap/edma.c 13 Feb 2020 09:38:17 -0000
@@ -84,7 +84,7 @@ int edma_match(struct device *, void *,
 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
 };
 
Index: arch/armv7/omap/gptimer.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/omap/gptimer.c,v
retrieving revision 1.7
diff -u -p -r1.7 gptimer.c
--- arch/armv7/omap/gptimer.c 6 May 2019 03:45:58 -0000 1.7
+++ arch/armv7/omap/gptimer.c 13 Feb 2020 09:38:17 -0000
@@ -128,7 +128,7 @@ u_int32_t ticks_err_cnt;
 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
 };
 
Index: arch/armv7/omap/if_cpsw.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/omap/if_cpsw.c,v
retrieving revision 1.44
diff -u -p -r1.44 if_cpsw.c
--- arch/armv7/omap/if_cpsw.c 24 Dec 2018 08:45:57 -0000 1.44
+++ arch/armv7/omap/if_cpsw.c 13 Feb 2020 09:38:17 -0000
@@ -192,7 +192,7 @@ int cpsw_miscintr(void *);
 
 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
Index: arch/armv7/omap/intc.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/omap/intc.c,v
retrieving revision 1.9
diff -u -p -r1.9 intc.c
--- arch/armv7/omap/intc.c 5 Oct 2019 15:44:57 -0000 1.9
+++ arch/armv7/omap/intc.c 13 Feb 2020 09:38:17 -0000
@@ -111,7 +111,7 @@ void intc_calc_mask(void);
 void *intc_intr_establish_fdt(void *, int *, int, int (*)(void *),
     void *, char *);
 
-struct cfattach intc_ca = {
+const struct cfattach intc_ca = {
  sizeof (struct device), intc_match, intc_attach
 };
 
Index: arch/armv7/omap/nxphdmi.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/omap/nxphdmi.c,v
retrieving revision 1.6
diff -u -p -r1.6 nxphdmi.c
--- arch/armv7/omap/nxphdmi.c 6 May 2019 03:45:58 -0000 1.6
+++ arch/armv7/omap/nxphdmi.c 13 Feb 2020 09:38:17 -0000
@@ -286,7 +286,7 @@ int nxphdmi_init_encoder(struct nxphdmi_
 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
 };
 
Index: arch/armv7/omap/omap.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/omap/omap.c,v
retrieving revision 1.21
diff -u -p -r1.21 omap.c
--- arch/armv7/omap/omap.c 1 Mar 2017 04:36:45 -0000 1.21
+++ arch/armv7/omap/omap.c 13 Feb 2020 09:38:17 -0000
@@ -30,7 +30,7 @@ void omap3_init();
 void omap4_init();
 void am335x_init();
 
-struct cfattach omap_ca = {
+const struct cfattach omap_ca = {
  sizeof(struct armv7_softc), omap_match, armv7_attach
 };
 
Index: arch/armv7/omap/omapid.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/omap/omapid.c,v
retrieving revision 1.3
diff -u -p -r1.3 omapid.c
--- arch/armv7/omap/omapid.c 8 Oct 2016 05:55:03 -0000 1.3
+++ arch/armv7/omap/omapid.c 13 Feb 2020 09:38:17 -0000
@@ -52,7 +52,7 @@ struct omapid_softc *omapid_sc;
 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
 };
 
Index: arch/armv7/omap/omdisplay.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/omap/omdisplay.c,v
retrieving revision 1.6
diff -u -p -r1.6 omdisplay.c
--- arch/armv7/omap/omdisplay.c 6 May 2019 03:45:58 -0000 1.6
+++ arch/armv7/omap/omdisplay.c 13 Feb 2020 09:38:17 -0000
@@ -455,7 +455,7 @@ void omdisplay_stop(struct omdisplay_sof
 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
 };
Index: arch/armv7/omap/omdog.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/omap/omdog.c,v
retrieving revision 1.8
diff -u -p -r1.8 omdog.c
--- arch/armv7/omap/omdog.c 27 Nov 2017 06:29:41 -0000 1.8
+++ arch/armv7/omap/omdog.c 13 Feb 2020 09:38:17 -0000
@@ -71,7 +71,7 @@ void omdog_sync(struct omdog_softc *);
 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
 };
Index: arch/armv7/omap/omehci.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/omap/omehci.c,v
retrieving revision 1.4
diff -u -p -r1.4 omehci.c
--- arch/armv7/omap/omehci.c 11 Aug 2016 01:53:18 -0000 1.4
+++ arch/armv7/omap/omehci.c 13 Feb 2020 09:38:17 -0000
@@ -101,7 +101,7 @@ void omehci_phy_reset(uint32_t on, uint3
 void omehci_uhh_init(struct omehci_softc *sc);
 void omehci_v4_early_init(void);
 
-struct cfattach omehci_ca = {
+const struct cfattach omehci_ca = {
  sizeof (struct omehci_softc), omehci_match, omehci_attach,
  omehci_detach, omehci_activate
 };
Index: arch/armv7/omap/omgpio.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/omap/omgpio.c,v
retrieving revision 1.10
diff -u -p -r1.10 omgpio.c
--- arch/armv7/omap/omgpio.c 12 Aug 2016 03:22:41 -0000 1.10
+++ arch/armv7/omap/omgpio.c 13 Feb 2020 09:38:17 -0000
@@ -201,7 +201,7 @@ int omgpio_irq_dummy(void *);
 int omgpio_pin_dir_read(struct omgpio_softc *, unsigned int);
 void omgpio_pin_dir_write(struct omgpio_softc *, unsigned int, unsigned int);
 
-struct cfattach omgpio_ca = {
+const struct cfattach omgpio_ca = {
  sizeof (struct omgpio_softc), omgpio_match, omgpio_attach
 };
 
Index: arch/armv7/omap/ommmc.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/omap/ommmc.c,v
retrieving revision 1.32
diff -u -p -r1.32 ommmc.c
--- arch/armv7/omap/ommmc.c 13 Jan 2020 13:30:42 -0000 1.32
+++ arch/armv7/omap/ommmc.c 13 Feb 2020 09:38:17 -0000
@@ -280,7 +280,7 @@ struct cfdriver ommmc_cd = {
  NULL, "ommmc", DV_DULL
 };
 
-struct cfattach ommmc_ca = {
+const struct cfattach ommmc_ca = {
  sizeof(struct ommmc_softc), ommmc_match, ommmc_attach
 };
 
Index: arch/armv7/omap/omohci.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/omap/omohci.c,v
retrieving revision 1.3
diff -u -p -r1.3 omohci.c
--- arch/armv7/omap/omohci.c 19 May 2014 13:11:31 -0000 1.3
+++ arch/armv7/omap/omohci.c 13 Feb 2020 09:38:17 -0000
@@ -109,7 +109,7 @@ struct omohci_softc {
 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
 };
Index: arch/armv7/omap/omusbtll.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/omap/omusbtll.c,v
retrieving revision 1.3
diff -u -p -r1.3 omusbtll.c
--- arch/armv7/omap/omusbtll.c 6 May 2019 03:45:58 -0000 1.3
+++ arch/armv7/omap/omusbtll.c 13 Feb 2020 09:38:17 -0000
@@ -93,7 +93,7 @@ struct omusbtll_softc {
 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
 };
 
Index: arch/armv7/omap/omwugen.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/omap/omwugen.c,v
retrieving revision 1.1
diff -u -p -r1.1 omwugen.c
--- arch/armv7/omap/omwugen.c 15 Sep 2016 21:55:51 -0000 1.1
+++ arch/armv7/omap/omwugen.c 13 Feb 2020 09:38:17 -0000
@@ -31,7 +31,7 @@ struct omwugen_softc {
 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
 };
 
Index: arch/armv7/omap/prcm.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/omap/prcm.c,v
retrieving revision 1.13
diff -u -p -r1.13 prcm.c
--- arch/armv7/omap/prcm.c 8 Sep 2017 05:36:51 -0000 1.13
+++ arch/armv7/omap/prcm.c 13 Feb 2020 09:38:17 -0000
@@ -109,7 +109,7 @@ void prcm_v4_enablemodule(struct prcm_so
 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
 };
 
Index: arch/armv7/omap/sitara_cm.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/omap/sitara_cm.c,v
retrieving revision 1.5
diff -u -p -r1.5 sitara_cm.c
--- arch/armv7/omap/sitara_cm.c 8 Sep 2017 05:36:51 -0000 1.5
+++ arch/armv7/omap/sitara_cm.c 13 Feb 2020 09:38:17 -0000
@@ -73,7 +73,7 @@ struct sitara_cm_softc {
  bus_space_handle_t sc_ioh;
 };
 
-struct cfattach sitaracm_ca = {
+const struct cfattach sitaracm_ca = {
  sizeof (struct sitara_cm_softc), NULL, sitara_cm_attach
 };
 
Index: arch/armv7/omap/ti_iic.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/omap/ti_iic.c,v
retrieving revision 1.12
diff -u -p -r1.12 ti_iic.c
--- arch/armv7/omap/ti_iic.c 13 Jan 2020 13:32:17 -0000 1.12
+++ arch/armv7/omap/ti_iic.c 13 Feb 2020 09:38:17 -0000
@@ -142,7 +142,7 @@ int ti_iic_wait(struct ti_iic_softc *, u
 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
 };
 
Index: arch/armv7/sunxi/sxiahci.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/sunxi/sxiahci.c,v
retrieving revision 1.15
diff -u -p -r1.15 sxiahci.c
--- arch/armv7/sunxi/sxiahci.c 19 Aug 2019 07:27:11 -0000 1.15
+++ arch/armv7/sunxi/sxiahci.c 13 Feb 2020 09:38:17 -0000
@@ -70,7 +70,7 @@ struct sxiahci_softc {
 
 };
 
-struct cfattach sxiahci_ca = {
+const struct cfattach sxiahci_ca = {
  sizeof(struct sxiahci_softc),
  sxiahci_match,
  sxiahci_attach,
Index: arch/armv7/sunxi/sxie.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/sunxi/sxie.c,v
retrieving revision 1.28
diff -u -p -r1.28 sxie.c
--- arch/armv7/sunxi/sxie.c 12 Sep 2019 03:17:12 -0000 1.28
+++ arch/armv7/sunxi/sxie.c 13 Feb 2020 09:38:17 -0000
@@ -190,7 +190,7 @@ void sxie_miibus_statchg(struct device *
 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
 };
 
Index: arch/armv7/sunxi/sxiintc.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/sunxi/sxiintc.c,v
retrieving revision 1.6
diff -u -p -r1.6 sxiintc.c
--- arch/armv7/sunxi/sxiintc.c 5 Oct 2019 15:44:57 -0000 1.6
+++ arch/armv7/sunxi/sxiintc.c 13 Feb 2020 09:38:17 -0000
@@ -152,7 +152,7 @@ void sxiintc_calc_masks(void);
 void *sxiintc_intr_establish_fdt(void *, int *, int, int (*)(void *),
     void *, char *);
 
-struct cfattach sxiintc_ca = {
+const struct cfattach sxiintc_ca = {
  sizeof (struct device), sxiintc_match, sxiintc_attach
 };
 
Index: arch/armv7/sunxi/sxitimer.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/sunxi/sxitimer.c,v
retrieving revision 1.13
diff -u -p -r1.13 sxitimer.c
--- arch/armv7/sunxi/sxitimer.c 6 May 2019 03:49:53 -0000 1.13
+++ arch/armv7/sunxi/sxitimer.c 13 Feb 2020 09:38:17 -0000
@@ -118,7 +118,7 @@ struct sxitimer_softc {
  struct device sc_dev;
 };
 
-struct cfattach sxitimer_ca = {
+const struct cfattach sxitimer_ca = {
  sizeof (struct sxitimer_softc), sxitimer_match, sxitimer_attach
 };
 
Index: arch/armv7/vexpress/pciecam.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/vexpress/pciecam.c,v
retrieving revision 1.1
diff -u -p -r1.1 pciecam.c
--- arch/armv7/vexpress/pciecam.c 9 Jul 2018 09:54:01 -0000 1.1
+++ arch/armv7/vexpress/pciecam.c 13 Feb 2020 09:38:17 -0000
@@ -106,7 +106,7 @@ void *pciecam_intr_establish(void *, pci
 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
 };
 
Index: arch/armv7/vexpress/sysreg.c
===================================================================
RCS file: /cvs/src/sys/arch/armv7/vexpress/sysreg.c,v
retrieving revision 1.4
diff -u -p -r1.4 sysreg.c
--- arch/armv7/vexpress/sysreg.c 6 May 2019 03:50:48 -0000 1.4
+++ arch/armv7/vexpress/sysreg.c 13 Feb 2020 09:38:17 -0000
@@ -59,7 +59,7 @@ void sysconf_function(struct sysreg_soft
 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
 };
 
Index: arch/hppa/dev/astro.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/dev/astro.c,v
retrieving revision 1.17
diff -u -p -r1.17 astro.c
--- arch/hppa/dev/astro.c 16 Nov 2014 12:30:57 -0000 1.17
+++ arch/hppa/dev/astro.c 13 Feb 2020 09:38:17 -0000
@@ -156,7 +156,7 @@ struct iommu_map_state {
 int astro_match(struct device *, void *, void *);
 void astro_attach(struct device *, struct device *, void *);
 
-struct cfattach astro_ca = {
+const struct cfattach astro_ca = {
  sizeof(struct astro_softc), astro_match, astro_attach
 };
 
Index: arch/hppa/dev/com_dino.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/dev/com_dino.c,v
retrieving revision 1.4
diff -u -p -r1.4 com_dino.c
--- arch/hppa/dev/com_dino.c 15 Jul 2007 19:25:49 -0000 1.4
+++ arch/hppa/dev/com_dino.c 13 Feb 2020 09:38:17 -0000
@@ -61,7 +61,7 @@ struct com_dino_regs {
 int com_dino_match(struct device *, void *, void *);
 void com_dino_attach(struct device *, struct device *, void *);
 
-struct cfattach com_dino_ca = {
+const struct cfattach com_dino_ca = {
  sizeof(struct com_softc), com_dino_match, com_dino_attach
 };
 
Index: arch/hppa/dev/com_ssio.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/dev/com_ssio.c,v
retrieving revision 1.2
diff -u -p -r1.2 com_ssio.c
--- arch/hppa/dev/com_ssio.c 24 Jun 2007 16:28:39 -0000 1.2
+++ arch/hppa/dev/com_ssio.c 13 Feb 2020 09:38:17 -0000
@@ -34,7 +34,7 @@
 int com_ssio_match(struct device *, void *, void *);
 void com_ssio_attach(struct device *, struct device *, void *);
 
-struct cfattach com_ssio_ca = {
+const struct cfattach com_ssio_ca = {
  sizeof(struct com_softc), com_ssio_match, com_ssio_attach
 };
 
Index: arch/hppa/dev/cpu.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/dev/cpu.c,v
retrieving revision 1.41
diff -u -p -r1.41 cpu.c
--- arch/hppa/dev/cpu.c 19 Jan 2014 12:45:35 -0000 1.41
+++ arch/hppa/dev/cpu.c 13 Feb 2020 09:38:17 -0000
@@ -55,7 +55,7 @@ static volatile int start_secondary_cpu;
 int cpumatch(struct device *, void *, void *);
 void cpuattach(struct device *, struct device *, void *);
 
-struct cfattach cpu_ca = {
+const struct cfattach cpu_ca = {
  sizeof(struct cpu_softc), cpumatch, cpuattach
 };
 
Index: arch/hppa/dev/dino.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/dev/dino.c,v
retrieving revision 1.32
diff -u -p -r1.32 dino.c
--- arch/hppa/dev/dino.c 14 May 2018 13:54:39 -0000 1.32
+++ arch/hppa/dev/dino.c 13 Feb 2020 09:38:17 -0000
@@ -126,7 +126,7 @@ int dinomatch(struct device *, void *, v
 void dinoattach(struct device *, struct device *, void *);
 int dino_intr(void *);
 
-struct cfattach dino_ca = {
+const struct cfattach dino_ca = {
  sizeof(struct dino_softc), dinomatch, dinoattach
 };
 
Index: arch/hppa/dev/elroy.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/dev/elroy.c,v
retrieving revision 1.11
diff -u -p -r1.11 elroy.c
--- arch/hppa/dev/elroy.c 25 Feb 2012 17:08:49 -0000 1.11
+++ arch/hppa/dev/elroy.c 13 Feb 2020 09:38:17 -0000
@@ -49,7 +49,7 @@ int elroy_match(struct device *, void *,
 void elroy_attach(struct device *, struct device *, void *);
 int elroy_intr(void *);
 
-struct cfattach elroy_ca = {
+const struct cfattach elroy_ca = {
  sizeof(struct elroy_softc), elroy_match, elroy_attach
 };
 
Index: arch/hppa/dev/gecko.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/dev/gecko.c,v
retrieving revision 1.1
diff -u -p -r1.1 gecko.c
--- arch/hppa/dev/gecko.c 27 Apr 2008 14:39:51 -0000 1.1
+++ arch/hppa/dev/gecko.c 13 Feb 2020 09:38:17 -0000
@@ -39,7 +39,7 @@ struct gecko_softc {
 int gecko_match(struct device *, void *, void *);
 void gecko_attach(struct device *, struct device *, void *);
 
-struct cfattach gecko_ca = {
+const struct cfattach gecko_ca = {
  sizeof(struct gecko_softc), gecko_match, gecko_attach
 };
 
Index: arch/hppa/dev/lcd.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/dev/lcd.c,v
retrieving revision 1.4
diff -u -p -r1.4 lcd.c
--- arch/hppa/dev/lcd.c 11 Dec 2015 16:07:01 -0000 1.4
+++ arch/hppa/dev/lcd.c 13 Feb 2020 09:38:17 -0000
@@ -48,7 +48,7 @@ struct lcd_softc {
 int lcd_match(struct device *, void *, void *);
 void lcd_attach(struct device *, struct device *, void *);
 
-struct cfattach lcd_ca = {
+const struct cfattach lcd_ca = {
  sizeof(struct lcd_softc), lcd_match, lcd_attach
 };
 
Index: arch/hppa/dev/lpt_ssio.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/dev/lpt_ssio.c,v
retrieving revision 1.1
diff -u -p -r1.1 lpt_ssio.c
--- arch/hppa/dev/lpt_ssio.c 20 Jun 2007 18:22:15 -0000 1.1
+++ arch/hppa/dev/lpt_ssio.c 13 Feb 2020 09:38:17 -0000
@@ -30,7 +30,7 @@
 int lpt_ssio_match(struct device *, void *, void *);
 void lpt_ssio_attach(struct device *, struct device *, void *);
 
-struct cfattach lpt_ssio_ca = {
+const struct cfattach lpt_ssio_ca = {
  sizeof(struct lpt_softc), lpt_ssio_match, lpt_ssio_attach
 };
 
Index: arch/hppa/dev/mongoose.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/dev/mongoose.c,v
retrieving revision 1.21
diff -u -p -r1.21 mongoose.c
--- arch/hppa/dev/mongoose.c 24 May 2010 15:04:53 -0000 1.21
+++ arch/hppa/dev/mongoose.c 13 Feb 2020 09:38:17 -0000
@@ -50,7 +50,7 @@
 void mgattach_gedoens(struct device *, struct device *, void *);
 int mgmatch_gedoens(struct device *, void *, void *);
 
-struct cfattach mg_gedoens_ca = {
+const struct cfattach mg_gedoens_ca = {
  sizeof(struct mongoose_softc), mgmatch_gedoens, mgattach_gedoens
 };
 
Index: arch/hppa/dev/pdc.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/dev/pdc.c,v
retrieving revision 1.40
diff -u -p -r1.40 pdc.c
--- arch/hppa/dev/pdc.c 19 Feb 2018 08:59:52 -0000 1.40
+++ arch/hppa/dev/pdc.c 13 Feb 2020 09:38:17 -0000
@@ -63,7 +63,7 @@ struct consdev pdccons = { NULL, NULL, p
 int pdcmatch(struct device *, void *, void *);
 void pdcattach(struct device *, struct device *, void *);
 
-struct cfattach pdc_ca = {
+const struct cfattach pdc_ca = {
  sizeof(pdcsoftc_t), pdcmatch, pdcattach
 };
 
Index: arch/hppa/dev/phantomas.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/dev/phantomas.c,v
retrieving revision 1.5
diff -u -p -r1.5 phantomas.c
--- arch/hppa/dev/phantomas.c 29 Apr 2010 13:48:29 -0000 1.5
+++ arch/hppa/dev/phantomas.c 13 Feb 2020 09:38:17 -0000
@@ -48,7 +48,7 @@ struct phantomas_softc {
 int phantomasmatch(struct device *, void *, void *);
 void phantomasattach(struct device *, struct device *, void *);
 
-struct cfattach phantomas_ca = {
+const struct cfattach phantomas_ca = {
  sizeof(struct phantomas_softc), phantomasmatch, phantomasattach
 };
 
Index: arch/hppa/dev/power.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/dev/power.c,v
retrieving revision 1.10
diff -u -p -r1.10 power.c
--- arch/hppa/dev/power.c 12 Oct 2019 15:53:24 -0000 1.10
+++ arch/hppa/dev/power.c 13 Feb 2020 09:38:17 -0000
@@ -55,7 +55,7 @@ struct power_softc {
 int powermatch(struct device *, void *, void *);
 void powerattach(struct device *, struct device *, void *);
 
-struct cfattach power_ca = {
+const struct cfattach power_ca = {
  sizeof(struct power_softc), powermatch, powerattach
 };
 
Index: arch/hppa/dev/siop_sgc.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/dev/siop_sgc.c,v
retrieving revision 1.1
diff -u -p -r1.1 siop_sgc.c
--- arch/hppa/dev/siop_sgc.c 5 Aug 2007 19:09:52 -0000 1.1
+++ arch/hppa/dev/siop_sgc.c 13 Feb 2020 09:38:17 -0000
@@ -54,7 +54,7 @@ struct siop_sgc_softc {
  struct hppa_bus_space_tag sc_bustag;
 };
 
-struct cfattach siop_gedoens_ca = {
+const struct cfattach siop_gedoens_ca = {
  sizeof(struct siop_sgc_softc), siop_sgc_match, siop_sgc_attach
 };
 
Index: arch/hppa/dev/ssio.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/dev/ssio.c,v
retrieving revision 1.7
diff -u -p -r1.7 ssio.c
--- arch/hppa/dev/ssio.c 8 Mar 2009 22:19:04 -0000 1.7
+++ arch/hppa/dev/ssio.c 13 Feb 2020 09:38:17 -0000
@@ -114,7 +114,7 @@ struct ssio_softc {
  void *sc_ih;
 };
 
-struct cfattach ssio_ca = {
+const struct cfattach ssio_ca = {
  sizeof(struct ssio_softc), ssio_match, ssio_attach
 };
 
Index: arch/hppa/dev/sti_sgc.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/dev/sti_sgc.c,v
retrieving revision 1.40
diff -u -p -r1.40 sti_sgc.c
--- arch/hppa/dev/sti_sgc.c 30 Aug 2014 14:42:05 -0000 1.40
+++ arch/hppa/dev/sti_sgc.c 13 Feb 2020 09:38:17 -0000
@@ -61,7 +61,7 @@ int sti_sgc_probe(struct device *, void
 void sti_sgc_attach(struct device *, struct device *, void *);
 paddr_t sti_sgc_getrom(int, struct confargs *);
 
-struct cfattach sti_gedoens_ca = {
+const struct cfattach sti_gedoens_ca = {
  sizeof(struct sti_softc), sti_sgc_probe, sti_sgc_attach
 };
 
Index: arch/hppa/dev/uturn.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/dev/uturn.c,v
retrieving revision 1.7
diff -u -p -r1.7 uturn.c
--- arch/hppa/dev/uturn.c 29 Apr 2010 13:48:29 -0000 1.7
+++ arch/hppa/dev/uturn.c 13 Feb 2020 09:38:17 -0000
@@ -54,7 +54,7 @@ struct uturn_softc {
 int uturnmatch(struct device *, void *, void *);
 void uturnattach(struct device *, struct device *, void *);
 
-struct cfattach uturn_ca = {
+const struct cfattach uturn_ca = {
  sizeof(struct uturn_softc), uturnmatch, uturnattach
 };
 
Index: arch/hppa/gsc/com_gsc.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/gsc/com_gsc.c,v
retrieving revision 1.21
diff -u -p -r1.21 com_gsc.c
--- arch/hppa/gsc/com_gsc.c 15 Jul 2007 19:25:49 -0000 1.21
+++ arch/hppa/gsc/com_gsc.c 13 Feb 2020 09:38:17 -0000
@@ -51,7 +51,7 @@ struct com_gsc_regs {
 int com_gsc_probe(struct device *, void *, void *);
 void com_gsc_attach(struct device *, struct device *, void *);
 
-struct cfattach com_gsc_ca = {
+const struct cfattach com_gsc_ca = {
  sizeof(struct com_softc), com_gsc_probe, com_gsc_attach
 };
 
Index: arch/hppa/gsc/fdc_gsc.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/gsc/fdc_gsc.c,v
retrieving revision 1.5
diff -u -p -r1.5 fdc_gsc.c
--- arch/hppa/gsc/fdc_gsc.c 7 Apr 2004 18:24:19 -0000 1.5
+++ arch/hppa/gsc/fdc_gsc.c 13 Feb 2020 09:38:17 -0000
@@ -45,7 +45,7 @@
 int fdc_gsc_probe(struct device *, void *, void *);
 void fdc_gsc_attach(struct device *, struct device *, void *);
 
-struct cfattach fdc_gsc_ca = {
+const struct cfattach fdc_gsc_ca = {
  sizeof(struct fdc_softc), fdc_gsc_probe, fdc_gsc_attach
 };
 
Index: arch/hppa/gsc/gsckbc.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/gsc/gsckbc.c,v
retrieving revision 1.20
diff -u -p -r1.20 gsckbc.c
--- arch/hppa/gsc/gsckbc.c 12 Oct 2019 15:53:24 -0000 1.20
+++ arch/hppa/gsc/gsckbc.c 13 Feb 2020 09:38:17 -0000
@@ -102,7 +102,7 @@ struct gsckbc_softc {
  int sc_type;
 };
 
-struct cfattach gsckbc_ca = {
+const struct cfattach gsckbc_ca = {
  sizeof(struct gsckbc_softc), gsckbc_match, gsckbc_attach
 };
 
Index: arch/hppa/gsc/harmony.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/gsc/harmony.c,v
retrieving revision 1.34
diff -u -p -r1.34 harmony.c
--- arch/hppa/gsc/harmony.c 28 Apr 2018 15:44:59 -0000 1.34
+++ arch/hppa/gsc/harmony.c 13 Feb 2020 09:38:17 -0000
@@ -1160,6 +1160,6 @@ struct cfdriver harmony_cd = {
  NULL, "harmony", DV_DULL
 };
 
-struct cfattach harmony_ca = {
+const struct cfattach harmony_ca = {
  sizeof(struct harmony_softc), harmony_match, harmony_attach
 };
Index: arch/hppa/gsc/hil_gsc.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/gsc/hil_gsc.c,v
retrieving revision 1.5
diff -u -p -r1.5 hil_gsc.c
--- arch/hppa/gsc/hil_gsc.c 22 Dec 2005 07:09:52 -0000 1.5
+++ arch/hppa/gsc/hil_gsc.c 13 Feb 2020 09:38:17 -0000
@@ -51,7 +51,7 @@ struct hil_gsc_softc {
  int sc_hil_console;
 };
 
-struct cfattach hil_gsc_ca = {
+const struct cfattach hil_gsc_ca = {
  sizeof(struct hil_gsc_softc), hil_gsc_match, hil_gsc_attach
 };
 
Index: arch/hppa/gsc/if_ie_gsc.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/gsc/if_ie_gsc.c,v
retrieving revision 1.29
diff -u -p -r1.29 if_ie_gsc.c
--- arch/hppa/gsc/if_ie_gsc.c 24 Nov 2015 17:11:38 -0000 1.29
+++ arch/hppa/gsc/if_ie_gsc.c 13 Feb 2020 09:38:17 -0000
@@ -70,7 +70,7 @@ struct ie_gsc_regs {
 int ie_gsc_probe(struct device *, void *, void *);
 void ie_gsc_attach(struct device *, struct device *, void *);
 
-struct cfattach ie_gsc_ca = {
+const struct cfattach ie_gsc_ca = {
  sizeof(struct ie_softc), ie_gsc_probe, ie_gsc_attach
 };
 
Index: arch/hppa/gsc/lpt_gsc.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/gsc/lpt_gsc.c,v
retrieving revision 1.12
diff -u -p -r1.12 lpt_gsc.c
--- arch/hppa/gsc/lpt_gsc.c 16 Sep 2011 17:20:07 -0000 1.12
+++ arch/hppa/gsc/lpt_gsc.c 13 Feb 2020 09:38:17 -0000
@@ -71,7 +71,7 @@
 int lpt_gsc_probe(struct device *, void *, void *);
 void lpt_gsc_attach(struct device *, struct device *, void *);
 
-struct cfattach lpt_gsc_ca = {
+const struct cfattach lpt_gsc_ca = {
  sizeof(struct lpt_softc), lpt_gsc_probe, lpt_gsc_attach
 };
 
Index: arch/hppa/gsc/mongoose_gsc.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/gsc/mongoose_gsc.c,v
retrieving revision 1.1
diff -u -p -r1.1 mongoose_gsc.c
--- arch/hppa/gsc/mongoose_gsc.c 30 Oct 2004 10:26:32 -0000 1.1
+++ arch/hppa/gsc/mongoose_gsc.c 13 Feb 2020 09:38:17 -0000
@@ -45,7 +45,7 @@
 void mgattach_gsc(struct device *, struct device *, void *);
 int mgmatch_gsc(struct device *, void *, void *);
 
-struct cfattach mg_gsc_ca = {
+const struct cfattach mg_gsc_ca = {
  sizeof(struct mongoose_softc), mgmatch_gsc, mgattach_gsc
 };
 
Index: arch/hppa/gsc/oosiop_gsc.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/gsc/oosiop_gsc.c,v
retrieving revision 1.3
diff -u -p -r1.3 oosiop_gsc.c
--- arch/hppa/gsc/oosiop_gsc.c 20 Apr 2010 20:21:54 -0000 1.3
+++ arch/hppa/gsc/oosiop_gsc.c 13 Feb 2020 09:38:17 -0000
@@ -82,7 +82,7 @@ int oosiop_gsc_match(struct device *, vo
 void oosiop_gsc_attach(struct device *, struct device *, void *);
 int oosiop_gsc_intr(void *);
 
-struct cfattach oosiop_gsc_ca = {
+const struct cfattach oosiop_gsc_ca = {
  sizeof(struct oosiop_softc), oosiop_gsc_match, oosiop_gsc_attach
 };
 
Index: arch/hppa/gsc/osiop_gsc.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/gsc/osiop_gsc.c,v
retrieving revision 1.12
diff -u -p -r1.12 osiop_gsc.c
--- arch/hppa/gsc/osiop_gsc.c 13 Dec 2005 23:13:45 -0000 1.12
+++ arch/hppa/gsc/osiop_gsc.c 13 Feb 2020 09:38:17 -0000
@@ -83,7 +83,7 @@ int osiop_gsc_match(struct device *, voi
 void osiop_gsc_attach(struct device *, struct device *, void *);
 int osiop_gsc_intr(void *);
 
-struct cfattach osiop_gsc_ca = {
+const struct cfattach osiop_gsc_ca = {
  sizeof(struct osiop_softc), osiop_gsc_match, osiop_gsc_attach
 };
 
Index: arch/hppa/gsc/siop_gsc.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/gsc/siop_gsc.c,v
retrieving revision 1.4
diff -u -p -r1.4 siop_gsc.c
--- arch/hppa/gsc/siop_gsc.c 23 Aug 2007 21:01:22 -0000 1.4
+++ arch/hppa/gsc/siop_gsc.c 13 Feb 2020 09:38:17 -0000
@@ -54,7 +54,7 @@ struct siop_gsc_softc {
  struct hppa_bus_space_tag sc_bustag;
 };
 
-struct cfattach siop_gsc_ca = {
+const struct cfattach siop_gsc_ca = {
  sizeof(struct siop_gsc_softc), siop_gsc_match, siop_gsc_attach
 };
 
Index: arch/hppa/hppa/mainbus.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/hppa/mainbus.c,v
retrieving revision 1.88
diff -u -p -r1.88 mainbus.c
--- arch/hppa/hppa/mainbus.c 14 May 2018 13:54:39 -0000 1.88
+++ arch/hppa/hppa/mainbus.c 13 Feb 2020 09:38:17 -0000
@@ -57,7 +57,7 @@ struct mainbus_softc {
 int mbmatch(struct device *, void *, void *);
 void mbattach(struct device *, struct device *, void *);
 
-struct cfattach mainbus_ca = {
+const struct cfattach mainbus_ca = {
  sizeof(struct mainbus_softc), mbmatch, mbattach
 };
 
Index: arch/hppa/hppa/mem.c
===================================================================
RCS file: /cvs/src/sys/arch/hppa/hppa/mem.c,v
retrieving revision 1.5
diff -u -p -r1.5 mem.c
--- arch/hppa/hppa/mem.c 30 Dec 2017 20:46:59 -0000 1.5
+++ arch/hppa/hppa/mem.c 13 Feb 2020 09:38:17 -0000
@@ -144,7 +144,7 @@ struct mem_softc {
 int memmatch(struct device *, void *, void *);
 void memattach(struct device *, struct device *, void *);
 
-struct cfattach mem_ca = {
+const struct cfattach mem_ca = {
  sizeof(struct mem_softc), memmatch, memattach
 };
 
Index: arch/i386/i386/acpi_machdep.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/i386/acpi_machdep.c,v
retrieving revision 1.72
diff -u -p -r1.72 acpi_machdep.c
--- arch/i386/i386/acpi_machdep.c 20 Dec 2019 07:55:30 -0000 1.72
+++ arch/i386/i386/acpi_machdep.c 13 Feb 2020 09:38:17 -0000
@@ -78,7 +78,7 @@ u_int8_t *acpi_scan(struct acpi_mem_map
 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
 };
 
Index: arch/i386/i386/amdmsr.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/i386/amdmsr.c,v
retrieving revision 1.10
diff -u -p -r1.10 amdmsr.c
--- arch/i386/i386/amdmsr.c 19 Feb 2018 08:59:52 -0000 1.10
+++ arch/i386/i386/amdmsr.c 13 Feb 2020 09:38:17 -0000
@@ -57,7 +57,7 @@ struct cfdriver amdmsr_cd = {
 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
 };
 
Index: arch/i386/i386/apm.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/i386/apm.c,v
retrieving revision 1.121
diff -u -p -r1.121 apm.c
--- arch/i386/i386/apm.c 31 Dec 2019 13:48:31 -0000 1.121
+++ arch/i386/i386/apm.c 13 Feb 2020 09:38:17 -0000
@@ -96,7 +96,7 @@ struct apm_softc {
 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
 };
 
Index: arch/i386/i386/bios.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/i386/bios.c,v
retrieving revision 1.124
diff -u -p -r1.124 bios.c
--- arch/i386/i386/bios.c 23 Oct 2019 10:14:46 -0000 1.124
+++ arch/i386/i386/bios.c 13 Feb 2020 09:38:17 -0000
@@ -92,7 +92,7 @@ void biosattach(struct device *, struct
 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
 };
Index: arch/i386/i386/cpu.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/i386/cpu.c,v
retrieving revision 1.99
diff -u -p -r1.99 cpu.c
--- arch/i386/i386/cpu.c 10 Feb 2020 03:08:58 -0000 1.99
+++ arch/i386/i386/cpu.c 13 Feb 2020 09:38:17 -0000
@@ -180,7 +180,7 @@ struct cpu_softc {
  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
 };
 
Index: arch/i386/i386/esm.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/i386/esm.c,v
retrieving revision 1.61
diff -u -p -r1.61 esm.c
--- arch/i386/i386/esm.c 12 Oct 2019 15:56:17 -0000 1.61
+++ arch/i386/i386/esm.c 13 Feb 2020 09:38:17 -0000
@@ -124,7 +124,7 @@ struct esm_softc {
  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
 };
Index: arch/i386/i386/ioapic.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/i386/ioapic.c,v
retrieving revision 1.41
diff -u -p -r1.41 ioapic.c
--- arch/i386/i386/ioapic.c 25 Aug 2018 16:09:29 -0000 1.41
+++ arch/i386/i386/ioapic.c 13 Feb 2020 09:38:17 -0000
@@ -236,7 +236,7 @@ ioapic_print_redir(struct ioapic_softc *
  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
 };
Index: arch/i386/i386/mainbus.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/i386/mainbus.c,v
retrieving revision 1.59
diff -u -p -r1.59 mainbus.c
--- arch/i386/i386/mainbus.c 18 Jan 2019 01:34:50 -0000 1.59
+++ arch/i386/i386/mainbus.c 13 Feb 2020 09:38:17 -0000
@@ -84,7 +84,7 @@
 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
 };
Index: arch/i386/i386/mpbios.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/i386/mpbios.c,v
retrieving revision 1.41
diff -u -p -r1.41 mpbios.c
--- arch/i386/i386/mpbios.c 7 Feb 2018 06:19:54 -0000 1.41
+++ arch/i386/i386/mpbios.c 13 Feb 2020 09:38:17 -0000
@@ -197,7 +197,7 @@ int mp_verbose = 0;
 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
 };
 
Index: arch/i386/isa/ahc_isa.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/isa/ahc_isa.c,v
retrieving revision 1.18
diff -u -p -r1.18 ahc_isa.c
--- arch/i386/isa/ahc_isa.c 29 Mar 2009 21:53:52 -0000 1.18
+++ arch/i386/isa/ahc_isa.c 13 Feb 2020 09:38:17 -0000
@@ -120,7 +120,7 @@ int ahc_isa_probe(struct device *, void
 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
 };
 
Index: arch/i386/isa/joy_isa.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/isa/joy_isa.c,v
retrieving revision 1.7
diff -u -p -r1.7 joy_isa.c
--- arch/i386/isa/joy_isa.c 1 Aug 2007 13:18:18 -0000 1.7
+++ arch/i386/isa/joy_isa.c 13 Feb 2020 09:38:17 -0000
@@ -52,7 +52,7 @@
 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
 };
 
Index: arch/i386/isa/joy_isapnp.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/isa/joy_isapnp.c,v
retrieving revision 1.7
diff -u -p -r1.7 joy_isapnp.c
--- arch/i386/isa/joy_isapnp.c 1 Aug 2007 13:18:18 -0000 1.7
+++ arch/i386/isa/joy_isapnp.c 13 Feb 2020 09:38:17 -0000
@@ -52,7 +52,7 @@
 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
 };
 
Index: arch/i386/isa/lms.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/isa/lms.c,v
retrieving revision 1.21
diff -u -p -r1.21 lms.c
--- arch/i386/isa/lms.c 5 Jun 2016 20:02:36 -0000 1.21
+++ arch/i386/isa/lms.c 13 Feb 2020 09:38:17 -0000
@@ -61,7 +61,7 @@ int lmsprobe(struct device *, void *, vo
 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
 };
 
Index: arch/i386/isa/mms.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/isa/mms.c,v
retrieving revision 1.20
diff -u -p -r1.20 mms.c
--- arch/i386/isa/mms.c 5 Jun 2016 20:02:36 -0000 1.20
+++ arch/i386/isa/mms.c 13 Feb 2020 09:38:17 -0000
@@ -58,7 +58,7 @@ int mmsprobe(struct device *, void *, vo
 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
 };
 
Index: arch/i386/isa/npx.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/isa/npx.c,v
retrieving revision 1.70
diff -u -p -r1.70 npx.c
--- arch/i386/isa/npx.c 30 Jul 2018 14:19:12 -0000 1.70
+++ arch/i386/isa/npx.c 13 Feb 2020 09:38:17 -0000
@@ -114,7 +114,7 @@ struct npx_softc {
 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
 };
 
Index: arch/i386/pci/elan520.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/pci/elan520.c,v
retrieving revision 1.22
diff -u -p -r1.22 elan520.c
--- arch/i386/pci/elan520.c 30 Jul 2018 14:19:12 -0000 1.22
+++ arch/i386/pci/elan520.c 13 Feb 2020 09:38:17 -0000
@@ -86,7 +86,7 @@ void elansc_gpio_pin_ctl(void *, int, in
 
 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
 };
Index: arch/i386/pci/geodesc.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/pci/geodesc.c,v
retrieving revision 1.14
diff -u -p -r1.14 geodesc.c
--- arch/i386/pci/geodesc.c 5 Jan 2020 01:07:58 -0000 1.14
+++ arch/i386/pci/geodesc.c 13 Feb 2020 09:38:17 -0000
@@ -48,7 +48,7 @@ void sc1100_sysreset(void);
 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
 };
Index: arch/i386/pci/glxsb.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/pci/glxsb.c,v
retrieving revision 1.35
diff -u -p -r1.35 glxsb.c
--- arch/i386/pci/glxsb.c 28 Apr 2018 15:44:59 -0000 1.35
+++ arch/i386/pci/glxsb.c 13 Feb 2020 09:38:17 -0000
@@ -177,7 +177,7 @@ void glxsb_attach(struct device *, struc
 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
 };
Index: arch/i386/pci/gscpcib.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/pci/gscpcib.c,v
retrieving revision 1.6
diff -u -p -r1.6 gscpcib.c
--- arch/i386/pci/gscpcib.c 29 Mar 2009 21:53:52 -0000 1.6
+++ arch/i386/pci/gscpcib.c 13 Feb 2020 09:38:17 -0000
@@ -57,7 +57,7 @@ void gscpcib_gpio_pin_ctl(void *, int, i
 /* 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
Index: arch/i386/pci/gscpm.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/pci/gscpm.c,v
retrieving revision 1.9
diff -u -p -r1.9 gscpm.c
--- arch/i386/pci/gscpm.c 16 Aug 2012 18:42:04 -0000 1.9
+++ arch/i386/pci/gscpm.c 13 Feb 2020 09:38:17 -0000
@@ -58,7 +58,7 @@ struct timecounter gscpm_timecounter = {
  1000 /* quality */
 };
 
-struct cfattach gscpm_ca = {
+const struct cfattach gscpm_ca = {
  sizeof (struct gscpm_softc),
  gscpm_match,
  gscpm_attach
Index: arch/i386/pci/ichpcib.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/pci/ichpcib.c,v
retrieving revision 1.28
diff -u -p -r1.28 ichpcib.c
--- arch/i386/pci/ichpcib.c 14 Sep 2014 14:17:23 -0000 1.28
+++ arch/i386/pci/ichpcib.c 13 Feb 2020 09:38:17 -0000
@@ -66,7 +66,7 @@ struct timecounter ichpcib_timecounter =
  1000 /* quality */
 };
 
-struct cfattach ichpcib_ca = {
+const struct cfattach ichpcib_ca = {
  sizeof(struct ichpcib_softc), ichpcib_match, ichpcib_attach
 };
 
Index: arch/i386/pci/pchb.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/pci/pchb.c,v
retrieving revision 1.91
diff -u -p -r1.91 pchb.c
--- arch/i386/pci/pchb.c 4 Jan 2020 01:34:24 -0000 1.91
+++ arch/i386/pci/pchb.c 13 Feb 2020 09:38:17 -0000
@@ -131,7 +131,7 @@ int pchbmatch(struct device *, void *, v
 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
 };
Index: arch/i386/pci/pcib.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/pci/pcib.c,v
retrieving revision 1.24
diff -u -p -r1.24 pcib.c
--- arch/i386/pci/pcib.c 30 May 2013 16:15:01 -0000 1.24
+++ arch/i386/pci/pcib.c 13 Feb 2020 09:38:17 -0000
@@ -53,7 +53,7 @@ void pcibattach(struct device *, struct
 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
 };
 
Index: arch/i386/pci/pcibios.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/pci/pcibios.c,v
retrieving revision 1.48
diff -u -p -r1.48 pcibios.c
--- arch/i386/pci/pcibios.c 8 Sep 2015 08:33:26 -0000 1.48
+++ arch/i386/pci/pcibios.c 13 Feb 2020 09:38:17 -0000
@@ -134,7 +134,7 @@ struct cfdriver pcibios_cd = {
 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
 };
 
Index: arch/landisk/dev/obio.c
===================================================================
RCS file: /cvs/src/sys/arch/landisk/dev/obio.c,v
retrieving revision 1.9
diff -u -p -r1.9 obio.c
--- arch/landisk/dev/obio.c 16 Nov 2014 12:30:57 -0000 1.9
+++ arch/landisk/dev/obio.c 13 Feb 2020 09:38:17 -0000
@@ -52,7 +52,7 @@ void obio_attach(struct device *, struct
 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
 };
 
Index: arch/landisk/dev/power.c
===================================================================
RCS file: /cvs/src/sys/arch/landisk/dev/power.c,v
retrieving revision 1.8
diff -u -p -r1.8 power.c
--- arch/landisk/dev/power.c 8 Sep 2017 05:36:52 -0000 1.8
+++ arch/landisk/dev/power.c 13 Feb 2020 09:38:17 -0000
@@ -41,7 +41,7 @@ int power_match(struct device *, void *,
 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
Index: arch/landisk/dev/wdc_obio.c
===================================================================
RCS file: /cvs/src/sys/arch/landisk/dev/wdc_obio.c,v
retrieving revision 1.4
diff -u -p -r1.4 wdc_obio.c
--- arch/landisk/dev/wdc_obio.c 9 May 2011 22:33:53 -0000 1.4
+++ arch/landisk/dev/wdc_obio.c 13 Feb 2020 09:38:17 -0000
@@ -54,7 +54,7 @@ struct wdc_obio_softc {
 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
 };
 
Index: arch/landisk/landisk/mainbus.c
===================================================================
RCS file: /cvs/src/sys/arch/landisk/landisk/mainbus.c,v
retrieving revision 1.5
diff -u -p -r1.5 mainbus.c
--- arch/landisk/landisk/mainbus.c 21 Apr 2010 12:39:39 -0000 1.5
+++ arch/landisk/landisk/mainbus.c 13 Feb 2020 09:38:17 -0000
@@ -42,7 +42,7 @@
 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
 };
 
Index: arch/loongson/dev/apm.c
===================================================================
RCS file: /cvs/src/sys/arch/loongson/dev/apm.c,v
retrieving revision 1.33
diff -u -p -r1.33 apm.c
--- arch/loongson/dev/apm.c 31 Dec 2019 13:48:31 -0000 1.33
+++ arch/loongson/dev/apm.c 13 Feb 2020 09:38:17 -0000
@@ -73,7 +73,7 @@ struct apm_softc {
 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
 };
 
Index: arch/loongson/dev/gdiumiic.c
===================================================================
RCS file: /cvs/src/sys/arch/loongson/dev/gdiumiic.c,v
retrieving revision 1.6
diff -u -p -r1.6 gdiumiic.c
--- arch/loongson/dev/gdiumiic.c 19 Apr 2013 23:44:34 -0000 1.6
+++ arch/loongson/dev/gdiumiic.c 13 Feb 2020 09:38:17 -0000
@@ -78,7 +78,7 @@ int gdiumiic_bustype(struct gpio_attach
 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,
Index: arch/loongson/dev/glxclk.c
===================================================================
RCS file: /cvs/src/sys/arch/loongson/dev/glxclk.c,v
retrieving revision 1.5
diff -u -p -r1.5 glxclk.c
--- arch/loongson/dev/glxclk.c 19 Jul 2015 21:11:47 -0000 1.5
+++ arch/loongson/dev/glxclk.c 13 Feb 2020 09:38:17 -0000
@@ -50,7 +50,7 @@ int glxclk_intr(void *);
 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,
 };
 
Index: arch/loongson/dev/mcclock_isa.c
===================================================================
RCS file: /cvs/src/sys/arch/loongson/dev/mcclock_isa.c,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 mcclock_isa.c
--- arch/loongson/dev/mcclock_isa.c 25 Dec 2009 21:04:32 -0000 1.1.1.1
+++ arch/loongson/dev/mcclock_isa.c 13 Feb 2020 09:38:17 -0000
@@ -50,7 +50,7 @@ struct mcclock_isa_softc {
 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,
 };
Index: arch/loongson/dev/ohci_voyager.c
===================================================================
RCS file: /cvs/src/sys/arch/loongson/dev/ohci_voyager.c,v
retrieving revision 1.7
diff -u -p -r1.7 ohci_voyager.c
--- arch/loongson/dev/ohci_voyager.c 7 Jan 2019 03:41:06 -0000 1.7
+++ arch/loongson/dev/ohci_voyager.c 13 Feb 2020 09:38:17 -0000
@@ -72,7 +72,7 @@ struct ohci_voyager_softc {
  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
 };
Index: arch/luna88k/cbus/i82365_cbus.c
===================================================================
RCS file: /cvs/src/sys/arch/luna88k/cbus/i82365_cbus.c,v
retrieving revision 1.6
diff -u -p -r1.6 i82365_cbus.c
--- arch/luna88k/cbus/i82365_cbus.c 30 Jun 2019 00:23:22 -0000 1.6
+++ arch/luna88k/cbus/i82365_cbus.c 13 Feb 2020 09:38:17 -0000
@@ -112,7 +112,7 @@ struct luna88k_bus_space_tag pcic_cbus_m
  .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
 };
 
Index: arch/luna88k/cbus/if_ne_cbus.c
===================================================================
RCS file: /cvs/src/sys/arch/luna88k/cbus/if_ne_cbus.c,v
retrieving revision 1.1
diff -u -p -r1.1 if_ne_cbus.c
--- arch/luna88k/cbus/if_ne_cbus.c 30 Dec 2019 12:16:12 -0000 1.1
+++ arch/luna88k/cbus/if_ne_cbus.c 13 Feb 2020 09:38:17 -0000
@@ -104,7 +104,7 @@ struct ne_cbus_softc {
  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
 };
 
Index: arch/luna88k/cbus/necsb.c
===================================================================
RCS file: /cvs/src/sys/arch/luna88k/cbus/necsb.c,v
retrieving revision 1.4
diff -u -p -r1.4 necsb.c
--- arch/luna88k/cbus/necsb.c 16 Mar 2017 18:13:43 -0000 1.4
+++ arch/luna88k/cbus/necsb.c 13 Feb 2020 09:38:17 -0000
@@ -53,7 +53,7 @@
 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
 };
 
Index: arch/luna88k/dev/spc.c
===================================================================
RCS file: /cvs/src/sys/arch/luna88k/dev/spc.c,v
retrieving revision 1.11
diff -u -p -r1.11 spc.c
--- arch/luna88k/dev/spc.c 5 Feb 2020 16:29:29 -0000 1.11
+++ arch/luna88k/dev/spc.c 13 Feb 2020 09:38:17 -0000
@@ -51,7 +51,7 @@
 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
 };
 
Index: arch/luna88k/dev/timekeeper.c
===================================================================
RCS file: /cvs/src/sys/arch/luna88k/dev/timekeeper.c,v
retrieving revision 1.10
diff -u -p -r1.10 timekeeper.c
--- arch/luna88k/dev/timekeeper.c 3 Nov 2017 06:54:06 -0000 1.10
+++ arch/luna88k/dev/timekeeper.c 13 Feb 2020 09:38:17 -0000
@@ -64,7 +64,7 @@ struct timekeeper_softc {
 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
 };
 
Index: arch/macppc/dev/abtn.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/abtn.c,v
retrieving revision 1.17
diff -u -p -r1.17 abtn.c
--- arch/macppc/dev/abtn.c 27 Jan 2015 09:45:51 -0000 1.17
+++ arch/macppc/dev/abtn.c 13 Feb 2020 09:38:17 -0000
@@ -65,7 +65,7 @@ extern int wskbd_set_mixervolume(long, l
 #endif
 #endif
 
-struct cfattach abtn_ca = {
+const struct cfattach abtn_ca = {
  sizeof(struct abtn_softc), abtn_match, abtn_attach
 };
 struct cfdriver abtn_cd = {
Index: arch/macppc/dev/adb.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/adb.c,v
retrieving revision 1.42
diff -u -p -r1.42 adb.c
--- arch/macppc/dev/adb.c 3 Sep 2019 17:51:52 -0000 1.42
+++ arch/macppc/dev/adb.c 13 Feb 2020 09:38:17 -0000
@@ -1553,7 +1553,7 @@ adb_restart(void)
 int adbmatch(struct device *, void *, void *);
 void adbattach(struct device *, struct device *, void *);
 
-struct cfattach adb_ca = {
+const struct cfattach adb_ca = {
  sizeof(struct adb_softc), adbmatch, adbattach
 };
 
Index: arch/macppc/dev/aoa.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/aoa.c,v
retrieving revision 1.9
diff -u -p -r1.9 aoa.c
--- arch/macppc/dev/aoa.c 19 Sep 2016 06:46:43 -0000 1.9
+++ arch/macppc/dev/aoa.c 13 Feb 2020 09:38:17 -0000
@@ -57,7 +57,7 @@ void aoa_attach(struct device *, struct
 void aoa_defer(struct device *);
 void aoa_set_volume(struct aoa_softc *, int, int);
 
-struct cfattach aoa_ca = {
+const struct cfattach aoa_ca = {
  sizeof(struct aoa_softc), aoa_match, aoa_attach
 };
 
Index: arch/macppc/dev/apm.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/apm.c,v
retrieving revision 1.20
diff -u -p -r1.20 apm.c
--- arch/macppc/dev/apm.c 31 Dec 2019 13:48:31 -0000 1.20
+++ arch/macppc/dev/apm.c 13 Feb 2020 09:38:17 -0000
@@ -68,7 +68,7 @@ struct apm_softc {
 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
 };
 
Index: arch/macppc/dev/asms.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/asms.c,v
retrieving revision 1.7
diff -u -p -r1.7 asms.c
--- arch/macppc/dev/asms.c 25 Apr 2008 16:37:44 -0000 1.7
+++ arch/macppc/dev/asms.c 13 Feb 2020 09:38:17 -0000
@@ -69,7 +69,7 @@ int asms_match(struct device *, void *,
 void asms_attach(struct device *, struct device *, void *);
 void asms_refresh(void *);
 
-struct cfattach asms_ca = {
+const struct cfattach asms_ca = {
  sizeof(struct asms_softc), asms_match, asms_attach
 };
 
Index: arch/macppc/dev/awacs.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/awacs.c,v
retrieving revision 1.34
diff -u -p -r1.34 awacs.c
--- arch/macppc/dev/awacs.c 19 Sep 2016 06:46:43 -0000 1.34
+++ arch/macppc/dev/awacs.c 13 Feb 2020 09:38:17 -0000
@@ -118,7 +118,7 @@ void awacs_set_speaker_volume(struct awa
 void awacs_set_ext_volume(struct awacs_softc *, int, int);
 void awacs_set_rate(struct awacs_softc *, struct audio_params *);
 
-struct cfattach awacs_ca = {
+const struct cfattach awacs_ca = {
  sizeof(struct awacs_softc), awacs_match, awacs_attach
 };
 
Index: arch/macppc/dev/daca.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/daca.c,v
retrieving revision 1.10
diff -u -p -r1.10 daca.c
--- arch/macppc/dev/daca.c 19 Sep 2016 06:46:43 -0000 1.10
+++ arch/macppc/dev/daca.c 13 Feb 2020 09:38:17 -0000
@@ -63,7 +63,7 @@ void daca_defer(struct device *);
 void daca_init(struct daca_softc *);
 void daca_set_volume(struct daca_softc *, int, int);
 
-struct cfattach daca_ca = {
+const struct cfattach daca_ca = {
  sizeof(struct daca_softc), daca_match, daca_attach
 };
 
Index: arch/macppc/dev/dfs.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/dfs.c,v
retrieving revision 1.3
diff -u -p -r1.3 dfs.c
--- arch/macppc/dev/dfs.c 8 Jul 2014 13:06:58 -0000 1.3
+++ arch/macppc/dev/dfs.c 13 Feb 2020 09:38:17 -0000
@@ -39,7 +39,7 @@ void dfs_attach(struct device *, struct
 void dfs_setperf(int);
 void dfs_scale_frequency(u_int);
 
-struct cfattach dfs_ca = {
+const struct cfattach dfs_ca = {
  sizeof(struct dfs_softc), dfs_match, dfs_attach
 };
 
Index: arch/macppc/dev/if_bm.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/if_bm.c,v
retrieving revision 1.42
diff -u -p -r1.42 if_bm.c
--- arch/macppc/dev/if_bm.c 8 Mar 2017 12:02:41 -0000 1.42
+++ arch/macppc/dev/if_bm.c 13 Feb 2020 09:38:17 -0000
@@ -123,7 +123,7 @@ void bmac_mii_tick(void *);
 u_int32_t bmac_mbo_read(struct device *);
 void bmac_mbo_write(struct device *, u_int32_t);
 
-struct cfattach bm_ca = {
+const struct cfattach bm_ca = {
  sizeof(struct bmac_softc), bmac_match, bmac_attach
 };
 
Index: arch/macppc/dev/if_wi_obio.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/if_wi_obio.c,v
retrieving revision 1.19
diff -u -p -r1.19 if_wi_obio.c
--- arch/macppc/dev/if_wi_obio.c 24 Nov 2015 17:11:38 -0000 1.19
+++ arch/macppc/dev/if_wi_obio.c 13 Feb 2020 09:38:17 -0000
@@ -82,7 +82,7 @@ struct wi_obio_softc {
  u_int keywest;
 };
 
-struct cfattach wi_obio_ca = {
+const struct cfattach wi_obio_ca = {
  sizeof (struct wi_obio_softc), wi_obio_match, wi_obio_attach,
  wi_obio_detach, wi_obio_activate
 };
Index: arch/macppc/dev/kiic.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/kiic.c,v
retrieving revision 1.4
diff -u -p -r1.4 kiic.c
--- arch/macppc/dev/kiic.c 9 Oct 2013 17:53:29 -0000 1.4
+++ arch/macppc/dev/kiic.c 13 Feb 2020 09:38:17 -0000
@@ -56,10 +56,10 @@ void kiic_i2c_release_bus(void *, int);
 int kiic_i2c_exec(void *, i2c_op_t, i2c_addr_t, const void *, size_t,
     void *, size_t, int);
 
-struct cfattach kiic_ca = {
+const struct cfattach kiic_ca = {
  sizeof(struct kiic_softc), kiic_match, kiic_attach
 };
-struct cfattach kiic_memc_ca = {
+const struct cfattach kiic_memc_ca = {
  sizeof(struct kiic_softc), kiic_match, kiic_attach
 };
 
Index: arch/macppc/dev/macgpio.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/macgpio.c,v
retrieving revision 1.9
diff -u -p -r1.9 macgpio.c
--- arch/macppc/dev/macgpio.c 8 Sep 2017 05:36:52 -0000 1.9
+++ arch/macppc/dev/macgpio.c 13 Feb 2020 09:38:17 -0000
@@ -58,11 +58,11 @@ struct gpio_softc {
  u_int8_t *sc_port;
 };
 
-struct cfattach macgpio_ca = {
+const struct cfattach macgpio_ca = {
  sizeof(struct gpio_softc), macgpio_match, macgpio_attach
 };
 
-struct cfattach macgpio_gpio_ca = {
+const struct cfattach macgpio_gpio_ca = {
  sizeof(struct gpio_softc), macgpio_gpio_match, macgpio_gpio_attach
 };
 
Index: arch/macppc/dev/macintr.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/macintr.c,v
retrieving revision 1.55
diff -u -p -r1.55 macintr.c
--- arch/macppc/dev/macintr.c 3 Sep 2019 17:51:52 -0000 1.55
+++ arch/macppc/dev/macintr.c 13 Feb 2020 09:38:17 -0000
@@ -86,7 +86,7 @@ void mac_ext_intr(void);
 void macintr_collect_preconf_intr(void);
 void macintr_setipl(int ipl);
 
-struct cfattach macintr_ca = {
+const struct cfattach macintr_ca = {
  sizeof(struct macintr_softc),
  macintr_match,
  macintr_attach
Index: arch/macppc/dev/mediabay.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/mediabay.c,v
retrieving revision 1.7
diff -u -p -r1.7 mediabay.c
--- arch/macppc/dev/mediabay.c 8 Oct 2019 13:21:38 -0000 1.7
+++ arch/macppc/dev/mediabay.c 13 Feb 2020 09:38:17 -0000
@@ -60,7 +60,7 @@ int mediabay_intr(void *);
 void mediabay_create_kthread(void *);
 void mediabay_kthread(void *);
 
-struct cfattach mediabay_ca = {
+const struct cfattach mediabay_ca = {
  sizeof(struct mediabay_softc), mediabay_match, mediabay_attach
 };
 struct cfdriver mediabay_cd = {
Index: arch/macppc/dev/onyx.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/onyx.c,v
retrieving revision 1.12
diff -u -p -r1.12 onyx.c
--- arch/macppc/dev/onyx.c 19 Sep 2016 06:46:43 -0000 1.12
+++ arch/macppc/dev/onyx.c 13 Feb 2020 09:38:17 -0000
@@ -72,7 +72,7 @@ void onyx_attach(struct device *, struct
 void onyx_defer(struct device *);
 void onyx_set_volume(struct onyx_softc *, int, int);
 
-struct cfattach onyx_ca = {
+const struct cfattach onyx_ca = {
  sizeof(struct onyx_softc), onyx_match, onyx_attach
 };
 
Index: arch/macppc/dev/pgs.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/pgs.c,v
retrieving revision 1.5
diff -u -p -r1.5 pgs.c
--- arch/macppc/dev/pgs.c 8 Sep 2017 05:36:52 -0000 1.5
+++ arch/macppc/dev/pgs.c 13 Feb 2020 09:38:17 -0000
@@ -41,7 +41,7 @@ void pgs_attach(struct device *, struct
 int pgs_match(struct device *, void *, void *);
 int pgs_intr(void *);
 
-struct cfattach pgs_ca = {
+const struct cfattach pgs_ca = {
  sizeof(struct pgs_softc), pgs_match, pgs_attach
 };
 
Index: arch/macppc/dev/piic.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/piic.c,v
retrieving revision 1.3
diff -u -p -r1.3 piic.c
--- arch/macppc/dev/piic.c 16 Jun 2011 10:44:33 -0000 1.3
+++ arch/macppc/dev/piic.c 13 Feb 2020 09:38:17 -0000
@@ -39,7 +39,7 @@ struct piic_softc {
 int     piic_match(struct device *, void *, void *);
 void    piic_attach(struct device *, struct device *, void *);
 
-struct cfattach piic_ca = {
+const struct cfattach piic_ca = {
  sizeof(struct piic_softc), piic_match, piic_attach
 };
 
Index: arch/macppc/dev/smu.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/smu.c,v
retrieving revision 1.34
diff -u -p -r1.34 smu.c
--- arch/macppc/dev/smu.c 8 Oct 2019 13:21:38 -0000 1.34
+++ arch/macppc/dev/smu.c 13 Feb 2020 09:38:17 -0000
@@ -103,7 +103,7 @@ struct smu_softc {
  struct i2c_controller sc_i2c_tag;
 };
 
-struct cfattach smu_ca = {
+const struct cfattach smu_ca = {
         sizeof(struct smu_softc), smu_match, smu_attach
 };
 
Index: arch/macppc/dev/snapper.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/snapper.c,v
retrieving revision 1.37
diff -u -p -r1.37 snapper.c
--- arch/macppc/dev/snapper.c 19 Sep 2016 06:46:43 -0000 1.37
+++ arch/macppc/dev/snapper.c 13 Feb 2020 09:38:17 -0000
@@ -70,7 +70,7 @@ void snapper_set_input(struct snapper_so
 int tas3004_write(struct snapper_softc *, u_int, const void *);
 int tas3004_init(struct snapper_softc *);
 
-struct cfattach snapper_ca = {
+const struct cfattach snapper_ca = {
  sizeof(struct snapper_softc), snapper_match, snapper_attach
 };
 struct cfdriver snapper_cd = {
Index: arch/macppc/dev/sysbutton.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/sysbutton.c,v
retrieving revision 1.6
diff -u -p -r1.6 sysbutton.c
--- arch/macppc/dev/sysbutton.c 8 Sep 2017 05:36:52 -0000 1.6
+++ arch/macppc/dev/sysbutton.c 13 Feb 2020 09:38:17 -0000
@@ -36,7 +36,7 @@ int sysbutton_match(struct device *, voi
 void sysbutton_attach(struct device *, struct device *, void *);
 int sysbutton_intr(void *);
 
-struct cfattach sysbutton_ca = {
+const struct cfattach sysbutton_ca = {
  sizeof(struct sysbutton_softc), sysbutton_match,
  sysbutton_attach
 };
Index: arch/macppc/dev/tumbler.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/tumbler.c,v
retrieving revision 1.9
diff -u -p -r1.9 tumbler.c
--- arch/macppc/dev/tumbler.c 19 Sep 2016 06:46:43 -0000 1.9
+++ arch/macppc/dev/tumbler.c 13 Feb 2020 09:38:17 -0000
@@ -68,7 +68,7 @@ void tumbler_set_treble(struct tumbler_s
 int tas3001_write(struct tumbler_softc *, u_int, const void *);
 int tas3001_init(struct tumbler_softc *);
 
-struct cfattach tumbler_ca = {
+const struct cfattach tumbler_ca = {
  sizeof(struct tumbler_softc), tumbler_match, tumbler_attach
 };
 struct cfdriver tumbler_cd = {
Index: arch/macppc/dev/wdc_obio.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/wdc_obio.c,v
retrieving revision 1.30
diff -u -p -r1.30 wdc_obio.c
--- arch/macppc/dev/wdc_obio.c 30 May 2013 16:15:01 -0000 1.30
+++ arch/macppc/dev/wdc_obio.c 13 Feb 2020 09:38:17 -0000
@@ -90,7 +90,7 @@ int wdc_obio_probe(struct device *, void
 void wdc_obio_attach(struct device *, struct device *, void *);
 int wdc_obio_detach(struct device *, int);
 
-struct cfattach wdc_obio_ca = {
+const struct cfattach wdc_obio_ca = {
  sizeof(struct wdc_obio_softc), wdc_obio_probe, wdc_obio_attach,
  wdc_obio_detach
 };
Index: arch/macppc/dev/xlights.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/xlights.c,v
retrieving revision 1.10
diff -u -p -r1.10 xlights.c
--- arch/macppc/dev/xlights.c 10 Jan 2020 04:13:31 -0000 1.10
+++ arch/macppc/dev/xlights.c 13 Feb 2020 09:38:17 -0000
@@ -56,7 +56,7 @@ void xlights_deferred(void *);
 void xlights_theosDOT(void *);
 void xlights_timeout(void *);
 
-struct cfattach xlights_ca = {
+const struct cfattach xlights_ca = {
  sizeof(struct xlights_softc), xlights_match,
  xlights_attach
 };
Index: arch/macppc/dev/zs.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/dev/zs.c,v
retrieving revision 1.30
diff -u -p -r1.30 zs.c
--- arch/macppc/dev/zs.c 3 Sep 2019 04:48:00 -0000 1.30
+++ arch/macppc/dev/zs.c 13 Feb 2020 09:38:17 -0000
@@ -151,7 +151,7 @@ int zs_print(void *, const char *name);
 int  zs_enable (struct zs_chanstate *);
 void zs_disable (struct zs_chanstate *);
 
-struct cfattach zs_ca = {
+const struct cfattach zs_ca = {
  sizeof(struct zsc_softc), zs_match, zs_attach
 };
 
Index: arch/macppc/macppc/cpu.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/macppc/cpu.c,v
retrieving revision 1.82
diff -u -p -r1.82 cpu.c
--- arch/macppc/macppc/cpu.c 4 Jun 2015 18:01:44 -0000 1.82
+++ arch/macppc/macppc/cpu.c 13 Feb 2020 09:38:17 -0000
@@ -75,7 +75,7 @@ char machine[] = MACHINE; /* cpu archite
 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
 };
 
Index: arch/macppc/macppc/mainbus.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/macppc/mainbus.c,v
retrieving revision 1.25
diff -u -p -r1.25 mainbus.c
--- arch/macppc/macppc/mainbus.c 6 Sep 2015 16:46:53 -0000 1.25
+++ arch/macppc/macppc/mainbus.c 13 Feb 2020 09:38:17 -0000
@@ -40,7 +40,7 @@ static int mbmatch(struct device *, void
 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
 };
 struct cfdriver mainbus_cd = {
Index: arch/macppc/macppc/mem.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/macppc/mem.c,v
retrieving revision 1.27
diff -u -p -r1.27 mem.c
--- arch/macppc/macppc/mem.c 19 Feb 2018 08:59:52 -0000 1.27
+++ arch/macppc/macppc/mem.c 13 Feb 2020 09:38:17 -0000
@@ -93,7 +93,7 @@ struct cfdriver mem_cd = {
  NULL, "mem", DV_DULL
 };
 
-struct cfattach mem_ca = {
+const struct cfattach mem_ca = {
  sizeof(struct mem_softc), mem_match, mem_attach
 };
 
Index: arch/macppc/pci/ht.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/pci/ht.c,v
retrieving revision 1.18
diff -u -p -r1.18 ht.c
--- arch/macppc/pci/ht.c 30 Aug 2015 09:48:39 -0000 1.18
+++ arch/macppc/pci/ht.c 13 Feb 2020 09:38:17 -0000
@@ -50,7 +50,7 @@ struct ht_softc {
  bus_space_handle_t sc_config0_ioh;
 };
 
-struct cfattach ht_ca = {
+const struct cfattach ht_ca = {
  sizeof(struct ht_softc), ht_match, ht_attach
 };
 
Index: arch/macppc/pci/kauaiata.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/pci/kauaiata.c,v
retrieving revision 1.10
diff -u -p -r1.10 kauaiata.c
--- arch/macppc/pci/kauaiata.c 25 Apr 2008 14:51:35 -0000 1.10
+++ arch/macppc/pci/kauaiata.c 13 Feb 2020 09:38:17 -0000
@@ -57,7 +57,7 @@ void kauaiataattach(struct device *paren
 int kauaiata_print(void *aux, const char *dev);
 
 
-struct cfattach kauaiata_ca = {
+const struct cfattach kauaiata_ca = {
  sizeof(struct kauaiata_softc), kauaiatamatch, kauaiataattach,
 };
 
Index: arch/macppc/pci/macobio.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/pci/macobio.c,v
retrieving revision 1.22
diff -u -p -r1.22 macobio.c
--- arch/macppc/pci/macobio.c 8 Sep 2017 05:36:52 -0000 1.22
+++ arch/macppc/pci/macobio.c 13 Feb 2020 09:38:17 -0000
@@ -63,7 +63,7 @@ struct cfdriver macobio_cd = {
 };
 
 
-struct cfattach macobio_ca = {
+const struct cfattach macobio_ca = {
  sizeof(struct macobio_softc), macobio_match, macobio_attach
 };
 
Index: arch/macppc/pci/mpcpcibus.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/pci/mpcpcibus.c,v
retrieving revision 1.47
diff -u -p -r1.47 mpcpcibus.c
--- arch/macppc/pci/mpcpcibus.c 3 Jun 2015 08:41:43 -0000 1.47
+++ arch/macppc/pci/mpcpcibus.c 13 Feb 2020 09:38:17 -0000
@@ -69,7 +69,7 @@ struct pcibr_softc {
  char sc_memex_name[32];
 };
 
-struct cfattach mpcpcibr_ca = {
+const struct cfattach mpcpcibr_ca = {
         sizeof(struct pcibr_softc), mpcpcibrmatch, mpcpcibrattach,
 };
 
Index: arch/macppc/pci/pchb.c
===================================================================
RCS file: /cvs/src/sys/arch/macppc/pci/pchb.c,v
retrieving revision 1.15
diff -u -p -r1.15 pchb.c
--- arch/macppc/pci/pchb.c 8 Sep 2017 05:36:52 -0000 1.15
+++ arch/macppc/pci/pchb.c 13 Feb 2020 09:38:17 -0000
@@ -48,7 +48,7 @@
 int pchbmatch(struct device *, void *, void *);
 void pchbattach(struct device *, struct device *, void *);
 
-struct cfattach pchb_ca = {
+const struct cfattach pchb_ca = {
  sizeof(struct device), pchbmatch, pchbattach
 };
 
Index: arch/mips64/mips64/clock.c
===================================================================
RCS file: /cvs/src/sys/arch/mips64/mips64/clock.c,v
retrieving revision 1.41
diff -u -p -r1.41 clock.c
--- arch/mips64/mips64/clock.c 6 Mar 2016 19:42:27 -0000 1.41
+++ arch/mips64/mips64/clock.c 13 Feb 2020 09:38:17 -0000
@@ -56,7 +56,7 @@ struct cfdriver clock_cd = {
  NULL, "clock", DV_DULL
 };
 
-struct cfattach clock_ca = {
+const struct cfattach clock_ca = {
  sizeof(struct device), clockmatch, clockattach
 };
 
Index: arch/mips64/mips64/cpu.c
===================================================================
RCS file: /cvs/src/sys/arch/mips64/mips64/cpu.c,v
retrieving revision 1.73
diff -u -p -r1.73 cpu.c
--- arch/mips64/mips64/cpu.c 6 May 2019 12:57:56 -0000 1.73
+++ arch/mips64/mips64/cpu.c 13 Feb 2020 09:38:17 -0000
@@ -58,7 +58,7 @@ void (*cpu_idle_cycle_func)(void) = cpu_
 vaddr_t cache_valias_mask;
 int cpu_has_userlocal;
 
-struct cfattach cpu_ca = {
+const struct cfattach cpu_ca = {
  sizeof(struct device), cpumatch, cpuattach
 };
 struct cfdriver cpu_cd = {
Index: arch/octeon/dev/amdcf.c
===================================================================
RCS file: /cvs/src/sys/arch/octeon/dev/amdcf.c,v
retrieving revision 1.6
diff -u -p -r1.6 amdcf.c
--- arch/octeon/dev/amdcf.c 30 May 2018 14:53:56 -0000 1.6
+++ arch/octeon/dev/amdcf.c 13 Feb 2020 09:38:17 -0000
@@ -173,7 +173,7 @@ int amdcf_match(struct device *, void *,
 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
 };
 
Index: arch/octeon/dev/cn30xxgmx.c
===================================================================
RCS file: /cvs/src/sys/arch/octeon/dev/cn30xxgmx.c,v
retrieving revision 1.43
diff -u -p -r1.43 cn30xxgmx.c
--- arch/octeon/dev/cn30xxgmx.c 28 Sep 2019 22:20:25 -0000 1.43
+++ arch/octeon/dev/cn30xxgmx.c 13 Feb 2020 09:38:17 -0000
@@ -149,7 +149,7 @@ struct cn30xxgmx_port_ops *cn30xxgmx_por
  [GMX_SPI42_PORT] = &cn30xxgmx_port_ops_spi42
 };
 
-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};
Index: arch/octeon/dev/cn30xxuart.c
===================================================================
RCS file: /cvs/src/sys/arch/octeon/dev/cn30xxuart.c,v
retrieving revision 1.12
diff -u -p -r1.12 cn30xxuart.c
--- arch/octeon/dev/cn30xxuart.c 28 Sep 2019 22:20:25 -0000 1.12
+++ arch/octeon/dev/cn30xxuart.c 13 Feb 2020 09:38:17 -0000
@@ -54,7 +54,7 @@ int cn30xxuart_probe(struct device *, vo
 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
 };
 
Index: arch/octeon/dev/octcf.c
===================================================================
RCS file: /cvs/src/sys/arch/octeon/dev/octcf.c,v
retrieving revision 1.32
diff -u -p -r1.32 octcf.c
--- arch/octeon/dev/octcf.c 30 May 2018 14:53:56 -0000 1.32
+++ arch/octeon/dev/octcf.c 13 Feb 2020 09:38:17 -0000
@@ -125,7 +125,7 @@ int octcfdetach(struct device *, int);
 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
 };
Index: arch/octeon/dev/octeon_iobus.c
===================================================================
RCS file: /cvs/src/sys/arch/octeon/dev/octeon_iobus.c,v
retrieving revision 1.25
diff -u -p -r1.25 octeon_iobus.c
--- arch/octeon/dev/octeon_iobus.c 15 Sep 2019 07:15:14 -0000 1.25
+++ arch/octeon/dev/octeon_iobus.c 13 Feb 2020 09:38:17 -0000
@@ -89,7 +89,7 @@ void iobus_write_raw_8(bus_space_tag_t,
 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
 };
 
Index: arch/octeon/dev/octrng.c
===================================================================
RCS file: /cvs/src/sys/arch/octeon/dev/octrng.c,v
retrieving revision 1.7
diff -u -p -r1.7 octrng.c
--- arch/octeon/dev/octrng.c 28 Apr 2018 15:44:59 -0000 1.7
+++ arch/octeon/dev/octrng.c 13 Feb 2020 09:38:17 -0000
@@ -59,7 +59,7 @@ struct octrng_softc {
  bus_space_handle_t sc_ioh;
 };
 
-struct cfattach octrng_ca = {
+const struct cfattach octrng_ca = {
  sizeof(struct octrng_softc), octrng_match, octrng_attach
 };
 
Index: arch/octeon/dev/octrtc.c
===================================================================
RCS file: /cvs/src/sys/arch/octeon/dev/octrtc.c,v
retrieving revision 1.11
diff -u -p -r1.11 octrtc.c
--- arch/octeon/dev/octrtc.c 20 Nov 2017 15:20:03 -0000 1.11
+++ arch/octeon/dev/octrtc.c 13 Feb 2020 09:38:17 -0000
@@ -51,7 +51,7 @@ void octrtc_settime(void *, struct tod_t
 int octrtc_write(uint8_t);
 
 
-struct cfattach octrtc_ca = {
+const struct cfattach octrtc_ca = {
  sizeof(struct device), octrtc_match, octrtc_attach,
 };
 
Index: arch/sgi/dev/com_ioc.c
===================================================================
RCS file: /cvs/src/sys/arch/sgi/dev/com_ioc.c,v
retrieving revision 1.9
diff -u -p -r1.9 com_ioc.c
--- arch/sgi/dev/com_ioc.c 3 Oct 2012 22:46:09 -0000 1.9
+++ arch/sgi/dev/com_ioc.c 13 Feb 2020 09:38:17 -0000
@@ -44,7 +44,7 @@
 int com_ioc_probe(struct device *, void *, void *);
 void com_ioc_attach(struct device *, struct device *, void *);
 
-struct cfattach com_ioc_ca = {
+const struct cfattach com_ioc_ca = {
  sizeof(struct com_softc), com_ioc_probe, com_ioc_attach
 };
 
Index: arch/sgi/dev/com_iof.c
===================================================================
RCS file: /cvs/src/sys/arch/sgi/dev/com_iof.c,v
retrieving revision 1.5
diff -u -p -r1.5 com_iof.c
--- arch/sgi/dev/com_iof.c 16 Oct 2009 00:15:46 -0000 1.5
+++ arch/sgi/dev/com_iof.c 13 Feb 2020 09:38:17 -0000
@@ -43,7 +43,7 @@
 int com_iof_probe(struct device *, void *, void *);
 void com_iof_attach(struct device *, struct device *, void *);
 
-struct cfattach com_iof_ca = {
+const struct cfattach com_iof_ca = {
  sizeof(struct com_softc), com_iof_probe, com_iof_attach
 };
 
Index: arch/sgi/dev/dsrtc.c
===================================================================
RCS file: /cvs/src/sys/arch/sgi/dev/dsrtc.c,v
retrieving revision 1.13
diff -u -p -r1.13 dsrtc.c
--- arch/sgi/dev/dsrtc.c 21 Jan 2016 06:28:56 -0000 1.13
+++ arch/sgi/dev/dsrtc.c 13 Feb 2020 09:38:17 -0000
@@ -66,15 +66,15 @@ struct cfdriver dsrtc_cd = {
  NULL, "dsrtc", DV_DULL
 };
 
-struct cfattach dsrtc_macebus_ca = {
+const struct cfattach dsrtc_macebus_ca = {
  sizeof(struct dsrtc_softc), dsrtc_match, dsrtc_attach_macebus
 };
 
-struct cfattach dsrtc_ioc_ca = {
+const struct cfattach dsrtc_ioc_ca = {
  sizeof(struct dsrtc_softc), dsrtc_match, dsrtc_attach_ioc
 };
 
-struct cfattach dsrtc_iof_ca = {
+const struct cfattach dsrtc_iof_ca = {
  sizeof(struct dsrtc_softc), dsrtc_match, dsrtc_attach_ioc
 };
 
Index: arch/sgi/dev/gbe.c
===================================================================
RCS file: /cvs/src/sys/arch/sgi/dev/gbe.c,v
retrieving revision 1.21
diff -u -p -r1.21 gbe.c
--- arch/sgi/dev/gbe.c 21 Oct 2013 10:36:16 -0000 1.21
+++ arch/sgi/dev/gbe.c 13 Feb 2020 09:38:17 -0000
@@ -173,7 +173,7 @@ int gbe_match(struct device *, void *, v
 void gbe_attach(struct device *, struct device *, void *);
 int gbe_activate(struct device *, int);
 
-struct cfattach gbe_ca = {
+const struct cfattach gbe_ca = {
  sizeof (struct gbe_softc), gbe_match, gbe_attach,
  NULL, gbe_activate
 };
Index: arch/sgi/dev/if_iec.c
===================================================================
RCS file: /cvs/src/sys/arch/sgi/dev/if_iec.c,v
retrieving revision 1.26
diff -u -p -r1.26 if_iec.c
--- arch/sgi/dev/if_iec.c 19 Jul 2017 12:23:16 -0000 1.26
+++ arch/sgi/dev/if_iec.c 13 Feb 2020 09:38:17 -0000
@@ -267,7 +267,7 @@ struct cfdriver iec_cd = {
 int iec_match(struct device *, void *, void *);
 void iec_attach(struct device *, struct device *, void *);
 
-struct cfattach iec_ca = {
+const struct cfattach iec_ca = {
  sizeof(struct iec_softc), iec_match, iec_attach
 };
 
Index: arch/sgi/dev/if_mec.c
===================================================================
RCS file: /cvs/src/sys/arch/sgi/dev/if_mec.c,v
retrieving revision 1.40
diff -u -p -r1.40 if_mec.c
--- arch/sgi/dev/if_mec.c 10 Dec 2018 05:42:34 -0000 1.40
+++ arch/sgi/dev/if_mec.c 13 Feb 2020 09:38:17 -0000
@@ -312,7 +312,7 @@ struct cfdriver mec_cd = {
 int mec_match(struct device *, void *, void *);
 void mec_attach(struct device *, struct device *, void *);
 
-struct cfattach mec_ca = {
+const struct cfattach mec_ca = {
  sizeof(struct mec_softc), mec_match, mec_attach
 };
 
Index: arch/sgi/dev/iockbc.c
===================================================================
RCS file: /cvs/src/sys/arch/sgi/dev/iockbc.c,v
retrieving revision 1.12
diff -u -p -r1.12 iockbc.c
--- arch/sgi/dev/iockbc.c 17 Oct 2019 13:42:15 -0000 1.12
+++ arch/sgi/dev/iockbc.c 13 Feb 2020 09:38:17 -0000
@@ -114,12 +114,12 @@ void iockbc_ioc_attach(struct device *,
 void iockbc_iof_attach(struct device *, struct device *, void *);
 
 #if NIOCKBC_IOC > 0
-struct cfattach iockbc_ioc_ca = {
+const struct cfattach iockbc_ioc_ca = {
  sizeof(struct iockbc_softc), iockbc_match, iockbc_ioc_attach
 };
 #endif
 #if NIOCKBC_IOF > 0
-struct cfattach iockbc_iof_ca = {
+const struct cfattach iockbc_iof_ca = {
  sizeof(struct iockbc_softc), iockbc_match, iockbc_iof_attach
 };
 #endif
Index: arch/sgi/dev/mavb.c
===================================================================
RCS file: /cvs/src/sys/arch/sgi/dev/mavb.c,v
retrieving revision 1.21
diff -u -p -r1.21 mavb.c
--- arch/sgi/dev/mavb.c 3 Dec 2018 13:46:30 -0000 1.21
+++ arch/sgi/dev/mavb.c 13 Feb 2020 09:38:17 -0000
@@ -150,7 +150,7 @@ void ad1843_dump_regs(struct mavb_softc
 int mavb_match(struct device *, void *, void *);
 void mavb_attach(struct device *, struct device *, void *);
 
-struct cfattach mavb_ca = {
+const struct cfattach mavb_ca = {
  sizeof(struct mavb_softc), mavb_match, mavb_attach
 };
 
Index: arch/sgi/dev/mkbc.c
===================================================================
RCS file: /cvs/src/sys/arch/sgi/dev/mkbc.c,v
retrieving revision 1.15
diff -u -p -r1.15 mkbc.c
--- arch/sgi/dev/mkbc.c 17 Oct 2019 13:42:15 -0000 1.15
+++ arch/sgi/dev/mkbc.c 13 Feb 2020 09:38:17 -0000
@@ -104,7 +104,7 @@ struct mkbc_softc {
 int mkbc_match(struct device *, void *, void *);
 void mkbc_attach(struct device *, struct device *, void *);
 
-struct cfattach mkbc_ca = {
+const struct cfattach mkbc_ca = {
  sizeof(struct mkbc_softc), mkbc_match, mkbc_attach
 };
 
Index: arch/sgi/dev/owmac.c
===================================================================
RCS file: /cvs/src/sys/arch/sgi/dev/owmac.c,v
retrieving revision 1.3
diff -u -p -r1.3 owmac.c
--- arch/sgi/dev/owmac.c 15 Jan 2019 18:33:30 -0000 1.3
+++ arch/sgi/dev/owmac.c 13 Feb 2020 09:38:17 -0000
@@ -39,7 +39,7 @@
 int owmac_match(struct device *, void *, void *);
 void owmac_attach(struct device *, struct device *, void *);
 
-struct cfattach owmac_ca = {
+const struct cfattach owmac_ca = {
  sizeof(struct owmac_softc), owmac_match, owmac_attach,
 };
 
Index: arch/sgi/dev/owserial.c
===================================================================
RCS file: /cvs/src/sys/arch/sgi/dev/owserial.c,v
retrieving revision 1.2
diff -u -p -r1.2 owserial.c
--- arch/sgi/dev/owserial.c 19 Apr 2009 18:33:53 -0000 1.2
+++ arch/sgi/dev/owserial.c 13 Feb 2020 09:38:17 -0000
@@ -38,7 +38,7 @@
 int owserial_match(struct device *, void *, void *);
 void owserial_attach(struct device *, struct device *, void *);
 
-struct cfattach owserial_ca = {
+const struct cfattach owserial_ca = {
  sizeof(struct owserial_softc), owserial_match, owserial_attach,
 };
 
Index: arch/sgi/dev/power.c
===================================================================
RCS file: /cvs/src/sys/arch/sgi/dev/power.c,v
retrieving revision 1.16
diff -u -p -r1.16 power.c
--- arch/sgi/dev/power.c 3 Dec 2018 13:46:30 -0000 1.16
+++ arch/sgi/dev/power.c 13 Feb 2020 09:38:17 -0000
@@ -47,7 +47,7 @@ struct cfdriver power_cd = {
 void power_macebus_attach(struct device *, struct device *, void *);
 int power_macebus_match(struct device *, void *, void *);
 
-struct cfattach power_macebus_ca = {
+const struct cfattach power_macebus_ca = {
  sizeof(struct device), power_macebus_match, power_macebus_attach
 };
 
@@ -81,7 +81,7 @@ void power_mainbus_attach(struct device
 int power_mainbus_match(struct device *, void *, void *);
 int power_mainbus_intr(void *);
 
-struct cfattach power_mainbus_ca = {
+const struct cfattach power_mainbus_ca = {
  sizeof(struct device), power_mainbus_match, power_mainbus_attach
 };
 
Index: arch/sgi/dev/spdmem_mainbus.c
===================================================================
RCS file: /cvs/src/sys/arch/sgi/dev/spdmem_mainbus.c,v
retrieving revision 1.3
diff -u -p -r1.3 spdmem_mainbus.c
--- arch/sgi/dev/spdmem_mainbus.c 8 Sep 2015 10:21:50 -0000 1.3
+++ arch/sgi/dev/spdmem_mainbus.c 13 Feb 2020 09:38:17 -0000
@@ -43,7 +43,7 @@ int spdmem_mainbus_match(struct device *
 void spdmem_mainbus_attach(struct device *, struct device *, void *);
 uint8_t spdmem_mainbus_read(struct spdmem_softc *, uint8_t);
 
-struct cfattach spdmem_mainbus_ca = {
+const struct cfattach spdmem_mainbus_ca = {
  sizeof(struct spdmem_mainbus_softc),
  spdmem_mainbus_match, spdmem_mainbus_attach
 };
Index: arch/sgi/hpc/zs.c
===================================================================
RCS file: /cvs/src/sys/arch/sgi/hpc/zs.c,v
retrieving revision 1.16
diff -u -p -r1.16 zs.c
--- arch/sgi/hpc/zs.c 30 Dec 2017 20:46:59 -0000 1.16
+++ arch/sgi/hpc/zs.c 13 Feb 2020 09:38:17 -0000
@@ -158,7 +158,7 @@ struct cfdriver zs_cd = {
  NULL, "zs", DV_TTY
 };
 
-struct cfattach zs_hpc_ca = {
+const struct cfattach zs_hpc_ca = {
  sizeof(struct zsc_softc), zs_hpc_match, zs_hpc_attach
 };
 
Index: arch/sgi/localbus/com_lbus.c
===================================================================
RCS file: /cvs/src/sys/arch/sgi/localbus/com_lbus.c,v
retrieving revision 1.13
diff -u -p -r1.13 com_lbus.c
--- arch/sgi/localbus/com_lbus.c 3 Dec 2018 13:46:30 -0000 1.13
+++ arch/sgi/localbus/com_lbus.c 13 Feb 2020 09:38:17 -0000
@@ -43,7 +43,7 @@
 int com_macebus_probe(struct device *, void *, void *);
 void com_macebus_attach(struct device *, struct device *, void *);
 
-struct cfattach com_macebus_ca = {
+const struct cfattach com_macebus_ca = {
  sizeof(struct com_softc), com_macebus_probe, com_macebus_attach
 };
 
Index: arch/sgi/localbus/macebus.c
===================================================================
RCS file: /cvs/src/sys/arch/sgi/localbus/macebus.c,v
retrieving revision 1.69
diff -u -p -r1.69 macebus.c
--- arch/sgi/localbus/macebus.c 3 Dec 2018 13:50:02 -0000 1.69
+++ arch/sgi/localbus/macebus.c 13 Feb 2020 09:38:17 -0000
@@ -101,7 +101,7 @@ void mace_space_barrier(bus_space_tag_t
 
 bus_addr_t macebus_pa_to_device(paddr_t, int);
 
-struct cfattach macebus_ca = {
+const struct cfattach macebus_ca = {
  sizeof(struct device), macebusmatch, macebusattach
 };
 
Index: arch/sgi/pci/ioc.c
===================================================================
RCS file: /cvs/src/sys/arch/sgi/pci/ioc.c,v
retrieving revision 1.40
diff -u -p -r1.40 ioc.c
--- arch/sgi/pci/ioc.c 2 Jan 2016 05:49:35 -0000 1.40
+++ arch/sgi/pci/ioc.c 13 Feb 2020 09:38:17 -0000
@@ -83,7 +83,7 @@ struct ioc_softc {
  int sc_attach_flags;
 };
 
-struct cfattach ioc_ca = {
+const struct cfattach ioc_ca = {
  sizeof(struct ioc_softc), ioc_match, ioc_attach,
 };
 
Index: arch/sgi/pci/iof.c
===================================================================
RCS file: /cvs/src/sys/arch/sgi/pci/iof.c,v
retrieving revision 1.9
diff -u -p -r1.9 iof.c
--- arch/sgi/pci/iof.c 19 May 2014 21:18:42 -0000 1.9
+++ arch/sgi/pci/iof.c 13 Feb 2020 09:38:17 -0000
@@ -67,7 +67,7 @@ struct iof_softc {
  struct iof_intr *sc_intr[IOC4_NDEVS];
 };
 
-struct cfattach iof_ca = {
+const struct cfattach iof_ca = {
  sizeof(struct iof_softc), iof_match, iof_attach,
 };
 
Index: arch/sgi/pci/macepcibridge.c
===================================================================
RCS file: /cvs/src/sys/arch/sgi/pci/macepcibridge.c,v
retrieving revision 1.49
diff -u -p -r1.49 macepcibridge.c
--- arch/sgi/pci/macepcibridge.c 3 Dec 2018 13:46:30 -0000 1.49
+++ arch/sgi/pci/macepcibridge.c 13 Feb 2020 09:38:17 -0000
@@ -112,7 +112,7 @@ void mace_pcibr_configure(struct mace_pc
 void mace_pcibr_device_fixup(struct mace_pcibr_softc *, int, int);
 int mace_pcibr_errintr(void *);
 
-struct cfattach macepcibr_ca = {
+const struct cfattach macepcibr_ca = {
  sizeof(struct mace_pcibr_softc), mace_pcibrmatch, mace_pcibrattach,
 };
 
Index: arch/sh/dev/scif.c
===================================================================
RCS file: /cvs/src/sys/arch/sh/dev/scif.c,v
retrieving revision 1.19
diff -u -p -r1.19 scif.c
--- arch/sh/dev/scif.c 19 Feb 2018 08:59:52 -0000 1.19
+++ arch/sh/dev/scif.c 13 Feb 2020 09:38:17 -0000
@@ -225,7 +225,7 @@ unsigned int scifcn_speed = 9600;
 
 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
 };
 
Index: arch/sh/dev/shb.c
===================================================================
RCS file: /cvs/src/sys/arch/sh/dev/shb.c,v
retrieving revision 1.2
diff -u -p -r1.2 shb.c
--- arch/sh/dev/shb.c 26 Jun 2008 05:42:12 -0000 1.2
+++ arch/sh/dev/shb.c 13 Feb 2020 09:38:17 -0000
@@ -38,7 +38,7 @@ void shb_attach(struct device *, struct
 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
 };
 
Index: arch/sh/dev/shpcic.c
===================================================================
RCS file: /cvs/src/sys/arch/sh/dev/shpcic.c,v
retrieving revision 1.13
diff -u -p -r1.13 shpcic.c
--- arch/sh/dev/shpcic.c 22 Jun 2017 11:34:51 -0000 1.13
+++ arch/sh/dev/shpcic.c 13 Feb 2020 09:38:17 -0000
@@ -68,7 +68,7 @@ static const struct shpcic_product {
 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
 };
 
Index: arch/sh/sh/cpu.c
===================================================================
RCS file: /cvs/src/sys/arch/sh/sh/cpu.c,v
retrieving revision 1.4
diff -u -p -r1.4 cpu.c
--- arch/sh/sh/cpu.c 7 Jul 2019 14:41:55 -0000 1.4
+++ arch/sh/sh/cpu.c 13 Feb 2020 09:38:17 -0000
@@ -40,7 +40,7 @@
 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
 };
 
Index: arch/sparc64/dev/auxio.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/auxio.c,v
retrieving revision 1.8
diff -u -p -r1.8 auxio.c
--- arch/sparc64/dev/auxio.c 5 Dec 2019 12:46:54 -0000 1.8
+++ arch/sparc64/dev/auxio.c 13 Feb 2020 09:38:17 -0000
@@ -58,11 +58,11 @@ int auxio_sbus_match(struct device *, vo
 void auxio_sbus_attach(struct device *, struct device *, void *);
 void auxio_attach_common(struct auxio_softc *);
 
-struct cfattach auxio_ebus_ca = {
+const struct cfattach auxio_ebus_ca = {
  sizeof(struct auxio_softc), auxio_ebus_match, auxio_ebus_attach
 };
 
-struct cfattach auxio_sbus_ca = {
+const struct cfattach auxio_sbus_ca = {
  sizeof(struct auxio_softc), auxio_sbus_match, auxio_sbus_attach
 };
 
Index: arch/sparc64/dev/bbc.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/bbc.c,v
retrieving revision 1.3
diff -u -p -r1.3 bbc.c
--- arch/sparc64/dev/bbc.c 14 Dec 2008 17:10:44 -0000 1.3
+++ arch/sparc64/dev/bbc.c 13 Feb 2020 09:38:17 -0000
@@ -55,7 +55,7 @@ struct bbc_softc {
 int bbc_match(struct device *, void *, void *);
 void bbc_attach(struct device *, struct device *, void *);
 
-struct cfattach bbc_ca = {
+const struct cfattach bbc_ca = {
  sizeof(struct bbc_softc), bbc_match, bbc_attach
 };
 
Index: arch/sparc64/dev/beep.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/beep.c,v
retrieving revision 1.9
diff -u -p -r1.9 beep.c
--- arch/sparc64/dev/beep.c 22 Jun 2019 20:30:42 -0000 1.9
+++ arch/sparc64/dev/beep.c 13 Feb 2020 09:38:17 -0000
@@ -78,7 +78,7 @@ int beep_match(struct device *, void *,
 void beep_attach(struct device *, struct device *, void *);
 void beep_setfreq(struct beep_softc *, int);
 
-struct cfattach beep_ca = {
+const struct cfattach beep_ca = {
  sizeof(struct beep_softc), beep_match, beep_attach
 };
 
Index: arch/sparc64/dev/beeper.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/beeper.c,v
retrieving revision 1.13
diff -u -p -r1.13 beeper.c
--- arch/sparc64/dev/beeper.c 22 Jun 2019 20:30:42 -0000 1.13
+++ arch/sparc64/dev/beeper.c 13 Feb 2020 09:38:17 -0000
@@ -68,7 +68,7 @@ struct beeper_softc {
 int beeper_match(struct device *, void *, void *);
 void beeper_attach(struct device *, struct device *, void *);
 
-struct cfattach beeper_ca = {
+const struct cfattach beeper_ca = {
  sizeof(struct beeper_softc), beeper_match, beeper_attach
 };
 
Index: arch/sparc64/dev/cbus.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/cbus.c,v
retrieving revision 1.16
diff -u -p -r1.16 cbus.c
--- arch/sparc64/dev/cbus.c 20 Dec 2016 13:40:50 -0000 1.16
+++ arch/sparc64/dev/cbus.c 13 Feb 2020 09:38:17 -0000
@@ -43,7 +43,7 @@ int cbus_match(struct device *, void *,
 void cbus_attach(struct device *, struct device *, void *);
 int cbus_print(void *, const char *);
 
-struct cfattach cbus_ca = {
+const struct cfattach cbus_ca = {
  sizeof(struct cbus_softc), cbus_match, cbus_attach
 };
 
Index: arch/sparc64/dev/ce4231.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/ce4231.c,v
retrieving revision 1.36
diff -u -p -r1.36 ce4231.c
--- arch/sparc64/dev/ce4231.c 27 Dec 2018 11:06:38 -0000 1.36
+++ arch/sparc64/dev/ce4231.c 13 Feb 2020 09:38:17 -0000
@@ -175,7 +175,7 @@ struct audio_hw_if ce4231_sa_hw_if = {
  ce4231_trigger_input
 };
 
-struct cfattach audioce_ca = {
+const struct cfattach audioce_ca = {
  sizeof (struct ce4231_softc), ce4231_match, ce4231_attach
 };
 
Index: arch/sparc64/dev/central.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/central.c,v
retrieving revision 1.10
diff -u -p -r1.10 central.c
--- arch/sparc64/dev/central.c 8 Sep 2017 05:36:52 -0000 1.10
+++ arch/sparc64/dev/central.c 13 Feb 2020 09:38:17 -0000
@@ -198,7 +198,7 @@ _central_bus_map(bus_space_tag_t t, bus_
  return (EINVAL);
 }
 
-struct cfattach central_ca = {
+const struct cfattach central_ca = {
  sizeof(struct central_softc), central_match, central_attach
 };
 
Index: arch/sparc64/dev/clkbrd.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/clkbrd.c,v
retrieving revision 1.6
diff -u -p -r1.6 clkbrd.c
--- arch/sparc64/dev/clkbrd.c 20 Jan 2008 16:41:17 -0000 1.6
+++ arch/sparc64/dev/clkbrd.c 13 Feb 2020 09:38:17 -0000
@@ -48,7 +48,7 @@ void clkbrd_attach(struct device *, stru
 void clkbrd_led_blink(void *, int);
 void clkbrd_refresh(void *);
 
-struct cfattach clkbrd_ca = {
+const struct cfattach clkbrd_ca = {
  sizeof(struct clkbrd_softc), clkbrd_match, clkbrd_attach
 };
 
Index: arch/sparc64/dev/cmp.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/cmp.c,v
retrieving revision 1.2
diff -u -p -r1.2 cmp.c
--- arch/sparc64/dev/cmp.c 11 Jul 2008 13:47:20 -0000 1.2
+++ arch/sparc64/dev/cmp.c 13 Feb 2020 09:38:17 -0000
@@ -25,7 +25,7 @@
 int cmp_match(struct device *, void *, void *);
 void cmp_attach(struct device *, struct device *, void *);
 
-struct cfattach cmp_ca = {
+const struct cfattach cmp_ca = {
  sizeof(struct device), cmp_match, cmp_attach
 };
 
Index: arch/sparc64/dev/com_ebus.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/com_ebus.c,v
retrieving revision 1.23
diff -u -p -r1.23 com_ebus.c
--- arch/sparc64/dev/com_ebus.c 5 Dec 2019 12:46:54 -0000 1.23
+++ arch/sparc64/dev/com_ebus.c 13 Feb 2020 09:38:17 -0000
@@ -53,7 +53,7 @@ int com_ebus_match(struct device *, void
 void com_ebus_attach(struct device *, struct device *, void *);
 int com_ebus_speed(struct ebus_attach_args *);
 
-struct cfattach com_ebus_ca = {
+const struct cfattach com_ebus_ca = {
  sizeof(struct com_softc), com_ebus_match, com_ebus_attach
 };
 
Index: arch/sparc64/dev/comkbd_ebus.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/comkbd_ebus.c,v
retrieving revision 1.23
diff -u -p -r1.23 comkbd_ebus.c
--- arch/sparc64/dev/comkbd_ebus.c 27 Dec 2018 11:06:38 -0000 1.23
+++ arch/sparc64/dev/comkbd_ebus.c 13 Feb 2020 09:38:17 -0000
@@ -103,7 +103,7 @@ void comkbd_putc(struct comkbd_softc *,
 int comkbd_intr(void *);
 void comkbd_soft(void *);
 
-struct cfattach comkbd_ca = {
+const struct cfattach comkbd_ca = {
  sizeof(struct comkbd_softc), comkbd_match, comkbd_attach
 };
 
Index: arch/sparc64/dev/core.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/core.c,v
retrieving revision 1.1
diff -u -p -r1.1 core.c
--- arch/sparc64/dev/core.c 11 Jul 2008 14:23:53 -0000 1.1
+++ arch/sparc64/dev/core.c 13 Feb 2020 09:38:17 -0000
@@ -25,7 +25,7 @@
 int core_match(struct device *, void *, void *);
 void core_attach(struct device *, struct device *, void *);
 
-struct cfattach core_ca = {
+const struct cfattach core_ca = {
  sizeof(struct device), core_match, core_attach
 };
 
Index: arch/sparc64/dev/creator.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/creator.c,v
retrieving revision 1.51
diff -u -p -r1.51 creator.c
--- arch/sparc64/dev/creator.c 8 Sep 2017 05:36:52 -0000 1.51
+++ arch/sparc64/dev/creator.c 13 Feb 2020 09:38:17 -0000
@@ -77,7 +77,7 @@ struct cfdriver creator_cd = {
  NULL, "creator", DV_DULL
 };
 
-struct cfattach creator_ca = {
+const struct cfattach creator_ca = {
  sizeof(struct creator_softc), creator_match, creator_attach
 };
 
Index: arch/sparc64/dev/ebus.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/ebus.c,v
retrieving revision 1.25
diff -u -p -r1.25 ebus.c
--- arch/sparc64/dev/ebus.c 5 Dec 2019 12:46:54 -0000 1.25
+++ arch/sparc64/dev/ebus.c 13 Feb 2020 09:38:17 -0000
@@ -78,7 +78,7 @@ int ebus_debug = 0x0;
 int ebus_match(struct device *, void *, void *);
 void ebus_attach(struct device *, struct device *, void *);
 
-struct cfattach ebus_ca = {
+const struct cfattach ebus_ca = {
  sizeof(struct ebus_softc), ebus_match, ebus_attach
 };
 
Index: arch/sparc64/dev/ebus_mainbus.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/ebus_mainbus.c,v
retrieving revision 1.10
diff -u -p -r1.10 ebus_mainbus.c
--- arch/sparc64/dev/ebus_mainbus.c 23 Aug 2016 03:28:01 -0000 1.10
+++ arch/sparc64/dev/ebus_mainbus.c 13 Feb 2020 09:38:17 -0000
@@ -56,7 +56,7 @@ extern struct cfdriver pyro_cd;
 int ebus_mainbus_match(struct device *, void *, void *);
 void ebus_mainbus_attach(struct device *, struct device *, void *);
 
-struct cfattach ebus_mainbus_ca = {
+const struct cfattach ebus_mainbus_ca = {
  sizeof(struct ebus_softc), ebus_mainbus_match, ebus_mainbus_attach
 };
 
Index: arch/sparc64/dev/environ.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/environ.c,v
retrieving revision 1.1
diff -u -p -r1.1 environ.c
--- arch/sparc64/dev/environ.c 18 Jan 2008 20:12:38 -0000 1.1
+++ arch/sparc64/dev/environ.c 13 Feb 2020 09:38:17 -0000
@@ -45,7 +45,7 @@ int environ_match(struct device *, void
 void environ_attach(struct device *, struct device *, void *);
 void environ_refresh(void *);
 
-struct cfattach environ_ca = {
+const struct cfattach environ_ca = {
  sizeof(struct environ_softc), environ_match, environ_attach
 };
 
Index: arch/sparc64/dev/fd.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/fd.c,v
retrieving revision 1.50
diff -u -p -r1.50 fd.c
--- arch/sparc64/dev/fd.c 27 Dec 2018 11:06:38 -0000 1.50
+++ arch/sparc64/dev/fd.c 13 Feb 2020 09:38:17 -0000
@@ -218,11 +218,11 @@ void fdcattach_ebus(struct device *, str
 
 int fdcattach(struct fdc_softc *, int);
 
-struct cfattach fdc_sbus_ca = {
+const struct cfattach fdc_sbus_ca = {
  sizeof(struct fdc_softc), fdcmatch_sbus, fdcattach_sbus
 };
 
-struct cfattach fdc_ebus_ca = {
+const struct cfattach fdc_ebus_ca = {
  sizeof(struct fdc_softc), fdcmatch_ebus, fdcattach_ebus
 };
 
@@ -276,7 +276,7 @@ int fdmatch(struct device *, void *, voi
 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), fdmatch, fdattach,
  NULL, fdactivate
 };
Index: arch/sparc64/dev/fhc_central.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/fhc_central.c,v
retrieving revision 1.6
diff -u -p -r1.6 fhc_central.c
--- arch/sparc64/dev/fhc_central.c 8 Sep 2017 05:36:52 -0000 1.6
+++ arch/sparc64/dev/fhc_central.c 13 Feb 2020 09:38:17 -0000
@@ -44,7 +44,7 @@
 int fhc_central_match(struct device *, void *, void *);
 void fhc_central_attach(struct device *, struct device *, void *);
 
-struct cfattach fhc_central_ca = {
+const struct cfattach fhc_central_ca = {
  sizeof(struct fhc_softc), fhc_central_match, fhc_central_attach
 };
 
Index: arch/sparc64/dev/fhc_mainbus.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/fhc_mainbus.c,v
retrieving revision 1.5
diff -u -p -r1.5 fhc_mainbus.c
--- arch/sparc64/dev/fhc_mainbus.c 8 Sep 2017 05:36:52 -0000 1.5
+++ arch/sparc64/dev/fhc_mainbus.c 13 Feb 2020 09:38:17 -0000
@@ -42,7 +42,7 @@
 int fhc_mainbus_match(struct device *, void *, void *);
 void fhc_mainbus_attach(struct device *, struct device *, void *);
 
-struct cfattach fhc_mainbus_ca = {
+const struct cfattach fhc_mainbus_ca = {
  sizeof(struct fhc_softc), fhc_mainbus_match, fhc_mainbus_attach
 };
 
Index: arch/sparc64/dev/gfb.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/gfb.c,v
retrieving revision 1.2
diff -u -p -r1.2 gfb.c
--- arch/sparc64/dev/gfb.c 20 Oct 2013 20:07:27 -0000 1.2
+++ arch/sparc64/dev/gfb.c 13 Feb 2020 09:38:17 -0000
@@ -50,7 +50,7 @@ struct cfdriver gfb_cd = {
  NULL, "gfb", DV_DULL
 };
 
-struct cfattach gfb_ca = {
+const struct cfattach gfb_ca = {
  sizeof(struct gfb_softc), gfb_match, gfb_attach
 };
 
Index: arch/sparc64/dev/gfxp.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/gfxp.c,v
retrieving revision 1.13
diff -u -p -r1.13 gfxp.c
--- arch/sparc64/dev/gfxp.c 20 Oct 2013 20:07:27 -0000 1.13
+++ arch/sparc64/dev/gfxp.c 13 Feb 2020 09:38:17 -0000
@@ -134,7 +134,7 @@ struct wsdisplay_accessops gfxp_accessop
 int gfxp_match(struct device *, void *, void *);
 void gfxp_attach(struct device *, struct device *, void *);
 
-struct cfattach gfxp_ca = {
+const struct cfattach gfxp_ca = {
  sizeof(struct gfxp_softc), gfxp_match, gfxp_attach
 };
 
Index: arch/sparc64/dev/ifb.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/ifb.c,v
retrieving revision 1.22
diff -u -p -r1.22 ifb.c
--- arch/sparc64/dev/ifb.c 20 Oct 2013 20:07:27 -0000 1.22
+++ arch/sparc64/dev/ifb.c 13 Feb 2020 09:38:17 -0000
@@ -300,7 +300,7 @@ struct wsdisplay_accessops ifb_accessops
 int ifbmatch(struct device *, void *, void *);
 void ifbattach(struct device *, struct device *, void *);
 
-struct cfattach ifb_ca = {
+const struct cfattach ifb_ca = {
  sizeof (struct ifb_softc), ifbmatch, ifbattach
 };
 
Index: arch/sparc64/dev/led.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/led.c,v
retrieving revision 1.2
diff -u -p -r1.2 led.c
--- arch/sparc64/dev/led.c 21 Jun 2019 08:12:35 -0000 1.2
+++ arch/sparc64/dev/led.c 13 Feb 2020 09:38:17 -0000
@@ -68,7 +68,7 @@ struct led_softc {
 int led_match(struct device *, void *, void *);
 void led_attach(struct device *, struct device *, void *);
 
-struct cfattach led_ca = {
+const struct cfattach led_ca = {
  sizeof(struct led_softc), led_match, led_attach
 };
 
Index: arch/sparc64/dev/lom.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/lom.c,v
retrieving revision 1.27
diff -u -p -r1.27 lom.c
--- arch/sparc64/dev/lom.c 12 Oct 2019 15:55:31 -0000 1.27
+++ arch/sparc64/dev/lom.c 13 Feb 2020 09:38:17 -0000
@@ -181,7 +181,7 @@ int lom_match(struct device *, void *, v
 void lom_attach(struct device *, struct device *, void *);
 int lom_activate(struct device *, int);
 
-struct cfattach lom_ca = {
+const struct cfattach lom_ca = {
  sizeof(struct lom_softc), lom_match, lom_attach,
  NULL, lom_activate
 };
Index: arch/sparc64/dev/lpt_ebus.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/lpt_ebus.c,v
retrieving revision 1.10
diff -u -p -r1.10 lpt_ebus.c
--- arch/sparc64/dev/lpt_ebus.c 5 Dec 2019 12:46:54 -0000 1.10
+++ arch/sparc64/dev/lpt_ebus.c 13 Feb 2020 09:38:17 -0000
@@ -51,7 +51,7 @@ struct lpt_ebus_softc {
 int lpt_ebus_match(struct device *, void *, void *);
 void lpt_ebus_attach(struct device *, struct device *, void *);
 
-struct cfattach lpt_ebus_ca = {
+const struct cfattach lpt_ebus_ca = {
  sizeof(struct lpt_ebus_softc), lpt_ebus_match, lpt_ebus_attach
 };
 
Index: arch/sparc64/dev/machfb.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/machfb.c,v
retrieving revision 1.10
diff -u -p -r1.10 machfb.c
--- arch/sparc64/dev/machfb.c 28 Jul 2014 15:00:27 -0000 1.10
+++ arch/sparc64/dev/machfb.c 13 Feb 2020 09:38:17 -0000
@@ -201,7 +201,7 @@ struct wsdisplay_accessops machfb_access
 int machfb_match(struct device *, void *, void *);
 void machfb_attach(struct device *, struct device *, void *);
 
-struct cfattach machfb_ca = {
+const struct cfattach machfb_ca = {
  sizeof(struct machfb_softc), machfb_match, machfb_attach
 };
 
Index: arch/sparc64/dev/mgiic.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/mgiic.c,v
retrieving revision 1.3
diff -u -p -r1.3 mgiic.c
--- arch/sparc64/dev/mgiic.c 7 May 2015 00:00:52 -0000 1.3
+++ arch/sparc64/dev/mgiic.c 13 Feb 2020 09:38:17 -0000
@@ -82,7 +82,7 @@ struct cfdriver mgiic_cd = {
         NULL, "mgiic", DV_DULL
 };
 
-struct cfattach mgiic_ca = {
+const struct cfattach mgiic_ca = {
         sizeof(struct mgiic_softc), mgiic_match, mgiic_attach
 };
 
Index: arch/sparc64/dev/pcf8591_envctrl.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/pcf8591_envctrl.c,v
retrieving revision 1.6
diff -u -p -r1.6 pcf8591_envctrl.c
--- arch/sparc64/dev/pcf8591_envctrl.c 25 Oct 2007 21:17:20 -0000 1.6
+++ arch/sparc64/dev/pcf8591_envctrl.c 13 Feb 2020 09:38:17 -0000
@@ -59,7 +59,7 @@ int ecadc_match(struct device *, void *,
 void ecadc_attach(struct device *, struct device *, void *);
 void ecadc_refresh(void *);
 
-struct cfattach ecadc_ca = {
+const struct cfattach ecadc_ca = {
  sizeof(struct ecadc_softc), ecadc_match, ecadc_attach
 };
 
Index: arch/sparc64/dev/pcf8591_ofw.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/pcf8591_ofw.c,v
retrieving revision 1.5
diff -u -p -r1.5 pcf8591_ofw.c
--- arch/sparc64/dev/pcf8591_ofw.c 22 Oct 2007 20:53:10 -0000 1.5
+++ arch/sparc64/dev/pcf8591_ofw.c 13 Feb 2020 09:38:17 -0000
@@ -45,7 +45,7 @@ int pcfadc_match(struct device *, void *
 void pcfadc_attach(struct device *, struct device *, void *);
 void pcfadc_refresh(void *);
 
-struct cfattach pcfadc_ca = {
+const struct cfattach pcfadc_ca = {
  sizeof(struct pcfadc_softc), pcfadc_match, pcfadc_attach
 };
 
Index: arch/sparc64/dev/pcfiic_ebus.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/pcfiic_ebus.c,v
retrieving revision 1.13
diff -u -p -r1.13 pcfiic_ebus.c
--- arch/sparc64/dev/pcfiic_ebus.c 8 Jun 2008 03:07:40 -0000 1.13
+++ arch/sparc64/dev/pcfiic_ebus.c 13 Feb 2020 09:38:17 -0000
@@ -50,7 +50,7 @@ struct pcfiic_ebus_softc {
  void *esc_ih;
 };
 
-struct cfattach pcfiic_ebus_ca = {
+const struct cfattach pcfiic_ebus_ca = {
  sizeof(struct pcfiic_ebus_softc), pcfiic_ebus_match, pcfiic_ebus_attach
 };
 
Index: arch/sparc64/dev/pckbc_ebus.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/pckbc_ebus.c,v
retrieving revision 1.14
diff -u -p -r1.14 pckbc_ebus.c
--- arch/sparc64/dev/pckbc_ebus.c 8 Sep 2017 05:36:52 -0000 1.14
+++ arch/sparc64/dev/pckbc_ebus.c 13 Feb 2020 09:38:17 -0000
@@ -65,7 +65,7 @@ struct pckbc_ebus_softc {
 int pckbc_ebus_match(struct device *, void *, void *);
 void pckbc_ebus_attach(struct device *, struct device *, void *);
 
-struct cfattach pckbc_ebus_ca = {
+const struct cfattach pckbc_ebus_ca = {
  sizeof(struct pckbc_ebus_softc), pckbc_ebus_match, pckbc_ebus_attach
 };
 
Index: arch/sparc64/dev/pcons.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/pcons.c,v
retrieving revision 1.24
diff -u -p -r1.24 pcons.c
--- arch/sparc64/dev/pcons.c 19 Feb 2018 08:59:52 -0000 1.24
+++ arch/sparc64/dev/pcons.c 13 Feb 2020 09:38:17 -0000
@@ -130,7 +130,7 @@ int cn_get_magic(char *magic, int len);
 int pconsmatch(struct device *, void *, void *);
 void pconsattach(struct device *, struct device *, void *);
 
-struct cfattach pcons_ca = {
+const struct cfattach pcons_ca = {
  sizeof(struct pconssoftc), pconsmatch, pconsattach
 };
 
Index: arch/sparc64/dev/pmc.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/pmc.c,v
retrieving revision 1.4
diff -u -p -r1.4 pmc.c
--- arch/sparc64/dev/pmc.c 10 Dec 2014 12:27:57 -0000 1.4
+++ arch/sparc64/dev/pmc.c 13 Feb 2020 09:38:17 -0000
@@ -53,7 +53,7 @@ void pmc_attach(struct device *, struct
 int pmc_activate(struct device *, int);
 int pmc_wdog_cb(void *, int);
 
-struct cfattach pmc_ca = {
+const struct cfattach pmc_ca = {
  sizeof(struct pmc_softc), pmc_match, pmc_attach, NULL, pmc_activate
 };
 
Index: arch/sparc64/dev/power.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/power.c,v
retrieving revision 1.8
diff -u -p -r1.8 power.c
--- arch/sparc64/dev/power.c 8 Sep 2017 05:36:52 -0000 1.8
+++ arch/sparc64/dev/power.c 13 Feb 2020 09:38:17 -0000
@@ -62,7 +62,7 @@ int power_match(struct device *, void *,
 void power_attach(struct device *, struct device *, void *);
 int power_intr(void *);
 
-struct cfattach power_ca = {
+const struct cfattach power_ca = {
  sizeof(struct power_softc), power_match, power_attach
 };
 
Index: arch/sparc64/dev/ppm.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/ppm.c,v
retrieving revision 1.2
diff -u -p -r1.2 ppm.c
--- arch/sparc64/dev/ppm.c 8 Sep 2017 05:36:52 -0000 1.2
+++ arch/sparc64/dev/ppm.c 13 Feb 2020 09:38:17 -0000
@@ -58,7 +58,7 @@ struct ppm_softc {
 int ppm_match(struct device *, void *, void *);
 void ppm_attach(struct device *, struct device *, void *);
 
-struct cfattach ppm_ca = {
+const struct cfattach ppm_ca = {
  sizeof(struct ppm_softc), ppm_match, ppm_attach
 };
 
Index: arch/sparc64/dev/prtc.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/prtc.c,v
retrieving revision 1.5
diff -u -p -r1.5 prtc.c
--- arch/sparc64/dev/prtc.c 29 Aug 2018 02:03:12 -0000 1.5
+++ arch/sparc64/dev/prtc.c 13 Feb 2020 09:38:17 -0000
@@ -44,7 +44,7 @@ struct prtc_softc {
 int prtc_match(struct device *, void *, void *);
 void prtc_attach(struct device *, struct device *, void *);
 
-struct cfattach prtc_ca = {
+const struct cfattach prtc_ca = {
  sizeof(struct prtc_softc), prtc_match, prtc_attach
 };
 
Index: arch/sparc64/dev/psycho.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/psycho.c,v
retrieving revision 1.76
diff -u -p -r1.76 psycho.c
--- arch/sparc64/dev/psycho.c 25 Jun 2019 22:30:56 -0000 1.76
+++ arch/sparc64/dev/psycho.c 13 Feb 2020 09:38:17 -0000
@@ -138,7 +138,7 @@ void psycho_attach(struct device *, stru
 int psycho_print(void *aux, const char *p);
 
 
-struct cfattach psycho_ca = {
+const struct cfattach psycho_ca = {
         sizeof(struct psycho_softc), psycho_match, psycho_attach
 };
 
Index: arch/sparc64/dev/radeonfb.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/radeonfb.c,v
retrieving revision 1.5
diff -u -p -r1.5 radeonfb.c
--- arch/sparc64/dev/radeonfb.c 20 Oct 2013 20:07:27 -0000 1.5
+++ arch/sparc64/dev/radeonfb.c 13 Feb 2020 09:38:17 -0000
@@ -128,7 +128,7 @@ struct wsdisplay_accessops radeonfb_acce
 int radeonfb_match(struct device *, void *, void *);
 void radeonfb_attach(struct device *, struct device *, void *);
 
-struct cfattach radeonfb_ca = {
+const struct cfattach radeonfb_ca = {
  sizeof(struct radeonfb_softc), radeonfb_match, radeonfb_attach
 };
 
Index: arch/sparc64/dev/raptor.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/raptor.c,v
retrieving revision 1.8
diff -u -p -r1.8 raptor.c
--- arch/sparc64/dev/raptor.c 20 Oct 2013 20:07:27 -0000 1.8
+++ arch/sparc64/dev/raptor.c 13 Feb 2020 09:38:17 -0000
@@ -140,7 +140,7 @@ struct wsdisplay_accessops raptor_access
 int raptor_match(struct device *, void *, void *);
 void raptor_attach(struct device *, struct device *, void *);
 
-struct cfattach raptor_ca = {
+const struct cfattach raptor_ca = {
  sizeof(struct raptor_softc), raptor_match, raptor_attach
 };
 
Index: arch/sparc64/dev/rtc.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/rtc.c,v
retrieving revision 1.10
diff -u -p -r1.10 rtc.c
--- arch/sparc64/dev/rtc.c 11 Jul 2014 08:18:31 -0000 1.10
+++ arch/sparc64/dev/rtc.c 13 Feb 2020 09:38:17 -0000
@@ -102,7 +102,7 @@ struct rtc_softc {
 int rtc_match(struct device *, void *, void *);
 void rtc_attach(struct device *, struct device *, void *);
 
-struct cfattach rtc_ca = {
+const struct cfattach rtc_ca = {
  sizeof(struct rtc_softc), rtc_match, rtc_attach
 };
 
Index: arch/sparc64/dev/sab.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/sab.c,v
retrieving revision 1.37
diff -u -p -r1.37 sab.c
--- arch/sparc64/dev/sab.c 12 Oct 2019 15:55:31 -0000 1.37
+++ arch/sparc64/dev/sab.c 13 Feb 2020 09:38:17 -0000
@@ -159,7 +159,7 @@ void sabtty_cnputc(struct sabtty_softc *
 int sabtty_cngetc(struct sabtty_softc *);
 void sabtty_abort(struct sabtty_softc *);
 
-struct cfattach sab_ca = {
+const struct cfattach sab_ca = {
  sizeof(struct sab_softc), sab_match, sab_attach
 };
 
@@ -167,7 +167,7 @@ struct cfdriver sab_cd = {
  NULL, "sab", DV_DULL
 };
 
-struct cfattach sabtty_ca = {
+const struct cfattach sabtty_ca = {
  sizeof(struct sabtty_softc), sabtty_match, sabtty_attach,
  NULL, sabtty_activate
 };
Index: arch/sparc64/dev/sbbc.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/sbbc.c,v
retrieving revision 1.13
diff -u -p -r1.13 sbbc.c
--- arch/sparc64/dev/sbbc.c 19 Feb 2018 08:59:52 -0000 1.13
+++ arch/sparc64/dev/sbbc.c 13 Feb 2020 09:38:17 -0000
@@ -143,7 +143,7 @@ struct sbbc_softc *sbbc_cons_output;
 int sbbc_match(struct device *, void *, void *);
 void sbbc_attach(struct device *, struct device *, void *);
 
-struct cfattach sbbc_ca = {
+const struct cfattach sbbc_ca = {
  sizeof(struct sbbc_softc), sbbc_match, sbbc_attach
 };
 
Index: arch/sparc64/dev/sbus.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/sbus.c,v
retrieving revision 1.45
diff -u -p -r1.45 sbus.c
--- arch/sparc64/dev/sbus.c 25 Jun 2019 22:30:56 -0000 1.45
+++ arch/sparc64/dev/sbus.c 13 Feb 2020 09:38:17 -0000
@@ -158,11 +158,11 @@ void sbus_xbox_attach(struct device *, s
 int sbus_mb_match(struct device *, void *, void *);
 int sbus_xbox_match(struct device *, void *, void *);
 
-struct cfattach sbus_mb_ca = {
+const struct cfattach sbus_mb_ca = {
  sizeof(struct sbus_softc), sbus_mb_match, sbus_mb_attach
 };
 
-struct cfattach sbus_xbox_ca = {
+const struct cfattach sbus_xbox_ca = {
  sizeof(struct sbus_softc), sbus_xbox_match, sbus_xbox_attach
 };
 
Index: arch/sparc64/dev/ssm.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/ssm.c,v
retrieving revision 1.2
diff -u -p -r1.2 ssm.c
--- arch/sparc64/dev/ssm.c 12 Jul 2014 18:44:43 -0000 1.2
+++ arch/sparc64/dev/ssm.c 13 Feb 2020 09:38:17 -0000
@@ -26,7 +26,7 @@
 int ssm_match(struct device *, void *, void *);
 void ssm_attach(struct device *, struct device *, void *);
 
-struct cfattach ssm_ca = {
+const struct cfattach ssm_ca = {
  sizeof(struct device), ssm_match, ssm_attach
 };
 
Index: arch/sparc64/dev/stp_sbus.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/stp_sbus.c,v
retrieving revision 1.10
diff -u -p -r1.10 stp_sbus.c
--- arch/sparc64/dev/stp_sbus.c 26 Jun 2008 05:42:13 -0000 1.10
+++ arch/sparc64/dev/stp_sbus.c 13 Feb 2020 09:38:17 -0000
@@ -64,7 +64,7 @@ struct stp4020_sbus_softc {
 int stpmatch(struct device *, void *, void *);
 void stpattach(struct device *, struct device *, void *);
 
-struct cfattach stp_sbus_ca = {
+const struct cfattach stp_sbus_ca = {
  sizeof(struct stp4020_sbus_softc), stpmatch, stpattach
 };
 
Index: arch/sparc64/dev/tda.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/tda.c,v
retrieving revision 1.8
diff -u -p -r1.8 tda.c
--- arch/sparc64/dev/tda.c 7 Mar 2016 13:21:51 -0000 1.8
+++ arch/sparc64/dev/tda.c 13 Feb 2020 09:38:17 -0000
@@ -66,7 +66,7 @@ void tda_attach(struct device *, struct
 void tda_setspeed(struct tda_softc *);
 void tda_adjust(void *);
 
-struct cfattach tda_ca = {
+const struct cfattach tda_ca = {
  sizeof(struct tda_softc), tda_match, tda_attach
 };
 
Index: arch/sparc64/dev/upa.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/upa.c,v
retrieving revision 1.10
diff -u -p -r1.10 upa.c
--- arch/sparc64/dev/upa.c 8 Sep 2017 05:36:52 -0000 1.10
+++ arch/sparc64/dev/upa.c 13 Feb 2020 09:38:17 -0000
@@ -63,7 +63,7 @@ struct upa_softc {
 int upa_match(struct device *, void *, void *);
 void upa_attach(struct device *, struct device *, void *);
 
-struct cfattach upa_ca = {
+const struct cfattach upa_ca = {
  sizeof(struct upa_softc), upa_match, upa_attach
 };
 
Index: arch/sparc64/dev/uperf_ebus.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/uperf_ebus.c,v
retrieving revision 1.6
diff -u -p -r1.6 uperf_ebus.c
--- arch/sparc64/dev/uperf_ebus.c 8 Sep 2017 05:36:52 -0000 1.6
+++ arch/sparc64/dev/uperf_ebus.c 13 Feb 2020 09:38:17 -0000
@@ -63,7 +63,7 @@ struct uperf_ebus_softc {
 int uperf_ebus_match(struct device *, void *, void *);
 void uperf_ebus_attach(struct device *, struct device *, void *);
 
-struct cfattach uperf_ebus_ca = {
+const struct cfattach uperf_ebus_ca = {
  sizeof(struct uperf_ebus_softc), uperf_ebus_match, uperf_ebus_attach
 };
 
Index: arch/sparc64/dev/vbus.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/vbus.c,v
retrieving revision 1.11
diff -u -p -r1.11 vbus.c
--- arch/sparc64/dev/vbus.c 27 Jun 2018 11:38:59 -0000 1.11
+++ arch/sparc64/dev/vbus.c 13 Feb 2020 09:38:17 -0000
@@ -42,7 +42,7 @@ int vbus_match(struct device *, void *,
 void vbus_attach(struct device *, struct device *, void *);
 int vbus_print(void *, const char *);
 
-struct cfattach vbus_ca = {
+const struct cfattach vbus_ca = {
  sizeof(struct vbus_softc), vbus_match, vbus_attach
 };
 
Index: arch/sparc64/dev/vcc.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/vcc.c,v
retrieving revision 1.1
diff -u -p -r1.1 vcc.c
--- arch/sparc64/dev/vcc.c 10 May 2009 12:24:04 -0000 1.1
+++ arch/sparc64/dev/vcc.c 13 Feb 2020 09:38:17 -0000
@@ -42,7 +42,7 @@ struct vcc_softc {
 int vcc_match(struct device *, void *, void *);
 void vcc_attach(struct device *, struct device *, void *);
 
-struct cfattach vcc_ca = {
+const struct cfattach vcc_ca = {
  sizeof(struct vcc_softc), vcc_match, vcc_attach
 };
 
Index: arch/sparc64/dev/vcctty.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/vcctty.c,v
retrieving revision 1.14
diff -u -p -r1.14 vcctty.c
--- arch/sparc64/dev/vcctty.c 19 Feb 2018 08:59:52 -0000 1.14
+++ arch/sparc64/dev/vcctty.c 13 Feb 2020 09:38:17 -0000
@@ -71,7 +71,7 @@ struct vcctty_softc {
 int vcctty_match(struct device *, void *, void *);
 void vcctty_attach(struct device *, struct device *, void *);
 
-struct cfattach vcctty_ca = {
+const struct cfattach vcctty_ca = {
  sizeof(struct vcctty_softc), vcctty_match, vcctty_attach
 };
 
Index: arch/sparc64/dev/vcons.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/vcons.c,v
retrieving revision 1.17
diff -u -p -r1.17 vcons.c
--- arch/sparc64/dev/vcons.c 27 Jun 2018 11:38:59 -0000 1.17
+++ arch/sparc64/dev/vcons.c 13 Feb 2020 09:38:17 -0000
@@ -47,7 +47,7 @@ struct vcons_softc {
 int vcons_match(struct device *, void *, void *);
 void vcons_attach(struct device *, struct device *, void *);
 
-struct cfattach vcons_ca = {
+const struct cfattach vcons_ca = {
  sizeof(struct vcons_softc), vcons_match, vcons_attach
 };
 
Index: arch/sparc64/dev/vds.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/vds.c,v
retrieving revision 1.1
diff -u -p -r1.1 vds.c
--- arch/sparc64/dev/vds.c 31 Dec 2009 11:58:41 -0000 1.1
+++ arch/sparc64/dev/vds.c 13 Feb 2020 09:38:17 -0000
@@ -42,7 +42,7 @@ struct vds_softc {
 int vds_match(struct device *, void *, void *);
 void vds_attach(struct device *, struct device *, void *);
 
-struct cfattach vds_ca = {
+const struct cfattach vds_ca = {
  sizeof(struct vds_softc), vds_match, vds_attach
 };
 
Index: arch/sparc64/dev/vdsk.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/vdsk.c,v
retrieving revision 1.52
diff -u -p -r1.52 vdsk.c
--- arch/sparc64/dev/vdsk.c 5 Feb 2020 16:29:29 -0000 1.52
+++ arch/sparc64/dev/vdsk.c 13 Feb 2020 09:38:17 -0000
@@ -171,7 +171,7 @@ struct vdsk_softc {
 int vdsk_match(struct device *, void *, void *);
 void vdsk_attach(struct device *, struct device *, void *);
 
-struct cfattach vdsk_ca = {
+const struct cfattach vdsk_ca = {
  sizeof(struct vdsk_softc), vdsk_match, vdsk_attach
 };
 
Index: arch/sparc64/dev/vdsp.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/vdsp.c,v
retrieving revision 1.47
diff -u -p -r1.47 vdsp.c
--- arch/sparc64/dev/vdsp.c 16 Jan 2020 13:03:28 -0000 1.47
+++ arch/sparc64/dev/vdsp.c 13 Feb 2020 09:38:17 -0000
@@ -267,7 +267,7 @@ struct vdsp_softc {
 int vdsp_match(struct device *, void *, void *);
 void vdsp_attach(struct device *, struct device *, void *);
 
-struct cfattach vdsp_ca = {
+const struct cfattach vdsp_ca = {
  sizeof(struct vdsp_softc), vdsp_match, vdsp_attach
 };
 
Index: arch/sparc64/dev/vgafb.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/vgafb.c,v
retrieving revision 1.66
diff -u -p -r1.66 vgafb.c
--- arch/sparc64/dev/vgafb.c 27 Dec 2018 11:06:38 -0000 1.66
+++ arch/sparc64/dev/vgafb.c 13 Feb 2020 09:38:17 -0000
@@ -91,7 +91,7 @@ struct wsdisplay_accessops vgafb_accesso
 int vgafbmatch(struct device *, void *, void *);
 void vgafbattach(struct device *, struct device *, void *);
 
-struct cfattach vgafb_ca = {
+const struct cfattach vgafb_ca = {
  sizeof (struct vgafb_softc), vgafbmatch, vgafbattach
 };
 
Index: arch/sparc64/dev/vldc.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/vldc.c,v
retrieving revision 1.1
diff -u -p -r1.1 vldc.c
--- arch/sparc64/dev/vldc.c 17 Mar 2012 20:07:18 -0000 1.1
+++ arch/sparc64/dev/vldc.c 13 Feb 2020 09:38:17 -0000
@@ -42,7 +42,7 @@ struct vldc_softc {
 int vldc_match(struct device *, void *, void *);
 void vldc_attach(struct device *, struct device *, void *);
 
-struct cfattach vldc_ca = {
+const struct cfattach vldc_ca = {
  sizeof(struct vldc_softc), vldc_match, vldc_attach
 };
 
Index: arch/sparc64/dev/vldcp.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/vldcp.c,v
retrieving revision 1.19
diff -u -p -r1.19 vldcp.c
--- arch/sparc64/dev/vldcp.c 19 Dec 2019 12:04:38 -0000 1.19
+++ arch/sparc64/dev/vldcp.c 13 Feb 2020 09:38:17 -0000
@@ -71,7 +71,7 @@ struct vldcp_softc {
 int vldcp_match(struct device *, void *, void *);
 void vldcp_attach(struct device *, struct device *, void *);
 
-struct cfattach vldcp_ca = {
+const struct cfattach vldcp_ca = {
  sizeof(struct vldcp_softc), vldcp_match, vldcp_attach
 };
 
Index: arch/sparc64/dev/vnet.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/vnet.c,v
retrieving revision 1.60
diff -u -p -r1.60 vnet.c
--- arch/sparc64/dev/vnet.c 27 Jan 2018 13:44:03 -0000 1.60
+++ arch/sparc64/dev/vnet.c 13 Feb 2020 09:38:17 -0000
@@ -184,7 +184,7 @@ struct vnet_softc {
 int vnet_match(struct device *, void *, void *);
 void vnet_attach(struct device *, struct device *, void *);
 
-struct cfattach vnet_ca = {
+const struct cfattach vnet_ca = {
  sizeof(struct vnet_softc), vnet_match, vnet_attach
 };
 
Index: arch/sparc64/dev/vrng.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/vrng.c,v
retrieving revision 1.5
diff -u -p -r1.5 vrng.c
--- arch/sparc64/dev/vrng.c 28 Apr 2018 15:44:59 -0000 1.5
+++ arch/sparc64/dev/vrng.c 13 Feb 2020 09:38:17 -0000
@@ -54,7 +54,7 @@ struct vrng_softc {
 int vrng_match(struct device *, void *, void *);
 void vrng_attach(struct device *, struct device *, void *);
 
-struct cfattach vrng_ca = {
+const struct cfattach vrng_ca = {
  sizeof(struct vrng_softc), vrng_match, vrng_attach
 };
 
Index: arch/sparc64/dev/vrtc.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/vrtc.c,v
retrieving revision 1.1
diff -u -p -r1.1 vrtc.c
--- arch/sparc64/dev/vrtc.c 8 Mar 2008 19:19:43 -0000 1.1
+++ arch/sparc64/dev/vrtc.c 13 Feb 2020 09:38:17 -0000
@@ -32,7 +32,7 @@ extern todr_chip_handle_t todr_handle;
 int vrtc_match(struct device *, void *, void *);
 void vrtc_attach(struct device *, struct device *, void *);
 
-struct cfattach vrtc_ca = {
+const struct cfattach vrtc_ca = {
  sizeof(struct device), vrtc_match, vrtc_attach
 };
 
Index: arch/sparc64/dev/vsw.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/vsw.c,v
retrieving revision 1.1
diff -u -p -r1.1 vsw.c
--- arch/sparc64/dev/vsw.c 16 May 2009 10:53:06 -0000 1.1
+++ arch/sparc64/dev/vsw.c 13 Feb 2020 09:38:17 -0000
@@ -42,7 +42,7 @@ struct vsw_softc {
 int vsw_match(struct device *, void *, void *);
 void vsw_attach(struct device *, struct device *, void *);
 
-struct cfattach vsw_ca = {
+const struct cfattach vsw_ca = {
  sizeof(struct vsw_softc), vsw_match, vsw_attach
 };
 
Index: arch/sparc64/dev/wbsd_ebus.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/wbsd_ebus.c,v
retrieving revision 1.1
diff -u -p -r1.1 wbsd_ebus.c
--- arch/sparc64/dev/wbsd_ebus.c 3 Oct 2009 19:56:14 -0000 1.1
+++ arch/sparc64/dev/wbsd_ebus.c 13 Feb 2020 09:38:17 -0000
@@ -34,7 +34,7 @@
 int wbsd_ebus_match(struct device *, void *, void *);
 void wbsd_ebus_attach(struct device *, struct device *, void *);
 
-struct cfattach wbsd_ebus_ca = {
+const struct cfattach wbsd_ebus_ca = {
  sizeof(struct wb_softc), wbsd_ebus_match, wbsd_ebus_attach
 };
 
Index: arch/sparc64/dev/z8530kbd.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/z8530kbd.c,v
retrieving revision 1.29
diff -u -p -r1.29 z8530kbd.c
--- arch/sparc64/dev/z8530kbd.c 27 Dec 2018 11:06:38 -0000 1.29
+++ arch/sparc64/dev/z8530kbd.c 13 Feb 2020 09:38:17 -0000
@@ -201,7 +201,7 @@ struct zskbd_softc {
 static int zskbd_match(struct device *, void *, void *);
 static void zskbd_attach(struct device *, struct device *, void *);
 
-struct cfattach zskbd_ca = {
+const struct cfattach zskbd_ca = {
  sizeof(struct zskbd_softc), zskbd_match, zskbd_attach
 };
 
Index: arch/sparc64/dev/zs.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/dev/zs.c,v
retrieving revision 1.31
diff -u -p -r1.31 zs.c
--- arch/sparc64/dev/zs.c 27 Dec 2018 11:06:38 -0000 1.31
+++ arch/sparc64/dev/zs.c 13 Feb 2020 09:38:17 -0000
@@ -146,11 +146,11 @@ static void zs_attach_fhc(struct device
 static void zs_attach(struct zsc_softc *, struct zsdevice *, int);
 static int  zs_print(void *, const char *name);
 
-struct cfattach zs_sbus_ca = {
+const struct cfattach zs_sbus_ca = {
  sizeof(struct zsc_softc), zs_match_sbus, zs_attach_sbus
 };
 
-struct cfattach zs_fhc_ca = {
+const struct cfattach zs_fhc_ca = {
  sizeof(struct zsc_softc), zs_match_fhc, zs_attach_fhc
 };
 
Index: arch/sparc64/sparc64/autoconf.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/sparc64/autoconf.c,v
retrieving revision 1.134
diff -u -p -r1.134 autoconf.c
--- arch/sparc64/sparc64/autoconf.c 4 Jan 2020 23:43:54 -0000 1.134
+++ arch/sparc64/sparc64/autoconf.c 13 Feb 2020 09:38:17 -0000
@@ -1140,7 +1140,7 @@ extern bus_space_tag_t mainbus_space_tag
  }
 }
 
-struct cfattach mainbus_ca = {
+const struct cfattach mainbus_ca = {
  sizeof(struct device), mainbus_match, mainbus_attach
 };
 
Index: arch/sparc64/sparc64/clock.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/sparc64/clock.c,v
retrieving revision 1.59
diff -u -p -r1.59 clock.c
--- arch/sparc64/sparc64/clock.c 30 Apr 2017 16:45:45 -0000 1.59
+++ arch/sparc64/sparc64/clock.c 13 Feb 2020 09:38:17 -0000
@@ -157,15 +157,15 @@ static int clockmatch_fhc(struct device
 static void clockattach_fhc(struct device *, struct device *, void *);
 static void clockattach(int, bus_space_tag_t, bus_space_handle_t);
 
-struct cfattach clock_sbus_ca = {
+const struct cfattach clock_sbus_ca = {
  sizeof(struct device), clockmatch_sbus, clockattach_sbus
 };
 
-struct cfattach clock_ebus_ca = {
+const struct cfattach clock_ebus_ca = {
  sizeof(struct device), clockmatch_ebus, clockattach_ebus
 };
 
-struct cfattach clock_fhc_ca = {
+const struct cfattach clock_fhc_ca = {
  sizeof(struct device), clockmatch_fhc, clockattach_fhc
 };
 
@@ -178,7 +178,7 @@ static void timerattach(struct device *,
 
 struct timerreg_4u timerreg_4u; /* XXX - need more cleanup */
 
-struct cfattach timer_ca = {
+const struct cfattach timer_ca = {
  sizeof(struct device), timermatch, timerattach
 };
 
Index: arch/sparc64/sparc64/cpu.c
===================================================================
RCS file: /cvs/src/sys/arch/sparc64/sparc64/cpu.c,v
retrieving revision 1.69
diff -u -p -r1.69 cpu.c
--- arch/sparc64/sparc64/cpu.c 11 Dec 2017 00:15:50 -0000 1.69
+++ arch/sparc64/sparc64/cpu.c 13 Feb 2020 09:38:17 -0000
@@ -94,7 +94,7 @@ char cpu_model[100];
 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
 };
 
Index: dev/ipmi.c
===================================================================
RCS file: /cvs/src/sys/dev/ipmi.c,v
retrieving revision 1.108
diff -u -p -r1.108 ipmi.c
--- dev/ipmi.c 11 Jan 2020 18:51:54 -0000 1.108
+++ dev/ipmi.c 13 Feb 2020 09:37:16 -0000
@@ -1840,7 +1840,7 @@ void ipmi_smbios_probe(struct smbios_ipm
 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
 };
Index: dev/midi.c
===================================================================
RCS file: /cvs/src/sys/dev/midi.c,v
retrieving revision 1.45
diff -u -p -r1.45 midi.c
--- dev/midi.c 31 Dec 2019 13:48:31 -0000 1.45
+++ dev/midi.c 13 Feb 2020 09:37:16 -0000
@@ -54,7 +54,7 @@ void midi_out_do(struct midi_softc *);
 void midi_attach(struct midi_softc *, struct device *);
 
 
-struct cfattach midi_ca = {
+const struct cfattach midi_ca = {
  sizeof(struct midi_softc), midiprobe, midiattach, mididetach
 };
 
Index: dev/radio.c
===================================================================
RCS file: /cvs/src/sys/dev/radio.c,v
retrieving revision 1.11
diff -u -p -r1.11 radio.c
--- dev/radio.c 22 Sep 2016 00:47:19 -0000 1.11
+++ dev/radio.c 13 Feb 2020 09:37:16 -0000
@@ -48,7 +48,7 @@ int radiodetach(struct device *, int);
 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
 };
Index: dev/rd.c
===================================================================
RCS file: /cvs/src/sys/dev/rd.c,v
retrieving revision 1.13
diff -u -p -r1.13 rd.c
--- dev/rd.c 30 Dec 2017 23:08:29 -0000 1.13
+++ dev/rd.c 13 Feb 2020 09:37:16 -0000
@@ -56,7 +56,7 @@ struct rd_softc {
  struct disk sc_dk;
 };
 
-struct cfattach rd_ca = {
+const struct cfattach rd_ca = {
  sizeof(struct rd_softc),
  rd_match,
  rd_attach,
Index: dev/softraid.c
===================================================================
RCS file: /cvs/src/sys/dev/softraid.c,v
retrieving revision 1.397
diff -u -p -r1.397 softraid.c
--- dev/softraid.c 25 Jan 2020 21:48:42 -0000 1.397
+++ dev/softraid.c 13 Feb 2020 09:37:16 -0000
@@ -83,7 +83,7 @@ void sr_attach(struct device *, struct
 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,
 };
 
Index: dev/video.c
===================================================================
RCS file: /cvs/src/sys/dev/video.c,v
retrieving revision 1.43
diff -u -p -r1.43 video.c
--- dev/video.c 16 Jan 2020 09:59:26 -0000 1.43
+++ dev/video.c 13 Feb 2020 09:37:16 -0000
@@ -69,7 +69,7 @@ int videoprint(void *, const char *);
 
 void video_intr(void *);
 
-struct cfattach video_ca = {
+const struct cfattach video_ca = {
  sizeof(struct video_softc), videoprobe, videoattach,
  videodetach, videoactivate
 };
Index: dev/vscsi.c
===================================================================
RCS file: /cvs/src/sys/dev/vscsi.c,v
retrieving revision 1.47
diff -u -p -r1.47 vscsi.c
--- dev/vscsi.c 5 Feb 2020 16:29:29 -0000 1.47
+++ dev/vscsi.c 13 Feb 2020 09:37:16 -0000
@@ -79,7 +79,7 @@ struct vscsi_softc {
 #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
Index: dev/acpi/acpiac.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpiac.c,v
retrieving revision 1.31
diff -u -p -r1.31 acpiac.c
--- dev/acpi/acpiac.c 1 Jul 2018 19:40:49 -0000 1.31
+++ dev/acpi/acpiac.c 13 Feb 2020 09:37:16 -0000
@@ -38,7 +38,7 @@ int  acpiac_notify(struct aml_node *, in
 void acpiac_refresh(void *);
 int acpiac_getsta(struct acpiac_softc *);
 
-struct cfattach acpiac_ca = {
+const struct cfattach acpiac_ca = {
  sizeof(struct acpiac_softc), acpiac_match, acpiac_attach
 };
 
Index: dev/acpi/acpiasus.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpiasus.c,v
retrieving revision 1.19
diff -u -p -r1.19 acpiasus.c
--- dev/acpi/acpiasus.c 1 Jul 2018 19:40:49 -0000 1.19
+++ dev/acpi/acpiasus.c 13 Feb 2020 09:37:16 -0000
@@ -86,7 +86,7 @@ int acpiasus_activate(struct device *, i
 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
 };
Index: dev/acpi/acpibat.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpibat.c,v
retrieving revision 1.67
diff -u -p -r1.67 acpibat.c
--- dev/acpi/acpibat.c 1 Jul 2018 19:40:49 -0000 1.67
+++ dev/acpi/acpibat.c 13 Feb 2020 09:37:16 -0000
@@ -32,7 +32,7 @@
 int acpibat_match(struct device *, void *, void *);
 void acpibat_attach(struct device *, struct device *, void *);
 
-struct cfattach acpibat_ca = {
+const struct cfattach acpibat_ca = {
  sizeof(struct acpibat_softc), acpibat_match, acpibat_attach
 };
 
Index: dev/acpi/acpibtn.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpibtn.c,v
retrieving revision 1.47
diff -u -p -r1.47 acpibtn.c
--- dev/acpi/acpibtn.c 20 Jan 2019 02:45:44 -0000 1.47
+++ dev/acpi/acpibtn.c 13 Feb 2020 09:37:16 -0000
@@ -65,7 +65,7 @@ struct acpi_lid {
 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
 };
Index: dev/acpi/acpicbkbd.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpicbkbd.c,v
retrieving revision 1.2
diff -u -p -r1.2 acpicbkbd.c
--- dev/acpi/acpicbkbd.c 27 Jul 2016 02:26:26 -0000 1.2
+++ dev/acpi/acpicbkbd.c 13 Feb 2020 09:37:16 -0000
@@ -52,7 +52,7 @@ void acpicbkbd_write_backlight(void *, i
 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,
Index: dev/acpi/acpicmos.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpicmos.c,v
retrieving revision 1.1
diff -u -p -r1.1 acpicmos.c
--- dev/acpi/acpicmos.c 27 Mar 2018 21:11:16 -0000 1.1
+++ dev/acpi/acpicmos.c 13 Feb 2020 09:37:16 -0000
@@ -32,7 +32,7 @@ struct acpicmos_softc {
 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
 };
 
Index: dev/acpi/acpicpu.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpicpu.c,v
retrieving revision 1.84
diff -u -p -r1.84 acpicpu.c
--- dev/acpi/acpicpu.c 16 Oct 2019 01:27:59 -0000 1.84
+++ dev/acpi/acpicpu.c 13 Feb 2020 09:37:16 -0000
@@ -178,7 +178,7 @@ void    acpicpu_set_throttle(struct acpi
 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
 };
 
Index: dev/acpi/acpidock.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpidock.c,v
retrieving revision 1.44
diff -u -p -r1.44 acpidock.c
--- dev/acpi/acpidock.c 14 Mar 2015 03:38:46 -0000 1.44
+++ dev/acpi/acpidock.c 13 Feb 2020 09:37:16 -0000
@@ -36,7 +36,7 @@ struct aml_nodelist {
 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
 };
 
Index: dev/acpi/acpiec.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpiec.c,v
retrieving revision 1.60
diff -u -p -r1.60 acpiec.c
--- dev/acpi/acpiec.c 2 Jul 2019 21:17:24 -0000 1.60
+++ dev/acpi/acpiec.c 13 Feb 2020 09:37:16 -0000
@@ -79,7 +79,7 @@ int acpiec_reg(struct acpiec_softc *);
 
 extern char *hw_vendor, *hw_prod;
 
-struct cfattach acpiec_ca = {
+const struct cfattach acpiec_ca = {
  sizeof(struct acpiec_softc), acpiec_match, acpiec_attach
 };
 
Index: dev/acpi/acpihpet.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpihpet.c,v
retrieving revision 1.23
diff -u -p -r1.23 acpihpet.c
--- dev/acpi/acpihpet.c 29 Jun 2018 17:39:18 -0000 1.23
+++ dev/acpi/acpihpet.c 13 Feb 2020 09:37:16 -0000
@@ -70,7 +70,7 @@ struct acpihpet_softc {
  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
 };
Index: dev/acpi/acpihve.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpihve.c,v
retrieving revision 1.2
diff -u -p -r1.2 acpihve.c
--- dev/acpi/acpihve.c 28 Apr 2018 15:44:59 -0000 1.2
+++ dev/acpi/acpihve.c 13 Feb 2020 09:37:16 -0000
@@ -36,7 +36,7 @@ struct acpihve_softc {
  struct device sc_dev;
 };
 
-struct cfattach acpihve_ca = {
+const struct cfattach acpihve_ca = {
  sizeof(struct acpihve_softc), acpihve_match, acpihve_attach
 };
 
Index: dev/acpi/acpimadt.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpimadt.c,v
retrieving revision 1.37
diff -u -p -r1.37 acpimadt.c
--- dev/acpi/acpimadt.c 29 Jun 2018 17:39:18 -0000 1.37
+++ dev/acpi/acpimadt.c 13 Feb 2020 09:37:16 -0000
@@ -43,7 +43,7 @@
 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
 };
 
Index: dev/acpi/acpimcfg.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpimcfg.c,v
retrieving revision 1.4
diff -u -p -r1.4 acpimcfg.c
--- dev/acpi/acpimcfg.c 19 Aug 2018 08:23:47 -0000 1.4
+++ dev/acpi/acpimcfg.c 13 Feb 2020 09:37:16 -0000
@@ -26,7 +26,7 @@
 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
 };
 
Index: dev/acpi/acpiprt.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpiprt.c,v
retrieving revision 1.48
diff -u -p -r1.48 acpiprt.c
--- dev/acpi/acpiprt.c 25 Oct 2016 06:48:58 -0000 1.48
+++ dev/acpi/acpiprt.c 13 Feb 2020 09:37:16 -0000
@@ -72,7 +72,7 @@ struct acpiprt_softc {
  int sc_bus;
 };
 
-struct cfattach acpiprt_ca = {
+const struct cfattach acpiprt_ca = {
  sizeof(struct acpiprt_softc), acpiprt_match, acpiprt_attach
 };
 
Index: dev/acpi/acpipwrres.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpipwrres.c,v
retrieving revision 1.7
diff -u -p -r1.7 acpipwrres.c
--- dev/acpi/acpipwrres.c 14 Sep 2014 14:17:24 -0000 1.7
+++ dev/acpi/acpipwrres.c 13 Feb 2020 09:37:16 -0000
@@ -65,7 +65,7 @@ struct acpipwrres_consumer {
  SIMPLEQ_ENTRY(acpipwrres_consumer) cs_next;
 };
 
-struct cfattach acpipwrres_ca = {
+const struct cfattach acpipwrres_ca = {
  sizeof(struct acpipwrres_softc), acpipwrres_match, acpipwrres_attach
 };
 
Index: dev/acpi/acpisony.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpisony.c,v
retrieving revision 1.7
diff -u -p -r1.7 acpisony.c
--- dev/acpi/acpisony.c 28 Feb 2017 10:39:07 -0000 1.7
+++ dev/acpi/acpisony.c 13 Feb 2020 09:37:16 -0000
@@ -67,7 +67,7 @@ struct acpisony_softc {
  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
 };
Index: dev/acpi/acpisurface.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpisurface.c,v
retrieving revision 1.1
diff -u -p -r1.1 acpisurface.c
--- dev/acpi/acpisurface.c 30 Jun 2018 18:15:12 -0000 1.1
+++ dev/acpi/acpisurface.c 13 Feb 2020 09:37:16 -0000
@@ -61,7 +61,7 @@ int surface_hotkey(struct aml_node *, in
 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
 };
Index: dev/acpi/acpithinkpad.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpithinkpad.c,v
retrieving revision 1.68
diff -u -p -r1.68 acpithinkpad.c
--- dev/acpi/acpithinkpad.c 31 Dec 2019 01:38:33 -0000 1.68
+++ dev/acpi/acpithinkpad.c 13 Feb 2020 09:37:16 -0000
@@ -189,7 +189,7 @@ extern int wskbd_set_mixermute(long, lon
 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
 };
Index: dev/acpi/acpitimer.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpitimer.c,v
retrieving revision 1.12
diff -u -p -r1.12 acpitimer.c
--- dev/acpi/acpitimer.c 6 Oct 2017 13:33:53 -0000 1.12
+++ dev/acpi/acpitimer.c 13 Feb 2020 09:37:16 -0000
@@ -46,7 +46,7 @@ struct acpitimer_softc {
  bus_space_handle_t sc_ioh;
 };
 
-struct cfattach acpitimer_ca = {
+const struct cfattach acpitimer_ca = {
  sizeof(struct acpitimer_softc), acpitimermatch, acpitimerattach
 };
 
Index: dev/acpi/acpitoshiba.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpitoshiba.c,v
retrieving revision 1.12
diff -u -p -r1.12 acpitoshiba.c
--- dev/acpi/acpitoshiba.c 13 Oct 2019 10:56:31 -0000 1.12
+++ dev/acpi/acpitoshiba.c 13 Feb 2020 09:37:16 -0000
@@ -111,7 +111,7 @@ int acpitoshiba_set_param(struct wsdispl
 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
 };
 
Index: dev/acpi/acpitz.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpitz.c,v
retrieving revision 1.54
diff -u -p -r1.54 acpitz.c
--- dev/acpi/acpitz.c 29 Jun 2018 17:39:18 -0000 1.54
+++ dev/acpi/acpitz.c 13 Feb 2020 09:37:16 -0000
@@ -67,7 +67,7 @@ int acpitz_match(struct device *, void *
 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
 };
Index: dev/acpi/acpivideo.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpivideo.c,v
retrieving revision 1.12
diff -u -p -r1.12 acpivideo.c
--- dev/acpi/acpivideo.c 8 Feb 2020 19:08:17 -0000 1.12
+++ dev/acpi/acpivideo.c 13 Feb 2020 09:37:16 -0000
@@ -57,7 +57,7 @@ int acpivideo_print(void *, const char *
 
 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
 };
 
Index: dev/acpi/acpivout.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/acpivout.c,v
retrieving revision 1.19
diff -u -p -r1.19 acpivout.c
--- dev/acpi/acpivout.c 8 Feb 2020 19:08:17 -0000 1.19
+++ dev/acpi/acpivout.c 13 Feb 2020 09:37:16 -0000
@@ -77,7 +77,7 @@ void acpivout_get_bcl(struct acpivout_so
 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
 };
 
Index: dev/acpi/ahci_acpi.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/ahci_acpi.c,v
retrieving revision 1.2
diff -u -p -r1.2 ahci_acpi.c
--- dev/acpi/ahci_acpi.c 3 Aug 2018 22:18:13 -0000 1.2
+++ dev/acpi/ahci_acpi.c 13 Feb 2020 09:37:16 -0000
@@ -45,7 +45,7 @@ struct ahci_acpi_softc {
 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
 };
 
Index: dev/acpi/amdgpio.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/amdgpio.c,v
retrieving revision 1.2
diff -u -p -r1.2 amdgpio.c
--- dev/acpi/amdgpio.c 26 Jan 2020 00:11:42 -0000 1.2
+++ dev/acpi/amdgpio.c 13 Feb 2020 09:37:16 -0000
@@ -71,7 +71,7 @@ struct amdgpio_softc {
 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
 };
 
Index: dev/acpi/aplgpio.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/aplgpio.c,v
retrieving revision 1.1
diff -u -p -r1.1 aplgpio.c
--- dev/acpi/aplgpio.c 17 Jun 2019 18:28:18 -0000 1.1
+++ dev/acpi/aplgpio.c 13 Feb 2020 09:37:16 -0000
@@ -65,7 +65,7 @@ struct aplgpio_softc {
 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
 };
 
Index: dev/acpi/atk0110.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/atk0110.c,v
retrieving revision 1.15
diff -u -p -r1.15 atk0110.c
--- dev/acpi/atk0110.c 29 Jun 2018 17:39:18 -0000 1.15
+++ dev/acpi/atk0110.c 13 Feb 2020 09:37:16 -0000
@@ -113,7 +113,7 @@ void aibs_probe(struct aibs_softc *);
 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
 };
 
Index: dev/acpi/bytgpio.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/bytgpio.c,v
retrieving revision 1.13
diff -u -p -r1.13 bytgpio.c
--- dev/acpi/bytgpio.c 30 Apr 2018 18:47:48 -0000 1.13
+++ dev/acpi/bytgpio.c 13 Feb 2020 09:37:16 -0000
@@ -66,7 +66,7 @@ struct bytgpio_softc {
 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
 };
 
Index: dev/acpi/ccp_acpi.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/ccp_acpi.c,v
retrieving revision 1.1
diff -u -p -r1.1 ccp_acpi.c
--- dev/acpi/ccp_acpi.c 23 Apr 2019 18:34:06 -0000 1.1
+++ dev/acpi/ccp_acpi.c 13 Feb 2020 09:37:16 -0000
@@ -38,7 +38,7 @@ struct ccp_acpi_softc {
 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
 };
 
Index: dev/acpi/ccpmic.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/ccpmic.c,v
retrieving revision 1.2
diff -u -p -r1.2 ccpmic.c
--- dev/acpi/ccpmic.c 21 May 2018 15:00:25 -0000 1.2
+++ dev/acpi/ccpmic.c 13 Feb 2020 09:37:16 -0000
@@ -78,7 +78,7 @@ struct ccpmic_softc {
 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
 };
 
Index: dev/acpi/chvgpio.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/chvgpio.c,v
retrieving revision 1.8
diff -u -p -r1.8 chvgpio.c
--- dev/acpi/chvgpio.c 29 Nov 2017 22:51:01 -0000 1.8
+++ dev/acpi/chvgpio.c 13 Feb 2020 09:37:16 -0000
@@ -111,7 +111,7 @@ chvgpio_write_pad_cfg1(struct chvgpio_so
 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
 };
 
Index: dev/acpi/com_acpi.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/com_acpi.c,v
retrieving revision 1.1
diff -u -p -r1.1 com_acpi.c
--- dev/acpi/com_acpi.c 1 Jul 2018 10:29:30 -0000 1.1
+++ dev/acpi/com_acpi.c 13 Feb 2020 09:37:16 -0000
@@ -49,7 +49,7 @@ struct com_acpi_softc {
 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
 };
 
Index: dev/acpi/dwiic_acpi.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/dwiic_acpi.c,v
retrieving revision 1.12
diff -u -p -r1.12 dwiic_acpi.c
--- dev/acpi/dwiic_acpi.c 4 Aug 2019 15:44:17 -0000 1.12
+++ dev/acpi/dwiic_acpi.c 13 Feb 2020 09:37:16 -0000
@@ -57,7 +57,7 @@ void dwiic_acpi_power(struct dwiic_soft
 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,
Index: dev/acpi/glkgpio.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/glkgpio.c,v
retrieving revision 1.1
diff -u -p -r1.1 glkgpio.c
--- dev/acpi/glkgpio.c 24 Jun 2019 21:33:27 -0000 1.1
+++ dev/acpi/glkgpio.c 13 Feb 2020 09:37:16 -0000
@@ -65,7 +65,7 @@ struct glkgpio_softc {
 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
 };
 
Index: dev/acpi/ipmi_acpi.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/ipmi_acpi.c,v
retrieving revision 1.3
diff -u -p -r1.3 ipmi_acpi.c
--- dev/acpi/ipmi_acpi.c 6 Jan 2020 12:35:57 -0000 1.3
+++ dev/acpi/ipmi_acpi.c 13 Feb 2020 09:37:16 -0000
@@ -53,7 +53,7 @@ struct ipmi_acpi_softc {
  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,
 };
 
Index: dev/acpi/pluart_acpi.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/pluart_acpi.c,v
retrieving revision 1.3
diff -u -p -r1.3 pluart_acpi.c
--- dev/acpi/pluart_acpi.c 25 Aug 2018 09:39:20 -0000 1.3
+++ dev/acpi/pluart_acpi.c 13 Feb 2020 09:37:16 -0000
@@ -46,7 +46,7 @@ struct pluart_acpi_softc {
 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
 };
 
Index: dev/acpi/sdhc_acpi.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/sdhc_acpi.c,v
retrieving revision 1.14
diff -u -p -r1.14 sdhc_acpi.c
--- dev/acpi/sdhc_acpi.c 2 Apr 2019 07:08:39 -0000 1.14
+++ dev/acpi/sdhc_acpi.c 13 Feb 2020 09:37:16 -0000
@@ -55,7 +55,7 @@ struct sdhc_acpi_softc {
 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
 };
 
Index: dev/acpi/tipmic.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/tipmic.c,v
retrieving revision 1.5
diff -u -p -r1.5 tipmic.c
--- dev/acpi/tipmic.c 9 Jan 2020 14:35:19 -0000 1.5
+++ dev/acpi/tipmic.c 13 Feb 2020 09:37:16 -0000
@@ -88,7 +88,7 @@ struct tipmic_softc {
 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
 };
 
Index: dev/acpi/tpm.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/tpm.c,v
retrieving revision 1.9
diff -u -p -r1.9 tpm.c
--- dev/acpi/tpm.c 15 May 2019 21:28:21 -0000 1.9
+++ dev/acpi/tpm.c 13 Feb 2020 09:37:16 -0000
@@ -174,7 +174,7 @@ int tpm_getburst(struct tpm_softc *);
 uint8_t tpm_status(struct tpm_softc *);
 int tpm_tmotohz(int);
 
-struct cfattach tpm_ca = {
+const struct cfattach tpm_ca = {
  sizeof(struct tpm_softc),
  tpm_match,
  tpm_attach,
Index: dev/acpi/xhci_acpi.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/xhci_acpi.c,v
retrieving revision 1.1
diff -u -p -r1.1 xhci_acpi.c
--- dev/acpi/xhci_acpi.c 2 Jul 2018 11:23:19 -0000 1.1
+++ dev/acpi/xhci_acpi.c 13 Feb 2020 09:37:16 -0000
@@ -52,7 +52,7 @@ struct xhci_acpi_softc {
 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
 };
 
Index: dev/adb/akbd.c
===================================================================
RCS file: /cvs/src/sys/dev/adb/akbd.c,v
retrieving revision 1.14
diff -u -p -r1.14 akbd.c
--- dev/adb/akbd.c 26 Jan 2014 17:48:08 -0000 1.14
+++ dev/adb/akbd.c 13 Feb 2020 09:37:16 -0000
@@ -57,7 +57,7 @@ int akbdmatch(struct device *, void *, v
 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 = {
Index: dev/adb/ams.c
===================================================================
RCS file: /cvs/src/sys/dev/adb/ams.c,v
retrieving revision 1.7
diff -u -p -r1.7 ams.c
--- dev/adb/ams.c 5 Jun 2016 20:02:36 -0000 1.7
+++ dev/adb/ams.c 13 Feb 2020 09:37:16 -0000
@@ -50,7 +50,7 @@ int amsmatch(struct device *, void *, vo
 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. */
Index: dev/ata/wd.c
===================================================================
RCS file: /cvs/src/sys/dev/ata/wd.c,v
retrieving revision 1.127
diff -u -p -r1.127 wd.c
--- dev/ata/wd.c 23 Jan 2020 05:46:44 -0000 1.127
+++ dev/ata/wd.c 13 Feb 2020 09:37:16 -0000
@@ -122,7 +122,7 @@ int wddetach(struct device *, int);
 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
 };
Index: dev/atapiscsi/atapiscsi.c
===================================================================
RCS file: /cvs/src/sys/dev/atapiscsi/atapiscsi.c,v
retrieving revision 1.108
diff -u -p -r1.108 atapiscsi.c
--- dev/atapiscsi/atapiscsi.c 25 Jan 2020 21:48:42 -0000 1.108
+++ dev/atapiscsi/atapiscsi.c 13 Feb 2020 09:37:16 -0000
@@ -166,7 +166,7 @@ static struct scsi_adapter atapiscsi_swi
 /* Inital 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
 };
Index: dev/cardbus/cardbus.c
===================================================================
RCS file: /cvs/src/sys/dev/cardbus/cardbus.c,v
retrieving revision 1.52
diff -u -p -r1.52 cardbus.c
--- dev/cardbus/cardbus.c 30 Nov 2019 18:19:51 -0000 1.52
+++ dev/cardbus/cardbus.c 13 Feb 2020 09:37:16 -0000
@@ -80,7 +80,7 @@ STATIC void enable_function(struct cardb
 STATIC void disable_function(struct cardbus_softc *, int);
 
 
-struct cfattach cardbus_ca = {
+const struct cfattach cardbus_ca = {
  sizeof(struct cardbus_softc), cardbusmatch, cardbusattach
 };
 
Index: dev/cardbus/cardslot.c
===================================================================
RCS file: /cvs/src/sys/dev/cardbus/cardslot.c,v
retrieving revision 1.21
diff -u -p -r1.21 cardslot.c
--- dev/cardbus/cardslot.c 15 Sep 2016 02:00:17 -0000 1.21
+++ dev/cardbus/cardslot.c 13 Feb 2020 09:37:16 -0000
@@ -66,7 +66,7 @@ STATIC int cardslot_cb_print(void *aux,
 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
 };
 
Index: dev/cardbus/com_cardbus.c
===================================================================
RCS file: /cvs/src/sys/dev/cardbus/com_cardbus.c,v
retrieving revision 1.43
diff -u -p -r1.43 com_cardbus.c
--- dev/cardbus/com_cardbus.c 14 Nov 2015 14:47:56 -0000 1.43
+++ dev/cardbus/com_cardbus.c 13 Feb 2020 09:37:16 -0000
@@ -93,7 +93,7 @@ struct csdev *com_cardbus_find_csdev(str
 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
 };
Index: dev/cardbus/ehci_cardbus.c
===================================================================
RCS file: /cvs/src/sys/dev/cardbus/ehci_cardbus.c,v
retrieving revision 1.22
diff -u -p -r1.22 ehci_cardbus.c
--- dev/cardbus/ehci_cardbus.c 11 Nov 2015 02:29:14 -0000 1.22
+++ dev/cardbus/ehci_cardbus.c 13 Feb 2020 09:37:16 -0000
@@ -61,7 +61,7 @@ struct ehci_cardbus_softc {
  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
 };
Index: dev/cardbus/if_acx_cardbus.c
===================================================================
RCS file: /cvs/src/sys/dev/cardbus/if_acx_cardbus.c,v
retrieving revision 1.22
diff -u -p -r1.22 if_acx_cardbus.c
--- dev/cardbus/if_acx_cardbus.c 24 Nov 2015 17:11:39 -0000 1.22
+++ dev/cardbus/if_acx_cardbus.c 13 Feb 2020 09:37:16 -0000
@@ -82,7 +82,7 @@ int acx_cardbus_match(struct device *, v
 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
 };
Index: dev/cardbus/if_ath_cardbus.c
===================================================================
RCS file: /cvs/src/sys/dev/cardbus/if_ath_cardbus.c,v
retrieving revision 1.19
diff -u -p -r1.19 if_ath_cardbus.c
--- dev/cardbus/if_ath_cardbus.c 24 Nov 2015 17:11:39 -0000 1.19
+++ dev/cardbus/if_ath_cardbus.c 13 Feb 2020 09:37:16 -0000
@@ -95,7 +95,7 @@ int ath_cardbus_match(struct device *, v
 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,
Index: dev/cardbus/if_athn_cardbus.c
===================================================================
RCS file: /cvs/src/sys/dev/cardbus/if_athn_cardbus.c,v
retrieving revision 1.15
diff -u -p -r1.15 if_athn_cardbus.c
--- dev/cardbus/if_athn_cardbus.c 12 Jan 2017 16:32:28 -0000 1.15
+++ dev/cardbus/if_athn_cardbus.c 13 Feb 2020 09:37:16 -0000
@@ -81,7 +81,7 @@ uint32_t athn_cardbus_read(struct athn_s
 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,
Index: dev/cardbus/if_atw_cardbus.c
===================================================================
RCS file: /cvs/src/sys/dev/cardbus/if_atw_cardbus.c,v
retrieving revision 1.24
diff -u -p -r1.24 if_atw_cardbus.c
--- dev/cardbus/if_atw_cardbus.c 24 Nov 2015 17:11:39 -0000 1.24
+++ dev/cardbus/if_atw_cardbus.c 13 Feb 2020 09:37:16 -0000
@@ -104,7 +104,7 @@ int atw_cardbus_match(struct device *, v
 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
 };
Index: dev/cardbus/if_bwi_cardbus.c
===================================================================
RCS file: /cvs/src/sys/dev/cardbus/if_bwi_cardbus.c,v
retrieving revision 1.15
diff -u -p -r1.15 if_bwi_cardbus.c
--- dev/cardbus/if_bwi_cardbus.c 6 Dec 2013 21:03:02 -0000 1.15
+++ dev/cardbus/if_bwi_cardbus.c 13 Feb 2020 09:37:16 -0000
@@ -70,7 +70,7 @@ void bwi_cardbus_disable(struct bwi_sof
 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
 };
Index: dev/cardbus/if_dc_cardbus.c
===================================================================
RCS file: /cvs/src/sys/dev/cardbus/if_dc_cardbus.c,v
retrieving revision 1.40
diff -u -p -r1.40 if_dc_cardbus.c
--- dev/cardbus/if_dc_cardbus.c 24 Nov 2015 17:11:39 -0000 1.40
+++ dev/cardbus/if_dc_cardbus.c 13 Feb 2020 09:37:16 -0000
@@ -87,7 +87,7 @@ int dc_cardbus_detach(struct device *, i
 
 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
 };
Index: dev/cardbus/if_fxp_cardbus.c
===================================================================
RCS file: /cvs/src/sys/dev/cardbus/if_fxp_cardbus.c,v
retrieving revision 1.37
diff -u -p -r1.37 if_fxp_cardbus.c
--- dev/cardbus/if_fxp_cardbus.c 5 Jan 2020 01:07:58 -0000 1.37
+++ dev/cardbus/if_fxp_cardbus.c 13 Feb 2020 09:37:16 -0000
@@ -87,7 +87,7 @@ struct fxp_cardbus_softc {
  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
 };
Index: dev/cardbus/if_malo_cardbus.c
===================================================================
RCS file: /cvs/src/sys/dev/cardbus/if_malo_cardbus.c,v
retrieving revision 1.12
diff -u -p -r1.12 if_malo_cardbus.c
--- dev/cardbus/if_malo_cardbus.c 6 Dec 2013 21:03:02 -0000 1.12
+++ dev/cardbus/if_malo_cardbus.c 13 Feb 2020 09:37:16 -0000
@@ -65,7 +65,7 @@ void malo_cardbus_setup(struct malo_card
 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
 };
Index: dev/cardbus/if_pgt_cardbus.c
===================================================================
RCS file: /cvs/src/sys/dev/cardbus/if_pgt_cardbus.c,v
retrieving revision 1.18
diff -u -p -r1.18 if_pgt_cardbus.c
--- dev/cardbus/if_pgt_cardbus.c 11 Dec 2015 16:07:01 -0000 1.18
+++ dev/cardbus/if_pgt_cardbus.c 13 Feb 2020 09:37:16 -0000
@@ -72,7 +72,7 @@ void pgt_cardbus_disable(struct pgt_soft
 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
 };
Index: dev/cardbus/if_ral_cardbus.c
===================================================================
RCS file: /cvs/src/sys/dev/cardbus/if_ral_cardbus.c,v
retrieving revision 1.22
diff -u -p -r1.22 if_ral_cardbus.c
--- dev/cardbus/if_ral_cardbus.c 24 Nov 2015 17:11:39 -0000 1.22
+++ dev/cardbus/if_ral_cardbus.c 13 Feb 2020 09:37:16 -0000
@@ -108,7 +108,7 @@ void ral_cardbus_attach(struct device *,
 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
Index: dev/cardbus/if_re_cardbus.c
===================================================================
RCS file: /cvs/src/sys/dev/cardbus/if_re_cardbus.c,v
retrieving revision 1.28
diff -u -p -r1.28 if_re_cardbus.c
--- dev/cardbus/if_re_cardbus.c 24 Nov 2015 17:11:39 -0000 1.28
+++ dev/cardbus/if_re_cardbus.c 13 Feb 2020 09:37:16 -0000
@@ -72,7 +72,7 @@ void re_cardbus_setup(struct rl_softc *)
 /*
  * 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,
Index: dev/cardbus/if_rl_cardbus.c
===================================================================
RCS file: /cvs/src/sys/dev/cardbus/if_rl_cardbus.c,v
retrieving revision 1.30
diff -u -p -r1.30 if_rl_cardbus.c
--- dev/cardbus/if_rl_cardbus.c 24 Nov 2015 17:11:39 -0000 1.30
+++ dev/cardbus/if_rl_cardbus.c 13 Feb 2020 09:37:16 -0000
@@ -119,7 +119,7 @@ static void rl_cardbus_attach(struct dev
 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
 };
Index: dev/cardbus/if_rtw_cardbus.c
===================================================================
RCS file: /cvs/src/sys/dev/cardbus/if_rtw_cardbus.c,v
retrieving revision 1.26
diff -u -p -r1.26 if_rtw_cardbus.c
--- dev/cardbus/if_rtw_cardbus.c 24 Nov 2015 17:11:39 -0000 1.26
+++ dev/cardbus/if_rtw_cardbus.c 13 Feb 2020 09:37:16 -0000
@@ -136,7 +136,7 @@ int rtw_cardbus_detach(struct device *,
 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
 };
Index: dev/cardbus/if_xl_cardbus.c
===================================================================
RCS file: /cvs/src/sys/dev/cardbus/if_xl_cardbus.c,v
retrieving revision 1.33
diff -u -p -r1.33 if_xl_cardbus.c
--- dev/cardbus/if_xl_cardbus.c 24 Nov 2015 17:11:39 -0000 1.33
+++ dev/cardbus/if_xl_cardbus.c 13 Feb 2020 09:37:16 -0000
@@ -94,7 +94,7 @@ struct xl_cardbus_softc {
  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
 };
Index: dev/cardbus/ohci_cardbus.c
===================================================================
RCS file: /cvs/src/sys/dev/cardbus/ohci_cardbus.c,v
retrieving revision 1.22
diff -u -p -r1.22 ohci_cardbus.c
--- dev/cardbus/ohci_cardbus.c 7 Jan 2019 03:41:06 -0000 1.22
+++ dev/cardbus/ohci_cardbus.c 13 Feb 2020 09:37:16 -0000
@@ -68,7 +68,7 @@ struct ohci_cardbus_softc {
  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
 };
Index: dev/cardbus/puc_cardbus.c
===================================================================
RCS file: /cvs/src/sys/dev/cardbus/puc_cardbus.c,v
retrieving revision 1.8
diff -u -p -r1.8 puc_cardbus.c
--- dev/cardbus/puc_cardbus.c 15 Nov 2011 22:27:53 -0000 1.8
+++ dev/cardbus/puc_cardbus.c 13 Feb 2020 09:37:16 -0000
@@ -47,7 +47,7 @@ const char *puc_cardbus_intr_string(stru
 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
 };
Index: dev/cardbus/uhci_cardbus.c
===================================================================
RCS file: /cvs/src/sys/dev/cardbus/uhci_cardbus.c,v
retrieving revision 1.15
diff -u -p -r1.15 uhci_cardbus.c
--- dev/cardbus/uhci_cardbus.c 14 Mar 2015 03:38:47 -0000 1.15
+++ dev/cardbus/uhci_cardbus.c 13 Feb 2020 09:37:16 -0000
@@ -59,7 +59,7 @@ struct uhci_cardbus_softc {
  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
 };
Index: dev/eisa/ahc_eisa.c
===================================================================
RCS file: /cvs/src/sys/dev/eisa/ahc_eisa.c,v
retrieving revision 1.21
diff -u -p -r1.21 ahc_eisa.c
--- dev/eisa/ahc_eisa.c 12 May 2012 21:54:39 -0000 1.21
+++ dev/eisa/ahc_eisa.c 13 Feb 2020 09:37:16 -0000
@@ -59,7 +59,7 @@ int   ahc_eisa_match(struct device *, vo
 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
 };
 
Index: dev/eisa/cac_eisa.c
===================================================================
RCS file: /cvs/src/sys/dev/eisa/cac_eisa.c,v
retrieving revision 1.5
diff -u -p -r1.5 cac_eisa.c
--- dev/eisa/cac_eisa.c 8 Sep 2017 05:36:52 -0000 1.5
+++ dev/eisa/cac_eisa.c 13 Feb 2020 09:37:16 -0000
@@ -91,7 +91,7 @@ void cac_eisa_l0_intr_enable(struct cac_
 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
 };
 
Index: dev/eisa/eisa.c
===================================================================
RCS file: /cvs/src/sys/dev/eisa/eisa.c,v
retrieving revision 1.13
diff -u -p -r1.13 eisa.c
--- dev/eisa/eisa.c 29 Mar 2009 21:53:52 -0000 1.13
+++ dev/eisa/eisa.c 13 Feb 2020 09:37:16 -0000
@@ -52,7 +52,7 @@
 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
 };
 
Index: dev/eisa/if_ep_eisa.c
===================================================================
RCS file: /cvs/src/sys/dev/eisa/if_ep_eisa.c,v
retrieving revision 1.26
diff -u -p -r1.26 if_ep_eisa.c
--- dev/eisa/if_ep_eisa.c 24 Nov 2015 17:11:39 -0000 1.26
+++ dev/eisa/if_ep_eisa.c 13 Feb 2020 09:37:16 -0000
@@ -72,7 +72,7 @@
 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
 };
 
Index: dev/eisa/uha_eisa.c
===================================================================
RCS file: /cvs/src/sys/dev/eisa/uha_eisa.c,v
retrieving revision 1.14
diff -u -p -r1.14 uha_eisa.c
--- dev/eisa/uha_eisa.c 8 Sep 2017 05:36:52 -0000 1.14
+++ dev/eisa/uha_eisa.c 13 Feb 2020 09:37:16 -0000
@@ -54,7 +54,7 @@
 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
 };
 
Index: dev/fdt/acrtc.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/acrtc.c,v
retrieving revision 1.3
diff -u -p -r1.3 acrtc.c
--- dev/fdt/acrtc.c 20 Apr 2019 22:40:13 -0000 1.3
+++ dev/fdt/acrtc.c 13 Feb 2020 09:37:16 -0000
@@ -65,7 +65,7 @@ struct acrtc_softc {
 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
 };
 
Index: dev/fdt/ahci_fdt.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/ahci_fdt.c,v
retrieving revision 1.5
diff -u -p -r1.5 ahci_fdt.c
--- dev/fdt/ahci_fdt.c 4 Dec 2018 11:25:48 -0000 1.5
+++ dev/fdt/ahci_fdt.c 13 Feb 2020 09:37:16 -0000
@@ -39,7 +39,7 @@ int ahci_fdt_activate(struct device *, i
 
 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,
Index: dev/fdt/amlclock.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/amlclock.c,v
retrieving revision 1.9
diff -u -p -r1.9 amlclock.c
--- dev/fdt/amlclock.c 12 Jan 2020 22:00:23 -0000 1.9
+++ dev/fdt/amlclock.c 13 Feb 2020 09:37:16 -0000
@@ -142,7 +142,7 @@ struct amlclock_softc {
 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
 };
 
Index: dev/fdt/amldwusb.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/amldwusb.c,v
retrieving revision 1.1
diff -u -p -r1.1 amldwusb.c
--- dev/fdt/amldwusb.c 29 Aug 2019 17:20:03 -0000 1.1
+++ dev/fdt/amldwusb.c 13 Feb 2020 09:37:16 -0000
@@ -120,7 +120,7 @@ struct amldwusb_softc {
 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
 };
 
Index: dev/fdt/amliic.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/amliic.c,v
retrieving revision 1.1
diff -u -p -r1.1 amliic.c
--- dev/fdt/amliic.c 7 Oct 2019 18:54:03 -0000 1.1
+++ dev/fdt/amliic.c 13 Feb 2020 09:37:16 -0000
@@ -76,7 +76,7 @@ struct amliic_softc {
 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
 };
 
Index: dev/fdt/amlmmc.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/amlmmc.c,v
retrieving revision 1.4
diff -u -p -r1.4 amlmmc.c
--- dev/fdt/amlmmc.c 2 Sep 2019 08:21:15 -0000 1.4
+++ dev/fdt/amlmmc.c 13 Feb 2020 09:37:16 -0000
@@ -150,7 +150,7 @@ struct amlmmc_softc {
 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
 };
 
Index: dev/fdt/amlpciephy.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/amlpciephy.c,v
retrieving revision 1.1
diff -u -p -r1.1 amlpciephy.c
--- dev/fdt/amlpciephy.c 29 Aug 2019 17:20:03 -0000 1.1
+++ dev/fdt/amlpciephy.c 13 Feb 2020 09:37:16 -0000
@@ -59,7 +59,7 @@ struct amlpciephy_softc {
 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
 };
 
Index: dev/fdt/amlpinctrl.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/amlpinctrl.c,v
retrieving revision 1.5
diff -u -p -r1.5 amlpinctrl.c
--- dev/fdt/amlpinctrl.c 6 Oct 2019 16:17:06 -0000 1.5
+++ dev/fdt/amlpinctrl.c 13 Feb 2020 09:37:16 -0000
@@ -231,7 +231,7 @@ struct amlpinctrl_softc {
 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
 };
 
Index: dev/fdt/amlpwm.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/amlpwm.c,v
retrieving revision 1.1
diff -u -p -r1.1 amlpwm.c
--- dev/fdt/amlpwm.c 30 Sep 2019 20:42:45 -0000 1.1
+++ dev/fdt/amlpwm.c 13 Feb 2020 09:37:16 -0000
@@ -68,7 +68,7 @@ struct amlpwm_softc {
 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
 };
 
Index: dev/fdt/amlreset.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/amlreset.c,v
retrieving revision 1.1
diff -u -p -r1.1 amlreset.c
--- dev/fdt/amlreset.c 26 Aug 2019 09:42:31 -0000 1.1
+++ dev/fdt/amlreset.c 13 Feb 2020 09:37:16 -0000
@@ -52,7 +52,7 @@ struct amlreset_softc {
 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
 };
 
Index: dev/fdt/amlrng.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/amlrng.c,v
retrieving revision 1.1
diff -u -p -r1.1 amlrng.c
--- dev/fdt/amlrng.c 27 Aug 2019 22:21:52 -0000 1.1
+++ dev/fdt/amlrng.c 13 Feb 2020 09:37:16 -0000
@@ -44,7 +44,7 @@ struct amlrng_softc {
 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
 };
 
Index: dev/fdt/amlsm.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/amlsm.c,v
retrieving revision 1.1
diff -u -p -r1.1 amlsm.c
--- dev/fdt/amlsm.c 14 Jan 2020 20:43:20 -0000 1.1
+++ dev/fdt/amlsm.c 13 Feb 2020 09:37:16 -0000
@@ -54,7 +54,7 @@ struct amlsm_softc {
 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
 };
 
Index: dev/fdt/amltemp.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/amltemp.c,v
retrieving revision 1.1
diff -u -p -r1.1 amltemp.c
--- dev/fdt/amltemp.c 14 Jan 2020 16:56:32 -0000 1.1
+++ dev/fdt/amltemp.c 13 Feb 2020 09:37:16 -0000
@@ -71,7 +71,7 @@ struct amltemp_softc {
 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
 };
 
Index: dev/fdt/amluart.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/amluart.c,v
retrieving revision 1.1
diff -u -p -r1.1 amluart.c
--- dev/fdt/amluart.c 26 Aug 2019 09:10:22 -0000 1.1
+++ dev/fdt/amluart.c 13 Feb 2020 09:37:16 -0000
@@ -95,7 +95,7 @@ struct cfdriver amluart_cd = {
  NULL, "amluart", DV_TTY
 };
 
-struct cfattach amluart_ca = {
+const struct cfattach amluart_ca = {
  sizeof(struct amluart_softc), amluart_match, amluart_attach
 };
 
Index: dev/fdt/amlusbphy.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/amlusbphy.c,v
retrieving revision 1.1
diff -u -p -r1.1 amlusbphy.c
--- dev/fdt/amlusbphy.c 29 Aug 2019 17:20:03 -0000 1.1
+++ dev/fdt/amlusbphy.c 13 Feb 2020 09:37:16 -0000
@@ -100,7 +100,7 @@ struct amlusbphy_softc {
 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
 };
 
Index: dev/fdt/axppmic.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/axppmic.c,v
retrieving revision 1.9
diff -u -p -r1.9 axppmic.c
--- dev/fdt/axppmic.c 23 Jan 2020 10:01:41 -0000 1.9
+++ dev/fdt/axppmic.c 13 Feb 2020 09:37:16 -0000
@@ -346,7 +346,7 @@ void axppmic_attach_common(struct axppmi
 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
 };
 
@@ -422,7 +422,7 @@ axppmic_i2c_write(struct axppmic_softc *
 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
 };
 
Index: dev/fdt/bcm2835_aux.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/bcm2835_aux.c,v
retrieving revision 1.4
diff -u -p -r1.4 bcm2835_aux.c
--- dev/fdt/bcm2835_aux.c 29 Aug 2019 11:51:48 -0000 1.4
+++ dev/fdt/bcm2835_aux.c 13 Feb 2020 09:37:16 -0000
@@ -48,7 +48,7 @@ struct bcmaux_softc {
 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
 };
 
Index: dev/fdt/bcm2835_dog.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/bcm2835_dog.c,v
retrieving revision 1.2
diff -u -p -r1.2 bcm2835_dog.c
--- dev/fdt/bcm2835_dog.c 5 Sep 2019 16:58:36 -0000 1.2
+++ dev/fdt/bcm2835_dog.c 13 Feb 2020 09:37:16 -0000
@@ -64,7 +64,7 @@ int bcmdog_activate(struct device *, in
 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
 };
Index: dev/fdt/bcm2835_rng.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/bcm2835_rng.c,v
retrieving revision 1.2
diff -u -p -r1.2 bcm2835_rng.c
--- dev/fdt/bcm2835_rng.c 28 Apr 2018 15:44:59 -0000 1.2
+++ dev/fdt/bcm2835_rng.c 13 Feb 2020 09:37:16 -0000
@@ -50,7 +50,7 @@ struct bcmrng_softc {
 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
 };
 
Index: dev/fdt/bcm2835_temp.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/bcm2835_temp.c,v
retrieving revision 1.1
diff -u -p -r1.1 bcm2835_temp.c
--- dev/fdt/bcm2835_temp.c 24 Feb 2018 11:06:59 -0000 1.1
+++ dev/fdt/bcm2835_temp.c 13 Feb 2020 09:37:16 -0000
@@ -52,7 +52,7 @@ struct bcmtemp_softc {
 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
 };
 
Index: dev/fdt/ccp_fdt.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/ccp_fdt.c,v
retrieving revision 1.1
diff -u -p -r1.1 ccp_fdt.c
--- dev/fdt/ccp_fdt.c 20 Apr 2018 04:37:21 -0000 1.1
+++ dev/fdt/ccp_fdt.c 13 Feb 2020 09:37:16 -0000
@@ -33,7 +33,7 @@
 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
Index: dev/fdt/com_fdt.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/com_fdt.c,v
retrieving revision 1.3
diff -u -p -r1.3 com_fdt.c
--- dev/fdt/com_fdt.c 6 Aug 2018 10:52:30 -0000 1.3
+++ dev/fdt/com_fdt.c 13 Feb 2020 09:37:16 -0000
@@ -39,7 +39,7 @@ int com_fdt_match(struct device *, void
 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
 };
 
Index: dev/fdt/dwdog.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/dwdog.c,v
retrieving revision 1.2
diff -u -p -r1.2 dwdog.c
--- dev/fdt/dwdog.c 29 Aug 2019 11:51:48 -0000 1.2
+++ dev/fdt/dwdog.c 13 Feb 2020 09:37:16 -0000
@@ -56,7 +56,7 @@ struct dwdog_softc {
 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
 };
 
Index: dev/fdt/dwmmc.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/dwmmc.c,v
retrieving revision 1.23
diff -u -p -r1.23 dwmmc.c
--- dev/fdt/dwmmc.c 22 Jan 2020 11:56:41 -0000 1.23
+++ dev/fdt/dwmmc.c 13 Feb 2020 09:37:16 -0000
@@ -221,7 +221,7 @@ struct dwmmc_softc {
 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
 };
 
Index: dev/fdt/dwpcie.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/dwpcie.c,v
retrieving revision 1.15
diff -u -p -r1.15 dwpcie.c
--- dev/fdt/dwpcie.c 26 Aug 2019 11:24:03 -0000 1.15
+++ dev/fdt/dwpcie.c 13 Feb 2020 09:37:16 -0000
@@ -185,7 +185,7 @@ struct dwpcie_softc {
 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
 };
 
Index: dev/fdt/ehci_fdt.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/ehci_fdt.c,v
retrieving revision 1.6
diff -u -p -r1.6 ehci_fdt.c
--- dev/fdt/ehci_fdt.c 11 Aug 2019 11:16:05 -0000 1.6
+++ dev/fdt/ehci_fdt.c 13 Feb 2020 09:37:16 -0000
@@ -50,7 +50,7 @@ int ehci_fdt_match(struct device *, void
 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
 };
Index: dev/fdt/exrtc.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/exrtc.c,v
retrieving revision 1.3
diff -u -p -r1.3 exrtc.c
--- dev/fdt/exrtc.c 29 Aug 2019 11:51:48 -0000 1.3
+++ dev/fdt/exrtc.c 13 Feb 2020 09:37:16 -0000
@@ -55,7 +55,7 @@ struct exrtc_softc {
 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
 };
 
Index: dev/fdt/fanpwr.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/fanpwr.c,v
retrieving revision 1.3
diff -u -p -r1.3 fanpwr.c
--- dev/fdt/fanpwr.c 24 May 2019 18:54:12 -0000 1.3
+++ dev/fdt/fanpwr.c 13 Feb 2020 09:37:16 -0000
@@ -60,7 +60,7 @@ struct fanpwr_softc {
 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
 };
 
Index: dev/fdt/fusbtc.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/fusbtc.c,v
retrieving revision 1.1
diff -u -p -r1.1 fusbtc.c
--- dev/fdt/fusbtc.c 11 May 2019 14:43:27 -0000 1.1
+++ dev/fdt/fusbtc.c 13 Feb 2020 09:37:16 -0000
@@ -234,7 +234,7 @@ void fusbtc_clr_reg(struct fusbtc_softc
 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,
Index: dev/fdt/hiclock.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/hiclock.c,v
retrieving revision 1.2
diff -u -p -r1.2 hiclock.c
--- dev/fdt/hiclock.c 22 Apr 2019 12:43:13 -0000 1.2
+++ dev/fdt/hiclock.c 13 Feb 2020 09:37:16 -0000
@@ -52,7 +52,7 @@ struct hiclock_softc {
 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
 };
 
Index: dev/fdt/hidwusb.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/hidwusb.c,v
retrieving revision 1.2
diff -u -p -r1.2 hidwusb.c
--- dev/fdt/hidwusb.c 29 Aug 2019 11:51:48 -0000 1.2
+++ dev/fdt/hidwusb.c 13 Feb 2020 09:37:16 -0000
@@ -43,7 +43,7 @@ struct hidwusb_softc {
 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
 };
 
Index: dev/fdt/hireset.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/hireset.c,v
retrieving revision 1.1
diff -u -p -r1.1 hireset.c
--- dev/fdt/hireset.c 27 Aug 2018 14:12:59 -0000 1.1
+++ dev/fdt/hireset.c 13 Feb 2020 09:37:16 -0000
@@ -38,7 +38,7 @@ struct hireset_softc {
 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
 };
 
Index: dev/fdt/hitemp.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/hitemp.c,v
retrieving revision 1.1
diff -u -p -r1.1 hitemp.c
--- dev/fdt/hitemp.c 27 Aug 2018 21:09:47 -0000 1.1
+++ dev/fdt/hitemp.c 13 Feb 2020 09:37:16 -0000
@@ -54,7 +54,7 @@ struct hitemp_softc {
 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
 };
 
Index: dev/fdt/if_dwge.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/if_dwge.c,v
retrieving revision 1.2
diff -u -p -r1.2 if_dwge.c
--- dev/fdt/if_dwge.c 7 Oct 2019 00:40:04 -0000 1.2
+++ dev/fdt/if_dwge.c 13 Feb 2020 09:37:16 -0000
@@ -260,7 +260,7 @@ void dwge_attach(struct device *, struct
 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
 };
 
Index: dev/fdt/if_dwxe.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/if_dwxe.c,v
retrieving revision 1.15
diff -u -p -r1.15 if_dwxe.c
--- dev/fdt/if_dwxe.c 7 Oct 2019 00:40:04 -0000 1.15
+++ dev/fdt/if_dwxe.c 13 Feb 2020 09:37:16 -0000
@@ -310,7 +310,7 @@ void dwxe_attach(struct device *, struct
 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
 };
 
Index: dev/fdt/if_fec.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/if_fec.c,v
retrieving revision 1.8
diff -u -p -r1.8 if_fec.c
--- dev/fdt/if_fec.c 6 Feb 2019 22:59:06 -0000 1.8
+++ dev/fdt/if_fec.c 13 Feb 2020 09:37:16 -0000
@@ -269,7 +269,7 @@ void fec_dmamem_free(struct fec_softc *,
 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
 };
 
Index: dev/fdt/if_mvneta.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/if_mvneta.c,v
retrieving revision 1.8
diff -u -p -r1.8 if_mvneta.c
--- dev/fdt/if_mvneta.c 7 Sep 2019 13:33:00 -0000 1.8
+++ dev/fdt/if_mvneta.c 13 Feb 2020 09:37:16 -0000
@@ -212,7 +212,7 @@ struct cfdriver mvneta_cd = {
  NULL, "mvneta", DV_IFNET
 };
 
-struct cfattach mvneta_ca = {
+const struct cfattach mvneta_ca = {
  sizeof (struct mvneta_softc), mvneta_match, mvneta_attach,
 };
 
Index: dev/fdt/imxanatop.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/imxanatop.c,v
retrieving revision 1.5
diff -u -p -r1.5 imxanatop.c
--- dev/fdt/imxanatop.c 30 Aug 2018 12:14:30 -0000 1.5
+++ dev/fdt/imxanatop.c 13 Feb 2020 09:37:16 -0000
@@ -125,7 +125,7 @@ struct imxanatop_regulator {
 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
 };
 
Index: dev/fdt/imxccm.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/imxccm.c,v
retrieving revision 1.15
diff -u -p -r1.15 imxccm.c
--- dev/fdt/imxccm.c 1 Apr 2019 08:49:35 -0000 1.15
+++ dev/fdt/imxccm.c 13 Feb 2020 09:37:16 -0000
@@ -211,7 +211,7 @@ struct imxccm_softc {
 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
 };
 
Index: dev/fdt/imxesdhc.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/imxesdhc.c,v
retrieving revision 1.12
diff -u -p -r1.12 imxesdhc.c
--- dev/fdt/imxesdhc.c 13 Jan 2020 13:30:00 -0000 1.12
+++ dev/fdt/imxesdhc.c 13 Feb 2020 09:37:16 -0000
@@ -276,7 +276,7 @@ struct cfdriver imxesdhc_cd = {
  NULL, "imxesdhc", DV_DULL
 };
 
-struct cfattach imxesdhc_ca = {
+const struct cfattach imxesdhc_ca = {
  sizeof(struct imxesdhc_softc), imxesdhc_match, imxesdhc_attach
 };
 
Index: dev/fdt/imxgpc.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/imxgpc.c,v
retrieving revision 1.5
diff -u -p -r1.5 imxgpc.c
--- dev/fdt/imxgpc.c 1 Apr 2019 08:40:37 -0000 1.5
+++ dev/fdt/imxgpc.c 13 Feb 2020 09:37:16 -0000
@@ -43,7 +43,7 @@ int imxgpc_match(struct device *, void *
 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
 };
 
Index: dev/fdt/imxgpio.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/imxgpio.c,v
retrieving revision 1.3
diff -u -p -r1.3 imxgpio.c
--- dev/fdt/imxgpio.c 8 Aug 2018 11:06:47 -0000 1.3
+++ dev/fdt/imxgpio.c 13 Feb 2020 09:37:16 -0000
@@ -86,7 +86,7 @@ void imxgpio_intr_enable(void *);
 void imxgpio_intr_disable(void *);
 
 
-struct cfattach imxgpio_ca = {
+const struct cfattach imxgpio_ca = {
  sizeof (struct imxgpio_softc), imxgpio_match, imxgpio_attach
 };
 
Index: dev/fdt/imxiic.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/imxiic.c,v
retrieving revision 1.8
diff -u -p -r1.8 imxiic.c
--- dev/fdt/imxiic.c 13 Jan 2020 13:28:40 -0000 1.8
+++ dev/fdt/imxiic.c 13 Feb 2020 09:37:16 -0000
@@ -90,7 +90,7 @@ int imxiic_i2c_exec(void *, i2c_op_t, i2
 
 void imxiic_scan(struct device *, struct i2cbus_attach_args *, void *);
 
-struct cfattach imxiic_ca = {
+const struct cfattach imxiic_ca = {
  sizeof(struct imxiic_softc), imxiic_match, imxiic_attach,
  imxiic_detach
 };
Index: dev/fdt/imxiomuxc.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/imxiomuxc.c,v
retrieving revision 1.4
diff -u -p -r1.4 imxiomuxc.c
--- dev/fdt/imxiomuxc.c 23 Jul 2018 19:13:54 -0000 1.4
+++ dev/fdt/imxiomuxc.c 13 Feb 2020 09:37:16 -0000
@@ -49,7 +49,7 @@ struct imxiomuxc_softc *imxiomuxc_sc;
 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
 };
 
Index: dev/fdt/imxrtc.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/imxrtc.c,v
retrieving revision 1.1
diff -u -p -r1.1 imxrtc.c
--- dev/fdt/imxrtc.c 16 Jun 2018 14:11:35 -0000 1.1
+++ dev/fdt/imxrtc.c 13 Feb 2020 09:37:16 -0000
@@ -53,7 +53,7 @@ struct imxrtc_softc {
 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
 };
 
Index: dev/fdt/imxspi.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/imxspi.c,v
retrieving revision 1.1
diff -u -p -r1.1 imxspi.c
--- dev/fdt/imxspi.c 26 Jul 2018 10:59:07 -0000 1.1
+++ dev/fdt/imxspi.c 13 Feb 2020 09:37:16 -0000
@@ -127,7 +127,7 @@ void imxspi_scan(struct imxspi_softc *)
 #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
 };
Index: dev/fdt/imxsrc.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/imxsrc.c,v
retrieving revision 1.4
diff -u -p -r1.4 imxsrc.c
--- dev/fdt/imxsrc.c 27 Oct 2019 19:19:10 -0000 1.4
+++ dev/fdt/imxsrc.c 13 Feb 2020 09:37:16 -0000
@@ -111,7 +111,7 @@ int imxsrc_match(struct device *, void *
 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
 };
 
Index: dev/fdt/imxtmu.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/imxtmu.c,v
retrieving revision 1.1
diff -u -p -r1.1 imxtmu.c
--- dev/fdt/imxtmu.c 27 Aug 2019 12:51:57 -0000 1.1
+++ dev/fdt/imxtmu.c 13 Feb 2020 09:37:16 -0000
@@ -68,7 +68,7 @@ int imxtmu_match(struct device *, void *
 void imxtmu_attach(struct device *, struct device *, void *);
 void imxtmu_refresh_sensors(void *);
 
-struct cfattach imxtmu_ca = {
+const struct cfattach imxtmu_ca = {
  sizeof(struct imxtmu_softc), imxtmu_match, imxtmu_attach
 };
 
Index: dev/fdt/imxuart.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/imxuart.c,v
retrieving revision 1.8
diff -u -p -r1.8 imxuart.c
--- dev/fdt/imxuart.c 19 Jul 2019 00:17:15 -0000 1.8
+++ dev/fdt/imxuart.c 13 Feb 2020 09:37:16 -0000
@@ -116,7 +116,7 @@ struct cfdriver imxuart_cd = {
  NULL, "imxuart", DV_TTY
 };
 
-struct cfattach imxuart_ca = {
+const struct cfattach imxuart_ca = {
  sizeof(struct imxuart_softc), imxuart_match, imxuart_attach
 };
 
Index: dev/fdt/moxtet.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/moxtet.c,v
retrieving revision 1.1
diff -u -p -r1.1 moxtet.c
--- dev/fdt/moxtet.c 7 Oct 2019 19:35:07 -0000 1.1
+++ dev/fdt/moxtet.c 13 Feb 2020 09:37:16 -0000
@@ -56,7 +56,7 @@ int moxtet_detach(struct device *, int)
 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
 };
 
Index: dev/fdt/mvclock.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/mvclock.c,v
retrieving revision 1.5
diff -u -p -r1.5 mvclock.c
--- dev/fdt/mvclock.c 7 Oct 2019 19:28:43 -0000 1.5
+++ dev/fdt/mvclock.c 13 Feb 2020 09:37:16 -0000
@@ -48,7 +48,7 @@ struct mvclock_softc {
 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
 };
 
Index: dev/fdt/mvdog.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/mvdog.c,v
retrieving revision 1.1
diff -u -p -r1.1 mvdog.c
--- dev/fdt/mvdog.c 5 Sep 2019 18:38:30 -0000 1.1
+++ dev/fdt/mvdog.c 13 Feb 2020 09:37:16 -0000
@@ -52,7 +52,7 @@ struct mvdog_softc {
 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
 };
 
Index: dev/fdt/mvgicp.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/mvgicp.c,v
retrieving revision 1.1
diff -u -p -r1.1 mvgicp.c
--- dev/fdt/mvgicp.c 3 Feb 2019 14:03:36 -0000 1.1
+++ dev/fdt/mvgicp.c 13 Feb 2020 09:37:16 -0000
@@ -51,7 +51,7 @@ void * mvgicp_intr_establish(void *, uin
     int, int (*)(void *), void *, char *);
 void mvgicp_intr_disestablish(void *);
 
-struct cfattach mvgicp_ca = {
+const struct cfattach mvgicp_ca = {
  sizeof(struct mvgicp_softc), mvgicp_match, mvgicp_attach
 };
 
Index: dev/fdt/mvgpio.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/mvgpio.c,v
retrieving revision 1.1
diff -u -p -r1.1 mvgpio.c
--- dev/fdt/mvgpio.c 20 Mar 2018 21:23:38 -0000 1.1
+++ dev/fdt/mvgpio.c 13 Feb 2020 09:37:16 -0000
@@ -54,7 +54,7 @@ struct mvgpio_softc {
 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
 };
 
Index: dev/fdt/mvicu.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/mvicu.c,v
retrieving revision 1.4
diff -u -p -r1.4 mvicu.c
--- dev/fdt/mvicu.c 3 Feb 2019 14:03:36 -0000 1.4
+++ dev/fdt/mvicu.c 13 Feb 2020 09:37:16 -0000
@@ -84,7 +84,7 @@ struct mvicu_softc {
 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
 };
 
Index: dev/fdt/mviic.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/mviic.c,v
retrieving revision 1.2
diff -u -p -r1.2 mviic.c
--- dev/fdt/mviic.c 7 Sep 2019 13:27:40 -0000 1.2
+++ dev/fdt/mviic.c 13 Feb 2020 09:37:16 -0000
@@ -90,7 +90,7 @@ void mviic_bus_scan(struct device *, str
 #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
 };
 
Index: dev/fdt/mvmdio.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/mvmdio.c,v
retrieving revision 1.1
diff -u -p -r1.1 mvmdio.c
--- dev/fdt/mvmdio.c 25 Aug 2017 20:09:34 -0000 1.1
+++ dev/fdt/mvmdio.c 13 Feb 2020 09:37:16 -0000
@@ -70,7 +70,7 @@ struct cfdriver mvmdio_cd = {
  NULL, "mvmdio", DV_DULL
 };
 
-struct cfattach mvmdio_ca = {
+const struct cfattach mvmdio_ca = {
  sizeof (struct mvmdio_softc), mvmdio_match, mvmdio_attach,
 };
 
Index: dev/fdt/mvpinctrl.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/mvpinctrl.c,v
retrieving revision 1.6
diff -u -p -r1.6 mvpinctrl.c
--- dev/fdt/mvpinctrl.c 30 Apr 2019 20:06:32 -0000 1.6
+++ dev/fdt/mvpinctrl.c 13 Feb 2020 09:37:16 -0000
@@ -70,7 +70,7 @@ void mvpinctrl_config_pin(void *, uint32
 int mvpinctrl_get_pin(void *, uint32_t *);
 void mvpinctrl_set_pin(void *, uint32_t *, int);
 
-struct cfattach mvpinctrl_ca = {
+const struct cfattach mvpinctrl_ca = {
  sizeof (struct mvpinctrl_softc), mvpinctrl_match, mvpinctrl_attach
 };
 
Index: dev/fdt/mvrng.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/mvrng.c,v
retrieving revision 1.2
diff -u -p -r1.2 mvrng.c
--- dev/fdt/mvrng.c 28 Apr 2018 15:44:59 -0000 1.2
+++ dev/fdt/mvrng.c 13 Feb 2020 09:37:16 -0000
@@ -66,7 +66,7 @@ struct mvrng_softc {
 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
 };
 
Index: dev/fdt/mvrtc.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/mvrtc.c,v
retrieving revision 1.1
diff -u -p -r1.1 mvrtc.c
--- dev/fdt/mvrtc.c 29 Mar 2018 18:20:52 -0000 1.1
+++ dev/fdt/mvrtc.c 13 Feb 2020 09:37:16 -0000
@@ -60,7 +60,7 @@ struct mvrtc_softc {
 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
 };
 
Index: dev/fdt/mvspi.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/mvspi.c,v
retrieving revision 1.1
diff -u -p -r1.1 mvspi.c
--- dev/fdt/mvspi.c 7 Oct 2019 19:30:12 -0000 1.1
+++ dev/fdt/mvspi.c 13 Feb 2020 09:37:16 -0000
@@ -86,7 +86,7 @@ void mvspi_scan(struct mvspi_softc *);
 #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
 };
 
Index: dev/fdt/mvtemp.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/mvtemp.c,v
retrieving revision 1.1
diff -u -p -r1.1 mvtemp.c
--- dev/fdt/mvtemp.c 31 Mar 2018 16:35:15 -0000 1.1
+++ dev/fdt/mvtemp.c 13 Feb 2020 09:37:16 -0000
@@ -50,7 +50,7 @@ struct mvtemp_softc {
 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
 };
 
Index: dev/fdt/mvuart.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/mvuart.c,v
retrieving revision 1.2
diff -u -p -r1.2 mvuart.c
--- dev/fdt/mvuart.c 19 Jul 2019 00:17:15 -0000 1.2
+++ dev/fdt/mvuart.c 13 Feb 2020 09:37:16 -0000
@@ -117,7 +117,7 @@ struct cfdriver mvuart_cd = {
  NULL, "mvuart", DV_TTY
 };
 
-struct cfattach mvuart_ca = {
+const struct cfattach mvuart_ca = {
  sizeof(struct mvuart_softc), mvuart_match, mvuart_attach
 };
 
Index: dev/fdt/ohci_fdt.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/ohci_fdt.c,v
retrieving revision 1.2
diff -u -p -r1.2 ohci_fdt.c
--- dev/fdt/ohci_fdt.c 7 Jan 2019 03:41:06 -0000 1.2
+++ dev/fdt/ohci_fdt.c 13 Feb 2020 09:37:16 -0000
@@ -50,7 +50,7 @@ int ohci_fdt_match(struct device *, void
 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,
Index: dev/fdt/pinctrl.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/pinctrl.c,v
retrieving revision 1.3
diff -u -p -r1.3 pinctrl.c
--- dev/fdt/pinctrl.c 23 Apr 2019 18:32:26 -0000 1.3
+++ dev/fdt/pinctrl.c 13 Feb 2020 09:37:16 -0000
@@ -50,7 +50,7 @@ struct pinctrl_softc {
 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
 };
 
Index: dev/fdt/plgpio.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/plgpio.c,v
retrieving revision 1.1
diff -u -p -r1.1 plgpio.c
--- dev/fdt/plgpio.c 26 Aug 2018 16:52:16 -0000 1.1
+++ dev/fdt/plgpio.c 13 Feb 2020 09:37:16 -0000
@@ -51,7 +51,7 @@ struct plgpio_softc {
 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
 };
 
Index: dev/fdt/plrtc.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/plrtc.c,v
retrieving revision 1.1
diff -u -p -r1.1 plrtc.c
--- dev/fdt/plrtc.c 25 Jan 2017 10:14:40 -0000 1.1
+++ dev/fdt/plrtc.c 13 Feb 2020 09:37:16 -0000
@@ -53,7 +53,7 @@ int plrtc_gettime(struct todr_chip_handl
 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
 };
 
Index: dev/fdt/pluart_fdt.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/pluart_fdt.c,v
retrieving revision 1.3
diff -u -p -r1.3 pluart_fdt.c
--- dev/fdt/pluart_fdt.c 22 Apr 2019 10:18:20 -0000 1.3
+++ dev/fdt/pluart_fdt.c 13 Feb 2020 09:37:16 -0000
@@ -32,7 +32,7 @@
 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
 };
 
Index: dev/fdt/psci.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/psci.c,v
retrieving revision 1.8
diff -u -p -r1.8 psci.c
--- dev/fdt/psci.c 23 May 2018 09:12:34 -0000 1.8
+++ dev/fdt/psci.c 13 Feb 2020 09:37:16 -0000
@@ -73,7 +73,7 @@ int32_t smccc_arch_features(uint32_t);
 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
 };
 
Index: dev/fdt/pwmbl.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/pwmbl.c,v
retrieving revision 1.4
diff -u -p -r1.4 pwmbl.c
--- dev/fdt/pwmbl.c 28 Jan 2020 14:09:31 -0000 1.4
+++ dev/fdt/pwmbl.c 13 Feb 2020 09:37:16 -0000
@@ -46,7 +46,7 @@ struct pwmbl_softc *sc_pwmbl;
 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
 };
 
Index: dev/fdt/pwmfan.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/pwmfan.c,v
retrieving revision 1.1
diff -u -p -r1.1 pwmfan.c
--- dev/fdt/pwmfan.c 3 Dec 2019 09:12:45 -0000 1.1
+++ dev/fdt/pwmfan.c 13 Feb 2020 09:37:16 -0000
@@ -44,7 +44,7 @@ struct pwmfan_softc {
 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
 };
 
Index: dev/fdt/pwmreg.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/pwmreg.c,v
retrieving revision 1.1
diff -u -p -r1.1 pwmreg.c
--- dev/fdt/pwmreg.c 30 Sep 2019 20:44:13 -0000 1.1
+++ dev/fdt/pwmreg.c 13 Feb 2020 09:37:16 -0000
@@ -41,7 +41,7 @@ struct pwmreg_softc {
 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
 };
 
Index: dev/fdt/rkclock.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/rkclock.c,v
retrieving revision 1.50
diff -u -p -r1.50 rkclock.c
--- dev/fdt/rkclock.c 10 Feb 2020 12:41:34 -0000 1.50
+++ dev/fdt/rkclock.c 13 Feb 2020 09:37:16 -0000
@@ -178,7 +178,7 @@ struct rkclock_softc {
 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
 };
 
Index: dev/fdt/rkdwusb.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/rkdwusb.c,v
retrieving revision 1.3
diff -u -p -r1.3 rkdwusb.c
--- dev/fdt/rkdwusb.c 29 Aug 2019 11:51:48 -0000 1.3
+++ dev/fdt/rkdwusb.c 13 Feb 2020 09:37:16 -0000
@@ -35,7 +35,7 @@ struct rkdwusb_softc {
 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
 };
 
Index: dev/fdt/rkemmcphy.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/rkemmcphy.c,v
retrieving revision 1.2
diff -u -p -r1.2 rkemmcphy.c
--- dev/fdt/rkemmcphy.c 11 Jan 2020 10:32:16 -0000 1.2
+++ dev/fdt/rkemmcphy.c 13 Feb 2020 09:37:16 -0000
@@ -75,7 +75,7 @@ struct rkemmcphy_softc {
 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
 };
 
Index: dev/fdt/rkgpio.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/rkgpio.c,v
retrieving revision 1.2
diff -u -p -r1.2 rkgpio.c
--- dev/fdt/rkgpio.c 11 May 2019 14:56:12 -0000 1.2
+++ dev/fdt/rkgpio.c 13 Feb 2020 09:37:16 -0000
@@ -83,7 +83,7 @@ struct rkgpio_softc {
 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
 };
 
Index: dev/fdt/rkgrf.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/rkgrf.c,v
retrieving revision 1.3
diff -u -p -r1.3 rkgrf.c
--- dev/fdt/rkgrf.c 29 Nov 2019 21:59:55 -0000 1.3
+++ dev/fdt/rkgrf.c 13 Feb 2020 09:37:16 -0000
@@ -42,7 +42,7 @@ struct rkgrf_softc {
 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
 };
 
Index: dev/fdt/rkiic.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/rkiic.c,v
retrieving revision 1.4
diff -u -p -r1.4 rkiic.c
--- dev/fdt/rkiic.c 31 Dec 2018 21:59:44 -0000 1.4
+++ dev/fdt/rkiic.c 13 Feb 2020 09:37:16 -0000
@@ -86,7 +86,7 @@ struct rkiic_softc {
 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
 };
 
Index: dev/fdt/rkpcie.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/rkpcie.c,v
retrieving revision 1.9
diff -u -p -r1.9 rkpcie.c
--- dev/fdt/rkpcie.c 14 Dec 2019 17:42:48 -0000 1.9
+++ dev/fdt/rkpcie.c 13 Feb 2020 09:37:16 -0000
@@ -112,7 +112,7 @@ struct rkpcie_softc {
 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
 };
 
Index: dev/fdt/rkpinctrl.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/rkpinctrl.c,v
retrieving revision 1.5
diff -u -p -r1.5 rkpinctrl.c
--- dev/fdt/rkpinctrl.c 25 Feb 2018 13:26:44 -0000 1.5
+++ dev/fdt/rkpinctrl.c 13 Feb 2020 09:37:16 -0000
@@ -56,7 +56,7 @@ struct rkpinctrl_softc {
 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
 };
 
Index: dev/fdt/rkpmic.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/rkpmic.c,v
retrieving revision 1.6
diff -u -p -r1.6 rkpmic.c
--- dev/fdt/rkpmic.c 31 Jul 2018 10:09:25 -0000 1.6
+++ dev/fdt/rkpmic.c 13 Feb 2020 09:37:16 -0000
@@ -87,7 +87,7 @@ struct rkpmic_softc {
 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
 };
 
Index: dev/fdt/rkpwm.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/rkpwm.c,v
retrieving revision 1.1
diff -u -p -r1.1 rkpwm.c
--- dev/fdt/rkpwm.c 3 Dec 2019 09:08:48 -0000 1.1
+++ dev/fdt/rkpwm.c 13 Feb 2020 09:37:16 -0000
@@ -62,7 +62,7 @@ struct rkpwm_softc {
 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
 };
 
Index: dev/fdt/rktemp.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/rktemp.c,v
retrieving revision 1.5
diff -u -p -r1.5 rktemp.c
--- dev/fdt/rktemp.c 2 Jul 2019 20:14:44 -0000 1.5
+++ dev/fdt/rktemp.c 13 Feb 2020 09:37:16 -0000
@@ -213,7 +213,7 @@ struct rktemp_softc {
 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
 };
 
Index: dev/fdt/sdhc_fdt.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/sdhc_fdt.c,v
retrieving revision 1.4
diff -u -p -r1.4 sdhc_fdt.c
--- dev/fdt/sdhc_fdt.c 29 Nov 2019 22:02:16 -0000 1.4
+++ dev/fdt/sdhc_fdt.c 13 Feb 2020 09:37:16 -0000
@@ -55,7 +55,7 @@ struct sdhc_fdt_softc {
 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
 };
 
Index: dev/fdt/sfp.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/sfp.c,v
retrieving revision 1.1
diff -u -p -r1.1 sfp.c
--- dev/fdt/sfp.c 7 Sep 2019 13:32:36 -0000 1.1
+++ dev/fdt/sfp.c 13 Feb 2020 09:37:16 -0000
@@ -44,7 +44,7 @@ int sfp_detach(struct device *, 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,
 };
 
Index: dev/fdt/simplefb.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/simplefb.c,v
retrieving revision 1.8
diff -u -p -r1.8 simplefb.c
--- dev/fdt/simplefb.c 22 Jan 2020 05:25:05 -0000 1.8
+++ dev/fdt/simplefb.c 13 Feb 2020 09:37:16 -0000
@@ -79,7 +79,7 @@ struct wsdisplay_charcell simplefb_bs[SI
 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
 };
 
Index: dev/fdt/simplepanel.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/simplepanel.c,v
retrieving revision 1.1
diff -u -p -r1.1 simplepanel.c
--- dev/fdt/simplepanel.c 26 Jan 2020 06:20:30 -0000 1.1
+++ dev/fdt/simplepanel.c 13 Feb 2020 09:37:16 -0000
@@ -31,7 +31,7 @@
 int simplepanel_match(struct device *, void *, void *);
 void simplepanel_attach(struct device *, struct device *, void *);
 
-struct cfattach simplepanel_ca = {
+const struct cfattach simplepanel_ca = {
  sizeof (struct device), simplepanel_match, simplepanel_attach
 };
 
Index: dev/fdt/ssdfb.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/ssdfb.c,v
retrieving revision 1.10
diff -u -p -r1.10 ssdfb.c
--- dev/fdt/ssdfb.c 22 Feb 2019 09:39:33 -0000 1.10
+++ dev/fdt/ssdfb.c 13 Feb 2020 09:37:16 -0000
@@ -143,14 +143,14 @@ int ssdfb_copyrows(void *, int, int, in
 int ssdfb_eraserows(void *, int, int, long);
 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,
Index: dev/fdt/sxiccmu.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/sxiccmu.c,v
retrieving revision 1.26
diff -u -p -r1.26 sxiccmu.c
--- dev/fdt/sxiccmu.c 21 Sep 2019 15:01:26 -0000 1.26
+++ dev/fdt/sxiccmu.c 13 Feb 2020 09:37:16 -0000
@@ -75,7 +75,7 @@ struct sxiccmu_softc {
 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
 };
 
Index: dev/fdt/sxidog.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/sxidog.c,v
retrieving revision 1.2
diff -u -p -r1.2 sxidog.c
--- dev/fdt/sxidog.c 17 Oct 2019 22:26:32 -0000 1.2
+++ dev/fdt/sxidog.c 13 Feb 2020 09:37:16 -0000
@@ -65,7 +65,7 @@ int sxidog_activate(struct device *, int
 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
 };
Index: dev/fdt/sximmc.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/sximmc.c,v
retrieving revision 1.11
diff -u -p -r1.11 sximmc.c
--- dev/fdt/sximmc.c 11 Jan 2020 01:18:29 -0000 1.11
+++ dev/fdt/sximmc.c 13 Feb 2020 09:37:16 -0000
@@ -277,7 +277,7 @@ struct cfdriver sximmc_cd = {
  NULL, "sximmc", DV_DULL
 };
 
-struct cfattach sximmc_ca = {
+const struct cfattach sximmc_ca = {
  sizeof(struct sximmc_softc), sximmc_match, sximmc_attach
 };
 
Index: dev/fdt/sxipio.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/sxipio.c,v
retrieving revision 1.11
diff -u -p -r1.11 sxipio.c
--- dev/fdt/sxipio.c 5 Sep 2019 12:00:09 -0000 1.11
+++ dev/fdt/sxipio.c 13 Feb 2020 09:37:16 -0000
@@ -94,7 +94,7 @@ struct sxipio_softc {
 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
 };
 
Index: dev/fdt/sxipwm.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/sxipwm.c,v
retrieving revision 1.1
diff -u -p -r1.1 sxipwm.c
--- dev/fdt/sxipwm.c 21 Oct 2019 20:52:33 -0000 1.1
+++ dev/fdt/sxipwm.c 13 Feb 2020 09:37:16 -0000
@@ -79,7 +79,7 @@ struct sxipwm_softc {
 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
 };
 
Index: dev/fdt/sxirsb.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/sxirsb.c,v
retrieving revision 1.3
diff -u -p -r1.3 sxirsb.c
--- dev/fdt/sxirsb.c 29 Aug 2019 11:51:48 -0000 1.3
+++ dev/fdt/sxirsb.c 13 Feb 2020 09:37:16 -0000
@@ -77,7 +77,7 @@ struct sxirsb_softc {
 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
 };
 
Index: dev/fdt/sxirtc.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/sxirtc.c,v
retrieving revision 1.4
diff -u -p -r1.4 sxirtc.c
--- dev/fdt/sxirtc.c 11 Aug 2019 14:46:18 -0000 1.4
+++ dev/fdt/sxirtc.c 13 Feb 2020 09:37:16 -0000
@@ -66,7 +66,7 @@ struct sxirtc_softc {
 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
 };
 
Index: dev/fdt/sxisid.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/sxisid.c,v
retrieving revision 1.2
diff -u -p -r1.2 sxisid.c
--- dev/fdt/sxisid.c 23 Jan 2020 03:27:56 -0000 1.2
+++ dev/fdt/sxisid.c 13 Feb 2020 09:37:16 -0000
@@ -54,7 +54,7 @@ struct sxisid_softc {
 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
 };
 
Index: dev/fdt/sxisyscon.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/sxisyscon.c,v
retrieving revision 1.1
diff -u -p -r1.1 sxisyscon.c
--- dev/fdt/sxisyscon.c 11 Aug 2019 11:19:41 -0000 1.1
+++ dev/fdt/sxisyscon.c 13 Feb 2020 09:37:16 -0000
@@ -35,7 +35,7 @@ struct sxisyscon_softc {
 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
 };
 
Index: dev/fdt/sxitemp.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/sxitemp.c,v
retrieving revision 1.7
diff -u -p -r1.7 sxitemp.c
--- dev/fdt/sxitemp.c 23 Jan 2020 23:10:04 -0000 1.7
+++ dev/fdt/sxitemp.c 13 Feb 2020 09:37:16 -0000
@@ -82,7 +82,7 @@ struct sxitemp_softc {
 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
 };
 
Index: dev/fdt/sxits.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/sxits.c,v
retrieving revision 1.2
diff -u -p -r1.2 sxits.c
--- dev/fdt/sxits.c 21 Sep 2019 15:55:29 -0000 1.2
+++ dev/fdt/sxits.c 13 Feb 2020 09:37:16 -0000
@@ -65,7 +65,7 @@ struct sxits_softc {
 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
 };
 
Index: dev/fdt/sxitwi.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/sxitwi.c,v
retrieving revision 1.11
diff -u -p -r1.11 sxitwi.c
--- dev/fdt/sxitwi.c 4 Dec 2018 11:25:48 -0000 1.11
+++ dev/fdt/sxitwi.c 13 Feb 2020 09:37:16 -0000
@@ -159,7 +159,7 @@ struct cfdriver sxitwi_cd = {
  NULL, "sxitwi", DV_DULL
 };
 
-struct cfattach sxitwi_ca = {
+const struct cfattach sxitwi_ca = {
  sizeof(struct sxitwi_softc), sxitwi_match, sxitwi_attach
 };
 
Index: dev/fdt/sypwr.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/sypwr.c,v
retrieving revision 1.3
diff -u -p -r1.3 sypwr.c
--- dev/fdt/sypwr.c 29 Sep 2019 13:27:48 -0000 1.3
+++ dev/fdt/sypwr.c 13 Feb 2020 09:37:16 -0000
@@ -44,7 +44,7 @@ int sypwr_match(struct device *, void *,
 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
 };
Index: dev/fdt/syscon.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/syscon.c,v
retrieving revision 1.4
diff -u -p -r1.4 syscon.c
--- dev/fdt/syscon.c 17 Mar 2018 18:04:15 -0000 1.4
+++ dev/fdt/syscon.c 13 Feb 2020 09:37:16 -0000
@@ -50,7 +50,7 @@ struct syscon_softc *syscon_poweroff_sc;
 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
 };
 
Index: dev/fdt/virtio_mmio.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/virtio_mmio.c,v
retrieving revision 1.8
diff -u -p -r1.8 virtio_mmio.c
--- dev/fdt/virtio_mmio.c 26 May 2019 15:20:04 -0000 1.8
+++ dev/fdt/virtio_mmio.c 13 Feb 2020 09:37:16 -0000
@@ -108,7 +108,7 @@ struct virtio_mmio_softc {
  int sc_config_offset;
 };
 
-struct cfattach virtio_mmio_ca = {
+const struct cfattach virtio_mmio_ca = {
  sizeof(struct virtio_mmio_softc),
  virtio_mmio_match,
  virtio_mmio_attach,
@@ -116,7 +116,7 @@ struct cfattach virtio_mmio_ca = {
  NULL
 };
 
-struct cfattach virtio_mmio_fdt_ca = {
+const struct cfattach virtio_mmio_fdt_ca = {
  sizeof(struct virtio_mmio_softc),
  NULL,
  virtio_mmio_attach,
Index: dev/fdt/xhci_fdt.c
===================================================================
RCS file: /cvs/src/sys/dev/fdt/xhci_fdt.c,v
retrieving revision 1.15
diff -u -p -r1.15 xhci_fdt.c
--- dev/fdt/xhci_fdt.c 29 Aug 2019 20:18:11 -0000 1.15
+++ dev/fdt/xhci_fdt.c 13 Feb 2020 09:37:16 -0000
@@ -48,7 +48,7 @@ struct xhci_fdt_softc {
 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
 };
 
Index: dev/gpio/gpio.c
===================================================================
RCS file: /cvs/src/sys/dev/gpio/gpio.c,v
retrieving revision 1.15
diff -u -p -r1.15 gpio.c
--- dev/gpio/gpio.c 18 Aug 2017 12:15:35 -0000 1.15
+++ dev/gpio/gpio.c 13 Feb 2020 09:37:16 -0000
@@ -54,7 +54,7 @@ int gpio_search(struct device *, void *,
 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,
Index: dev/gpio/gpioiic.c
===================================================================
RCS file: /cvs/src/sys/dev/gpio/gpioiic.c,v
retrieving revision 1.10
diff -u -p -r1.10 gpioiic.c
--- dev/gpio/gpioiic.c 19 Apr 2013 23:44:34 -0000 1.10
+++ dev/gpio/gpioiic.c 13 Feb 2020 09:37:16 -0000
@@ -74,7 +74,7 @@ void gpioiic_bb_set_bits(void *, u_int3
 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,
Index: dev/gpio/gpioow.c
===================================================================
RCS file: /cvs/src/sys/dev/gpio/gpioow.c,v
retrieving revision 1.5
diff -u -p -r1.5 gpioow.c
--- dev/gpio/gpioow.c 3 Jul 2011 15:47:16 -0000 1.5
+++ dev/gpio/gpioow.c 13 Feb 2020 09:37:16 -0000
@@ -59,7 +59,7 @@ void gpioow_bb_tx(void *);
 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,
Index: dev/gpio/gpiosim.c
===================================================================
RCS file: /cvs/src/sys/dev/gpio/gpiosim.c,v
retrieving revision 1.1
diff -u -p -r1.1 gpiosim.c
--- dev/gpio/gpiosim.c 23 Nov 2008 18:46:49 -0000 1.1
+++ dev/gpio/gpiosim.c 13 Feb 2020 09:37:16 -0000
@@ -54,7 +54,7 @@ int gpiosim_pin_read(void *, int);
 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
 };
 
Index: dev/hil/hilid.c
===================================================================
RCS file: /cvs/src/sys/dev/hil/hilid.c,v
retrieving revision 1.4
diff -u -p -r1.4 hilid.c
--- dev/hil/hilid.c 9 Jan 2005 23:49:36 -0000 1.4
+++ dev/hil/hilid.c 13 Feb 2020 09:37:16 -0000
@@ -53,7 +53,7 @@ struct cfdriver hilid_cd = {
  NULL, "hilid", DV_DULL
 };
 
-struct cfattach hilid_ca = {
+const struct cfattach hilid_ca = {
  sizeof(struct hilid_softc), hilidprobe, hilidattach, hiliddetach,
 };
 
Index: dev/hil/hilkbd.c
===================================================================
RCS file: /cvs/src/sys/dev/hil/hilkbd.c,v
retrieving revision 1.17
diff -u -p -r1.17 hilkbd.c
--- dev/hil/hilkbd.c 11 Mar 2017 11:55:03 -0000 1.17
+++ dev/hil/hilkbd.c 13 Feb 2020 09:37:16 -0000
@@ -75,7 +75,7 @@ struct cfdriver hilkbd_cd = {
  NULL, "hilkbd", DV_DULL
 };
 
-struct cfattach hilkbd_ca = {
+const struct cfattach hilkbd_ca = {
  sizeof(struct hilkbd_softc), hilkbdprobe, hilkbdattach, hilkbddetach,
 };
 
Index: dev/hil/hilms.c
===================================================================
RCS file: /cvs/src/sys/dev/hil/hilms.c,v
retrieving revision 1.6
diff -u -p -r1.6 hilms.c
--- dev/hil/hilms.c 5 Jun 2016 20:15:54 -0000 1.6
+++ dev/hil/hilms.c 13 Feb 2020 09:37:16 -0000
@@ -62,7 +62,7 @@ struct cfdriver hilms_cd = {
  NULL, "hilms", DV_DULL
 };
 
-struct cfattach hilms_ca = {
+const struct cfattach hilms_ca = {
  sizeof(struct hilms_softc), hilmsprobe, hilmsattach, hilmsdetach,
 };
 
Index: dev/i2c/abx80x.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/abx80x.c,v
retrieving revision 1.1
diff -u -p -r1.1 abx80x.c
--- dev/i2c/abx80x.c 2 Jan 2019 21:15:47 -0000 1.1
+++ dev/i2c/abx80x.c 13 Feb 2020 09:37:16 -0000
@@ -57,7 +57,7 @@ struct abcrtc_softc {
 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
 };
 
Index: dev/i2c/ad741x.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/ad741x.c,v
retrieving revision 1.14
diff -u -p -r1.14 ad741x.c
--- dev/i2c/ad741x.c 17 Apr 2008 19:01:48 -0000 1.14
+++ dev/i2c/ad741x.c 13 Feb 2020 09:37:16 -0000
@@ -56,7 +56,7 @@ int adc_match(struct device *, void *, v
 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
 };
 
Index: dev/i2c/adm1021.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/adm1021.c,v
retrieving revision 1.28
diff -u -p -r1.28 adm1021.c
--- dev/i2c/adm1021.c 10 Mar 2011 23:14:30 -0000 1.28
+++ dev/i2c/adm1021.c 13 Feb 2020 09:37:16 -0000
@@ -54,7 +54,7 @@ int admtemp_match(struct device *, void
 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
 };
 
Index: dev/i2c/adm1024.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/adm1024.c,v
retrieving revision 1.14
diff -u -p -r1.14 adm1024.c
--- dev/i2c/adm1024.c 24 Jun 2007 05:34:35 -0000 1.14
+++ dev/i2c/adm1024.c 13 Feb 2020 09:37:16 -0000
@@ -71,7 +71,7 @@ int admlc_match(struct device *, void *,
 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
 };
 
Index: dev/i2c/adm1025.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/adm1025.c,v
retrieving revision 1.25
diff -u -p -r1.25 adm1025.c
--- dev/i2c/adm1025.c 24 Jun 2007 05:34:35 -0000 1.25
+++ dev/i2c/adm1025.c 13 Feb 2020 09:37:16 -0000
@@ -71,7 +71,7 @@ int admtm_match(struct device *, void *,
 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
 };
 
Index: dev/i2c/adm1026.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/adm1026.c,v
retrieving revision 1.11
diff -u -p -r1.11 adm1026.c
--- dev/i2c/adm1026.c 9 Jun 2008 16:21:33 -0000 1.11
+++ dev/i2c/adm1026.c 13 Feb 2020 09:37:16 -0000
@@ -87,7 +87,7 @@ int admcts_match(struct device *, void *
 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
 };
 
Index: dev/i2c/adm1030.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/adm1030.c,v
retrieving revision 1.9
diff -u -p -r1.9 adm1030.c
--- dev/i2c/adm1030.c 1 May 2008 23:02:05 -0000 1.9
+++ dev/i2c/adm1030.c 13 Feb 2020 09:37:16 -0000
@@ -50,7 +50,7 @@ int admtmp_match(struct device *, void *
 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
 };
 
Index: dev/i2c/adm1031.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/adm1031.c,v
retrieving revision 1.8
diff -u -p -r1.8 adm1031.c
--- dev/i2c/adm1031.c 24 Jun 2007 05:34:35 -0000 1.8
+++ dev/i2c/adm1031.c 13 Feb 2020 09:37:16 -0000
@@ -55,7 +55,7 @@ int admtt_match(struct device *, void *,
 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
 };
 
Index: dev/i2c/adt7460.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/adt7460.c,v
retrieving revision 1.21
diff -u -p -r1.21 adt7460.c
--- dev/i2c/adt7460.c 12 Dec 2007 16:56:59 -0000 1.21
+++ dev/i2c/adt7460.c 13 Feb 2020 09:37:16 -0000
@@ -130,7 +130,7 @@ void adt_attach(struct device *, struct
 
 void adt_refresh(void *);
 
-struct cfattach adt_ca = {
+const struct cfattach adt_ca = {
  sizeof(struct adt_softc), adt_match, adt_attach
 };
 
Index: dev/i2c/adt7462.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/adt7462.c,v
retrieving revision 1.6
diff -u -p -r1.6 adt7462.c
--- dev/i2c/adt7462.c 23 Apr 2008 11:11:14 -0000 1.6
+++ dev/i2c/adt7462.c 13 Feb 2020 09:37:16 -0000
@@ -77,7 +77,7 @@ int adtfsm_match(struct device *, void *
 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
 };
 
Index: dev/i2c/asb100.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/asb100.c,v
retrieving revision 1.11
diff -u -p -r1.11 asb100.c
--- dev/i2c/asb100.c 17 Apr 2008 19:01:48 -0000 1.11
+++ dev/i2c/asb100.c 13 Feb 2020 09:37:16 -0000
@@ -117,7 +117,7 @@ int asbtm_match(struct device *, void *,
 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
 };
 
Index: dev/i2c/asc7611.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/asc7611.c,v
retrieving revision 1.2
diff -u -p -r1.2 asc7611.c
--- dev/i2c/asc7611.c 26 Jan 2009 15:07:49 -0000 1.2
+++ dev/i2c/asc7611.c 13 Feb 2020 09:37:16 -0000
@@ -84,7 +84,7 @@ uint8_t andl_readreg(struct andl_softc *
 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
 };
 
Index: dev/i2c/asc7621.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/asc7621.c,v
retrieving revision 1.4
diff -u -p -r1.4 asc7621.c
--- dev/i2c/asc7621.c 31 Oct 2007 20:46:17 -0000 1.4
+++ dev/i2c/asc7621.c 13 Feb 2020 09:37:16 -0000
@@ -123,7 +123,7 @@ void adl_attach(struct device *, struct
 
 void adl_refresh(void *);
 
-struct cfattach adl_ca = {
+const struct cfattach adl_ca = {
  sizeof(struct adl_softc), adl_match, adl_attach
 };
 
Index: dev/i2c/bmc150.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/bmc150.c,v
retrieving revision 1.1
diff -u -p -r1.1 bmc150.c
--- dev/i2c/bmc150.c 30 Nov 2017 14:53:21 -0000 1.1
+++ dev/i2c/bmc150.c 13 Feb 2020 09:37:16 -0000
@@ -59,7 +59,7 @@ struct bgw_softc {
 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
 };
 
Index: dev/i2c/ds1307.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/ds1307.c,v
retrieving revision 1.1
diff -u -p -r1.1 ds1307.c
--- dev/i2c/ds1307.c 20 Jun 2016 13:42:42 -0000 1.1
+++ dev/i2c/ds1307.c 13 Feb 2020 09:37:16 -0000
@@ -78,7 +78,7 @@ int maxrtc_setcal(struct todr_chip_handl
 /*
  * Driver glue structures.
  */
-struct cfattach maxrtc_ca = {
+const struct cfattach maxrtc_ca = {
  sizeof(struct maxrtc_softc), maxrtc_match, maxrtc_attach
 };
 
Index: dev/i2c/ds1631.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/ds1631.c,v
retrieving revision 1.12
diff -u -p -r1.12 ds1631.c
--- dev/i2c/ds1631.c 12 May 2016 21:00:23 -0000 1.12
+++ dev/i2c/ds1631.c 13 Feb 2020 09:37:16 -0000
@@ -48,7 +48,7 @@ int maxds_match(struct device *, void *,
 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
 };
 
Index: dev/i2c/fcu.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/fcu.c,v
retrieving revision 1.7
diff -u -p -r1.7 fcu.c
--- dev/i2c/fcu.c 24 Jun 2007 05:34:35 -0000 1.7
+++ dev/i2c/fcu.c 13 Feb 2020 09:37:16 -0000
@@ -59,7 +59,7 @@ void fcu_attach(struct device *, struct
 
 void fcu_refresh(void *);
 
-struct cfattach fcu_ca = {
+const struct cfattach fcu_ca = {
  sizeof(struct fcu_softc), fcu_match, fcu_attach
 };
 
Index: dev/i2c/fintek.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/fintek.c,v
retrieving revision 1.8
diff -u -p -r1.8 fintek.c
--- dev/i2c/fintek.c 12 Oct 2014 19:40:22 -0000 1.8
+++ dev/i2c/fintek.c 13 Feb 2020 09:37:16 -0000
@@ -54,7 +54,7 @@ int fintek_write_reg(struct fintek_softc
     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
 };
 
Index: dev/i2c/gl518sm.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/gl518sm.c,v
retrieving revision 1.6
diff -u -p -r1.6 gl518sm.c
--- dev/i2c/gl518sm.c 24 Jun 2007 05:34:35 -0000 1.6
+++ dev/i2c/gl518sm.c 13 Feb 2020 09:37:16 -0000
@@ -69,7 +69,7 @@ void glenv_attach(struct device *, struc
 
 void glenv_refresh(void *);
 
-struct cfattach glenv_ca = {
+const struct cfattach glenv_ca = {
  sizeof(struct glenv_softc), glenv_match, glenv_attach
 };
 
Index: dev/i2c/i2c.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/i2c.c,v
retrieving revision 1.16
diff -u -p -r1.16 i2c.c
--- dev/i2c/i2c.c 14 Mar 2015 03:38:47 -0000 1.16
+++ dev/i2c/i2c.c 13 Feb 2020 09:37:16 -0000
@@ -56,7 +56,7 @@ int iic_match(struct device *, void *, v
 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
Index: dev/i2c/iatp.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/iatp.c,v
retrieving revision 1.7
diff -u -p -r1.7 iatp.c
--- dev/i2c/iatp.c 9 Jan 2020 14:35:19 -0000 1.7
+++ dev/i2c/iatp.c 13 Feb 2020 09:37:16 -0000
@@ -221,7 +221,7 @@ const struct wsmouse_accessops iatp_acce
  iatp_disable,
 };
 
-struct cfattach iatp_ca = {
+const struct cfattach iatp_ca = {
  sizeof(struct iatp_softc),
  iatp_match,
  iatp_attach,
Index: dev/i2c/ihidev.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/ihidev.c,v
retrieving revision 1.22
diff -u -p -r1.22 ihidev.c
--- dev/i2c/ihidev.c 24 Jan 2020 04:03:11 -0000 1.22
+++ dev/i2c/ihidev.c 13 Feb 2020 09:37:16 -0000
@@ -74,7 +74,7 @@ int ihidev_maxrepid(void *buf, int len);
 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,
Index: dev/i2c/ipmi_i2c.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/ipmi_i2c.c,v
retrieving revision 1.3
diff -u -p -r1.3 ipmi_i2c.c
--- dev/i2c/ipmi_i2c.c 11 Jan 2020 20:41:34 -0000 1.3
+++ dev/i2c/ipmi_i2c.c 13 Feb 2020 09:37:16 -0000
@@ -57,7 +57,7 @@ extern void ipmi_attach(struct device *,
 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
 };
 
Index: dev/i2c/isl1208.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/isl1208.c,v
retrieving revision 1.1
diff -u -p -r1.1 isl1208.c
--- dev/i2c/isl1208.c 7 Apr 2018 18:16:35 -0000 1.1
+++ dev/i2c/isl1208.c 13 Feb 2020 09:37:16 -0000
@@ -58,7 +58,7 @@ struct islrtc_softc {
 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
 };
 
Index: dev/i2c/lis331dl.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/lis331dl.c,v
retrieving revision 1.1
diff -u -p -r1.1 lis331dl.c
--- dev/i2c/lis331dl.c 12 Aug 2009 14:51:20 -0000 1.1
+++ dev/i2c/lis331dl.c 13 Feb 2020 09:37:16 -0000
@@ -59,7 +59,7 @@ uint8_t lisa_readreg(struct lisa_softc *
 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
 };
 
Index: dev/i2c/lm75.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/lm75.c,v
retrieving revision 1.20
diff -u -p -r1.20 lm75.c
--- dev/i2c/lm75.c 30 May 2015 08:39:05 -0000 1.20
+++ dev/i2c/lm75.c 13 Feb 2020 09:37:16 -0000
@@ -69,7 +69,7 @@ struct lmtemp_softc {
 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
Index: dev/i2c/lm78_i2c.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/lm78_i2c.c,v
retrieving revision 1.4
diff -u -p -r1.4 lm78_i2c.c
--- dev/i2c/lm78_i2c.c 14 Mar 2015 03:38:47 -0000 1.4
+++ dev/i2c/lm78_i2c.c 13 Feb 2020 09:37:16 -0000
@@ -35,7 +35,7 @@ void lm_i2c_attach(struct device *, stru
 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
 };
 
Index: dev/i2c/lm87.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/lm87.c,v
retrieving revision 1.20
diff -u -p -r1.20 lm87.c
--- dev/i2c/lm87.c 10 Nov 2008 05:19:48 -0000 1.20
+++ dev/i2c/lm87.c 13 Feb 2020 09:37:16 -0000
@@ -72,7 +72,7 @@ void lmenv_attach(struct device *, struc
 
 void lmenv_refresh(void *);
 
-struct cfattach lmenv_ca = {
+const struct cfattach lmenv_ca = {
  sizeof(struct lmenv_softc), lmenv_match, lmenv_attach
 };
 
Index: dev/i2c/lm93.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/lm93.c,v
retrieving revision 1.8
diff -u -p -r1.8 lm93.c
--- dev/i2c/lm93.c 31 Oct 2007 20:46:17 -0000 1.8
+++ dev/i2c/lm93.c 13 Feb 2020 09:37:16 -0000
@@ -131,7 +131,7 @@ void lmn_attach(struct device *, struct
 
 void lmn_refresh(void *);
 
-struct cfattach lmn_ca = {
+const struct cfattach lmn_ca = {
  sizeof(struct lmn_softc), lmn_match, lmn_attach
 };
 
Index: dev/i2c/maxim6690.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/maxim6690.c,v
retrieving revision 1.16
diff -u -p -r1.16 maxim6690.c
--- dev/i2c/maxim6690.c 20 Oct 2007 22:06:43 -0000 1.16
+++ dev/i2c/maxim6690.c 13 Feb 2020 09:37:16 -0000
@@ -62,7 +62,7 @@ int maxtmp_match(struct device *, void *
 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
 };
 
Index: dev/i2c/mcp794xx.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/mcp794xx.c,v
retrieving revision 1.1
diff -u -p -r1.1 mcp794xx.c
--- dev/i2c/mcp794xx.c 6 Sep 2019 09:38:19 -0000 1.1
+++ dev/i2c/mcp794xx.c 13 Feb 2020 09:37:16 -0000
@@ -56,7 +56,7 @@ struct mcprtc_softc {
 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
 };
 
Index: dev/i2c/pca9532.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/pca9532.c,v
retrieving revision 1.3
diff -u -p -r1.3 pca9532.c
--- dev/i2c/pca9532.c 17 Apr 2008 16:50:17 -0000 1.3
+++ dev/i2c/pca9532.c 13 Feb 2020 09:37:16 -0000
@@ -51,7 +51,7 @@ int pcaled_gpio_pin_read(void *arg, int
 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
 };
 
Index: dev/i2c/pca9554.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/pca9554.c,v
retrieving revision 1.18
diff -u -p -r1.18 pca9554.c
--- dev/i2c/pca9554.c 9 Jul 2018 18:48:52 -0000 1.18
+++ dev/i2c/pca9554.c 13 Feb 2020 09:37:16 -0000
@@ -77,7 +77,7 @@ void pcagpio_config_pin(void *, uint32_t
 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
 };
 
Index: dev/i2c/pcf8523.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/pcf8523.c,v
retrieving revision 1.3
diff -u -p -r1.3 pcf8523.c
--- dev/i2c/pcf8523.c 20 May 2016 20:33:53 -0000 1.3
+++ dev/i2c/pcf8523.c 13 Feb 2020 09:37:16 -0000
@@ -95,7 +95,7 @@ struct pcfrtc_softc {
 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
 };
 
Index: dev/i2c/pcf8563.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/pcf8563.c,v
retrieving revision 1.2
diff -u -p -r1.2 pcf8563.c
--- dev/i2c/pcf8563.c 6 Oct 2019 15:45:37 -0000 1.2
+++ dev/i2c/pcf8563.c 13 Feb 2020 09:37:16 -0000
@@ -84,7 +84,7 @@ struct pcxrtc_softc {
 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
 };
 
Index: dev/i2c/rs5c372.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/rs5c372.c,v
retrieving revision 1.5
diff -u -p -r1.5 rs5c372.c
--- dev/i2c/rs5c372.c 5 Oct 2009 18:59:36 -0000 1.5
+++ dev/i2c/rs5c372.c 13 Feb 2020 09:37:16 -0000
@@ -94,7 +94,7 @@ struct ricohrtc_softc {
 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
 };
 
Index: dev/i2c/sdtemp.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/sdtemp.c,v
retrieving revision 1.15
diff -u -p -r1.15 sdtemp.c
--- dev/i2c/sdtemp.c 14 Nov 2014 07:03:22 -0000 1.15
+++ dev/i2c/sdtemp.c 13 Feb 2020 09:37:16 -0000
@@ -43,7 +43,7 @@ int sdtemp_match(struct device *, void *
 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
 };
 
Index: dev/i2c/spdmem_i2c.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/spdmem_i2c.c,v
retrieving revision 1.1
diff -u -p -r1.1 spdmem_i2c.c
--- dev/i2c/spdmem_i2c.c 22 Mar 2010 21:20:58 -0000 1.1
+++ dev/i2c/spdmem_i2c.c 13 Feb 2020 09:37:16 -0000
@@ -68,7 +68,7 @@ int spdmem_iic_match(struct device *, vo
 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
 };
 
Index: dev/i2c/thmc50.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/thmc50.c,v
retrieving revision 1.4
diff -u -p -r1.4 thmc50.c
--- dev/i2c/thmc50.c 17 Oct 2007 17:14:54 -0000 1.4
+++ dev/i2c/thmc50.c 13 Feb 2020 09:37:16 -0000
@@ -47,7 +47,7 @@ int thmc_match(struct device *, void *,
 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
 };
 
Index: dev/i2c/tsl2560.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/tsl2560.c,v
retrieving revision 1.7
diff -u -p -r1.7 tsl2560.c
--- dev/i2c/tsl2560.c 18 Apr 2008 01:17:51 -0000 1.7
+++ dev/i2c/tsl2560.c 13 Feb 2020 09:37:16 -0000
@@ -50,7 +50,7 @@ void tsl_attach(struct device *, struct
 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
 };
 
Index: dev/i2c/w83793g.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/w83793g.c,v
retrieving revision 1.5
diff -u -p -r1.5 w83793g.c
--- dev/i2c/w83793g.c 26 Jan 2009 15:07:49 -0000 1.5
+++ dev/i2c/w83793g.c 13 Feb 2020 09:37:16 -0000
@@ -85,7 +85,7 @@ uint8_t wbng_readreg(struct wbng_softc *
 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
 };
 
Index: dev/i2c/w83795g.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/w83795g.c,v
retrieving revision 1.1
diff -u -p -r1.1 w83795g.c
--- dev/i2c/w83795g.c 3 Jul 2011 21:30:20 -0000 1.1
+++ dev/i2c/w83795g.c 13 Feb 2020 09:37:16 -0000
@@ -91,7 +91,7 @@ uint8_t nvt_readreg(struct nvt_softc *,
 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
 };
 
Index: dev/i2c/w83l784r.c
===================================================================
RCS file: /cvs/src/sys/dev/i2c/w83l784r.c,v
retrieving revision 1.12
diff -u -p -r1.12 w83l784r.c
--- dev/i2c/w83l784r.c 24 Jun 2007 05:34:35 -0000 1.12
+++ dev/i2c/w83l784r.c 13 Feb 2020 09:37:16 -0000
@@ -100,7 +100,7 @@ void w83l785r_refresh_fanrpm(struct wben
 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
 };
 
Index: dev/isa/addcom_isa.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/addcom_isa.c,v
retrieving revision 1.6
diff -u -p -r1.6 addcom_isa.c
--- dev/isa/addcom_isa.c 14 Mar 2002 01:26:56 -0000 1.6
+++ dev/isa/addcom_isa.c 13 Feb 2020 09:37:16 -0000
@@ -111,7 +111,7 @@ void addcomattach(struct device *, struc
 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,
 };
 
Index: dev/isa/aic_isa.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/aic_isa.c,v
retrieving revision 1.8
diff -u -p -r1.8 aic_isa.c
--- dev/isa/aic_isa.c 8 Sep 2017 05:36:52 -0000 1.8
+++ dev/isa/aic_isa.c 13 Feb 2020 09:37:16 -0000
@@ -75,7 +75,7 @@
 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
 };
 
Index: dev/isa/aic_isapnp.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/aic_isapnp.c,v
retrieving revision 1.1
diff -u -p -r1.1 aic_isapnp.c
--- dev/isa/aic_isapnp.c 3 Sep 2002 16:30:55 -0000 1.1
+++ dev/isa/aic_isapnp.c 13 Feb 2020 09:37:16 -0000
@@ -51,7 +51,7 @@
 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
 };
 
Index: dev/isa/aps.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/aps.c,v
retrieving revision 1.26
diff -u -p -r1.26 aps.c
--- dev/isa/aps.c 2 Mar 2017 10:38:10 -0000 1.26
+++ dev/isa/aps.c 13 Feb 2020 09:37:16 -0000
@@ -155,7 +155,7 @@ void aps_refresh(void *);
 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
 };
Index: dev/isa/ast.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/ast.c,v
retrieving revision 1.18
diff -u -p -r1.18 ast.c
--- dev/isa/ast.c 14 Mar 2002 01:26:56 -0000 1.18
+++ dev/isa/ast.c 13 Feb 2020 09:37:16 -0000
@@ -65,7 +65,7 @@ void astattach(struct device *, struct d
 int astintr(void *);
 int astprint(void *, const char *);
 
-struct cfattach ast_ca = {
+const struct cfattach ast_ca = {
  sizeof(struct ast_softc), astprobe, astattach
 };
 
Index: dev/isa/boca.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/boca.c,v
retrieving revision 1.16
diff -u -p -r1.16 boca.c
--- dev/isa/boca.c 14 Mar 2002 01:26:56 -0000 1.16
+++ dev/isa/boca.c 13 Feb 2020 09:37:16 -0000
@@ -65,7 +65,7 @@ void bocaattach(struct device *, struct
 int bocaintr(void *);
 int bocaprint(void *, const char *);
 
-struct cfattach boca_ca = {
+const struct cfattach boca_ca = {
  sizeof(struct boca_softc), bocaprobe, bocaattach,
 };
 
Index: dev/isa/com_commulti.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/com_commulti.c,v
retrieving revision 1.5
diff -u -p -r1.5 com_commulti.c
--- dev/isa/com_commulti.c 30 Apr 2017 13:04:49 -0000 1.5
+++ dev/isa/com_commulti.c 13 Feb 2020 09:37:16 -0000
@@ -75,7 +75,7 @@
 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
 };
 
Index: dev/isa/com_isa.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/com_isa.c,v
retrieving revision 1.9
diff -u -p -r1.9 com_isa.c
--- dev/isa/com_isa.c 30 Apr 2017 13:04:49 -0000 1.9
+++ dev/isa/com_isa.c 13 Feb 2020 09:37:16 -0000
@@ -74,7 +74,7 @@
 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
 };
Index: dev/isa/com_isapnp.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/com_isapnp.c,v
retrieving revision 1.5
diff -u -p -r1.5 com_isapnp.c
--- dev/isa/com_isapnp.c 30 Apr 2017 13:04:49 -0000 1.5
+++ dev/isa/com_isapnp.c 13 Feb 2020 09:37:16 -0000
@@ -75,7 +75,7 @@
 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
 };
 
Index: dev/isa/cy_isa.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/cy_isa.c,v
retrieving revision 1.9
diff -u -p -r1.9 cy_isa.c
--- dev/isa/cy_isa.c 15 Sep 2002 21:30:25 -0000 1.9
+++ dev/isa/cy_isa.c 13 Feb 2020 09:37:16 -0000
@@ -52,7 +52,7 @@
 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
 };
 
Index: dev/isa/ess_isapnp.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/ess_isapnp.c,v
retrieving revision 1.7
diff -u -p -r1.7 ess_isapnp.c
--- dev/isa/ess_isapnp.c 15 Nov 2013 16:46:27 -0000 1.7
+++ dev/isa/ess_isapnp.c 13 Feb 2020 09:37:16 -0000
@@ -53,7 +53,7 @@
 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
 };
 
Index: dev/isa/fd.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/fd.c,v
retrieving revision 1.107
diff -u -p -r1.107 fd.c
--- dev/isa/fd.c 7 Feb 2020 13:35:08 -0000 1.107
+++ dev/isa/fd.c 13 Feb 2020 09:37:16 -0000
@@ -129,7 +129,7 @@ int fdprobe(struct device *, void *, voi
 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
 };
 
Index: dev/isa/fdc.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/fdc.c,v
retrieving revision 1.23
diff -u -p -r1.23 fdc.c
--- dev/isa/fdc.c 30 Dec 2017 20:46:59 -0000 1.23
+++ dev/isa/fdc.c 13 Feb 2020 09:37:16 -0000
@@ -82,7 +82,7 @@ void fdcattach(struct device *, struct d
 void fdcattach_deferred(void *);
 void fdc_create_kthread(void *);
 
-struct cfattach fdc_ca = {
+const struct cfattach fdc_ca = {
  sizeof(struct fdc_softc), fdcprobe, fdcattach
 };
 
Index: dev/isa/fins.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/fins.c,v
retrieving revision 1.4
diff -u -p -r1.4 fins.c
--- dev/isa/fins.c 10 Dec 2014 12:27:57 -0000 1.4
+++ dev/isa/fins.c 13 Feb 2020 09:37:16 -0000
@@ -148,7 +148,7 @@ void fins_get_volt(struct fins_softc *,
 
 int fins_wdog_cb(void *, int);
 
-struct cfattach fins_ca = {
+const struct cfattach fins_ca = {
  sizeof(struct fins_softc),
  fins_match,
  fins_attach,
Index: dev/isa/gscsio.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/gscsio.c,v
retrieving revision 1.13
diff -u -p -r1.13 gscsio.c
--- dev/isa/gscsio.c 14 Sep 2014 14:17:25 -0000 1.13
+++ dev/isa/gscsio.c 13 Feb 2020 09:37:16 -0000
@@ -81,7 +81,7 @@ int gscsio_acb_initiate_xfer(void *, i2c
 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
Index: dev/isa/gus_isa.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/gus_isa.c,v
retrieving revision 1.7
diff -u -p -r1.7 gus_isa.c
--- dev/isa/gus_isa.c 12 May 2015 16:35:23 -0000 1.7
+++ dev/isa/gus_isa.c 13 Feb 2020 09:37:16 -0000
@@ -126,7 +126,7 @@
 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,
 };
 
Index: dev/isa/gus_isapnp.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/gus_isapnp.c,v
retrieving revision 1.8
diff -u -p -r1.8 gus_isapnp.c
--- dev/isa/gus_isapnp.c 12 May 2015 16:35:23 -0000 1.8
+++ dev/isa/gus_isapnp.c 13 Feb 2020 09:37:16 -0000
@@ -122,7 +122,7 @@
 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
 };
 
Index: dev/isa/hsq.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/hsq.c,v
retrieving revision 1.5
diff -u -p -r1.5 hsq.c
--- dev/isa/hsq.c 22 Nov 2008 10:33:33 -0000 1.5
+++ dev/isa/hsq.c 13 Feb 2020 09:37:16 -0000
@@ -111,7 +111,7 @@ void hsqattach(struct device *, struct d
 int hsqintr(void *);
 int hsqprint(void *, const char *);
 
-struct cfattach hsq_ca = {
+const struct cfattach hsq_ca = {
  sizeof(struct hsq_softc), hsqprobe, hsqattach
 };
 
Index: dev/isa/i82365_isa.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/i82365_isa.c,v
retrieving revision 1.23
diff -u -p -r1.23 i82365_isa.c
--- dev/isa/i82365_isa.c 8 Sep 2017 05:36:52 -0000 1.23
+++ dev/isa/i82365_isa.c 13 Feb 2020 09:37:16 -0000
@@ -60,7 +60,7 @@
 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
 };
 
Index: dev/isa/i82365_isapnp.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/i82365_isapnp.c,v
retrieving revision 1.9
diff -u -p -r1.9 i82365_isapnp.c
--- dev/isa/i82365_isapnp.c 8 Sep 2017 05:36:52 -0000 1.9
+++ dev/isa/i82365_isapnp.c 13 Feb 2020 09:37:16 -0000
@@ -66,7 +66,7 @@ int pcicisapnp_debug = 0 /* XXX */ ;
 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
 };
 
Index: dev/isa/if_an_isapnp.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/if_an_isapnp.c,v
retrieving revision 1.10
diff -u -p -r1.10 if_an_isapnp.c
--- dev/isa/if_an_isapnp.c 24 Nov 2015 17:11:39 -0000 1.10
+++ dev/isa/if_an_isapnp.c 13 Feb 2020 09:37:16 -0000
@@ -53,7 +53,7 @@
 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
 };
 
Index: dev/isa/if_ec.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/if_ec.c,v
retrieving revision 1.17
diff -u -p -r1.17 if_ec.c
--- dev/isa/if_ec.c 26 Jul 2017 05:25:21 -0000 1.17
+++ dev/isa/if_ec.c 13 Feb 2020 09:37:16 -0000
@@ -92,7 +92,7 @@ struct ec_softc {
 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
 };
 
Index: dev/isa/if_ef_isapnp.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/if_ef_isapnp.c,v
retrieving revision 1.39
diff -u -p -r1.39 if_ef_isapnp.c
--- dev/isa/if_ef_isapnp.c 22 Jan 2017 10:17:38 -0000 1.39
+++ dev/isa/if_ef_isapnp.c 13 Feb 2020 09:37:16 -0000
@@ -129,7 +129,7 @@ struct cfdriver ef_cd = {
  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
 };
 
Index: dev/isa/if_eg.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/if_eg.c,v
retrieving revision 1.49
diff -u -p -r1.49 if_eg.c
--- dev/isa/if_eg.c 8 Sep 2017 05:36:52 -0000 1.49
+++ dev/isa/if_eg.c 13 Feb 2020 09:37:16 -0000
@@ -97,7 +97,7 @@ struct eg_softc {
 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
 };
 
Index: dev/isa/if_el.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/if_el.c,v
retrieving revision 1.34
diff -u -p -r1.34 if_el.c
--- dev/isa/if_el.c 22 Jan 2017 10:17:38 -0000 1.34
+++ dev/isa/if_el.c 13 Feb 2020 09:37:16 -0000
@@ -82,7 +82,7 @@ static inline void el_hardreset(struct e
 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
 };
 
Index: dev/isa/if_ep_isa.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/if_ep_isa.c,v
retrieving revision 1.31
diff -u -p -r1.31 if_ep_isa.c
--- dev/isa/if_ep_isa.c 25 Nov 2015 11:20:38 -0000 1.31
+++ dev/isa/if_ep_isa.c 13 Feb 2020 09:37:16 -0000
@@ -76,7 +76,7 @@
 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
 };
 
Index: dev/isa/if_ep_isapnp.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/if_ep_isapnp.c,v
retrieving revision 1.16
diff -u -p -r1.16 if_ep_isapnp.c
--- dev/isa/if_ep_isapnp.c 24 Nov 2015 17:11:39 -0000 1.16
+++ dev/isa/if_ep_isapnp.c 13 Feb 2020 09:37:16 -0000
@@ -76,7 +76,7 @@
 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
 };
 
Index: dev/isa/if_ex.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/if_ex.c,v
retrieving revision 1.46
diff -u -p -r1.46 if_ex.c
--- dev/isa/if_ex.c 4 Jun 2017 20:28:05 -0000 1.46
+++ dev/isa/if_ex.c 13 Feb 2020 09:37:16 -0000
@@ -121,7 +121,7 @@ int ex_intr(void *);
 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
 };
 
Index: dev/isa/if_ie.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/if_ie.c,v
retrieving revision 1.55
diff -u -p -r1.55 if_ie.c
--- dev/isa/if_ie.c 19 Dec 2019 20:23:25 -0000 1.55
+++ dev/isa/if_ie.c 13 Feb 2020 09:37:16 -0000
@@ -304,7 +304,7 @@ static __inline int ie_packet_len(struct
 
 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
 };
 
Index: dev/isa/if_lc_isa.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/if_lc_isa.c,v
retrieving revision 1.12
diff -u -p -r1.12 if_lc_isa.c
--- dev/isa/if_lc_isa.c 24 Nov 2015 17:11:39 -0000 1.12
+++ dev/isa/if_lc_isa.c 13 Feb 2020 09:37:16 -0000
@@ -72,7 +72,7 @@ int lemac_isa_find(struct lemac_softc *,
 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
 };
 
Index: dev/isa/if_le_isa.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/if_le_isa.c,v
retrieving revision 1.22
diff -u -p -r1.22 if_le_isa.c
--- dev/isa/if_le_isa.c 22 Dec 2014 02:28:51 -0000 1.22
+++ dev/isa/if_le_isa.c 13 Feb 2020 09:37:16 -0000
@@ -72,7 +72,7 @@ static char *card_type[] =
 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
 };
 
Index: dev/isa/if_le_isapnp.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/if_le_isapnp.c,v
retrieving revision 1.14
diff -u -p -r1.14 if_le_isapnp.c
--- dev/isa/if_le_isapnp.c 22 Dec 2014 02:28:51 -0000 1.14
+++ dev/isa/if_le_isapnp.c 13 Feb 2020 09:37:16 -0000
@@ -69,7 +69,7 @@
 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
 };
 
Index: dev/isa/if_ne_isa.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/if_ne_isa.c,v
retrieving revision 1.17
diff -u -p -r1.17 if_ne_isa.c
--- dev/isa/if_ne_isa.c 24 Nov 2015 17:11:39 -0000 1.17
+++ dev/isa/if_ne_isa.c 13 Feb 2020 09:37:16 -0000
@@ -77,7 +77,7 @@ struct ne_isa_softc {
  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
 };
 
Index: dev/isa/if_ne_isapnp.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/if_ne_isapnp.c,v
retrieving revision 1.16
diff -u -p -r1.16 if_ne_isapnp.c
--- dev/isa/if_ne_isapnp.c 24 Nov 2015 17:11:39 -0000 1.16
+++ dev/isa/if_ne_isapnp.c 13 Feb 2020 09:37:16 -0000
@@ -79,7 +79,7 @@ struct ne_isapnp_softc {
  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
 };
 
Index: dev/isa/if_sm_isa.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/if_sm_isa.c,v
retrieving revision 1.14
diff -u -p -r1.14 if_sm_isa.c
--- dev/isa/if_sm_isa.c 24 Nov 2015 17:11:39 -0000 1.14
+++ dev/isa/if_sm_isa.c 13 Feb 2020 09:37:16 -0000
@@ -75,7 +75,7 @@ struct sm_isa_softc {
  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
 };
 
Index: dev/isa/if_we.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/if_we.c,v
retrieving revision 1.27
diff -u -p -r1.27 if_we.c
--- dev/isa/if_we.c 26 Jul 2017 05:25:21 -0000 1.27
+++ dev/isa/if_we.c 13 Feb 2020 09:37:16 -0000
@@ -106,12 +106,12 @@ int we_probe(struct device *, void *, vo
 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 */
Index: dev/isa/isa.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/isa.c,v
retrieving revision 1.47
diff -u -p -r1.47 isa.c
--- dev/isa/isa.c 9 May 2019 17:38:23 -0000 1.47
+++ dev/isa/isa.c 13 Feb 2020 09:37:16 -0000
@@ -72,7 +72,7 @@ void isaattach(struct device *, struct d
 
 extern int autoconf_verbose;
 
-struct cfattach isa_ca = {
+const struct cfattach isa_ca = {
  sizeof(struct isa_softc), isamatch, isaattach
 };
 
Index: dev/isa/isadma.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/isadma.c,v
retrieving revision 1.34
diff -u -p -r1.34 isadma.c
--- dev/isa/isadma.c 14 Mar 2015 03:38:47 -0000 1.34
+++ dev/isa/isadma.c 13 Feb 2020 09:37:16 -0000
@@ -84,7 +84,7 @@ static u_int8_t dmamode[4] = {
 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
 };
 
Index: dev/isa/isagpio.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/isagpio.c,v
retrieving revision 1.4
diff -u -p -r1.4 isagpio.c
--- dev/isa/isagpio.c 29 Mar 2009 21:53:52 -0000 1.4
+++ dev/isa/isagpio.c 13 Feb 2020 09:37:16 -0000
@@ -60,7 +60,7 @@ int isagpio_pin_read(void *, int);
 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
 };
 
Index: dev/isa/isapnp.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/isapnp.c,v
retrieving revision 1.41
diff -u -p -r1.41 isapnp.c
--- dev/isa/isapnp.c 12 Jul 2014 18:48:18 -0000 1.41
+++ dev/isa/isapnp.c 13 Feb 2020 09:37:16 -0000
@@ -79,7 +79,7 @@ void isapnp_attach(struct device *, stru
 # define DPRINTF(a)
 #endif
 
-struct cfattach isapnp_ca = {
+const struct cfattach isapnp_ca = {
  sizeof(struct isapnp_softc), isapnp_match, isapnp_attach
 };
 
Index: dev/isa/it.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/it.c,v
retrieving revision 1.46
diff -u -p -r1.46 it.c
--- dev/isa/it.c 14 Mar 2015 03:38:47 -0000 1.46
+++ dev/isa/it.c 13 Feb 2020 09:37:16 -0000
@@ -534,7 +534,7 @@ it_wdog_cb(void *arg, int period)
 }
 
 
-struct cfattach it_ca = {
+const struct cfattach it_ca = {
  sizeof(struct it_softc),
  it_match,
  it_attach,
Index: dev/isa/lm78_isa.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/lm78_isa.c,v
retrieving revision 1.10
diff -u -p -r1.10 lm78_isa.c
--- dev/isa/lm78_isa.c 14 Mar 2015 03:38:47 -0000 1.10
+++ dev/isa/lm78_isa.c 13 Feb 2020 09:37:16 -0000
@@ -52,13 +52,13 @@ u_int8_t lm_isa_readreg(struct lm_softc
 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
Index: dev/isa/lpt_isa.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/lpt_isa.c,v
retrieving revision 1.15
diff -u -p -r1.15 lpt_isa.c
--- dev/isa/lpt_isa.c 14 Mar 2015 03:38:47 -0000 1.15
+++ dev/isa/lpt_isa.c 13 Feb 2020 09:37:16 -0000
@@ -66,7 +66,7 @@
 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
 };
Index: dev/isa/mpu_isa.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/mpu_isa.c,v
retrieving revision 1.6
diff -u -p -r1.6 mpu_isa.c
--- dev/isa/mpu_isa.c 14 Mar 2015 03:38:47 -0000 1.6
+++ dev/isa/mpu_isa.c 13 Feb 2020 09:37:16 -0000
@@ -63,7 +63,7 @@ struct mpu_isa_softc {
  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
 };
 
Index: dev/isa/mpu_isapnp.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/mpu_isapnp.c,v
retrieving revision 1.8
diff -u -p -r1.8 mpu_isapnp.c
--- dev/isa/mpu_isapnp.c 14 Sep 2014 14:17:25 -0000 1.8
+++ dev/isa/mpu_isapnp.c 13 Feb 2020 09:37:16 -0000
@@ -31,7 +31,7 @@ struct mpu_isapnp_softc {
  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
 };
 
Index: dev/isa/nsclpcsio_isa.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/nsclpcsio_isa.c,v
retrieving revision 1.14
diff -u -p -r1.14 nsclpcsio_isa.c
--- dev/isa/nsclpcsio_isa.c 4 Jun 2018 05:24:11 -0000 1.14
+++ dev/isa/nsclpcsio_isa.c 13 Feb 2020 09:37:16 -0000
@@ -202,7 +202,7 @@ struct nsclpcsio_softc {
 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
Index: dev/isa/pas.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/pas.c,v
retrieving revision 1.29
diff -u -p -r1.29 pas.c
--- dev/isa/pas.c 19 Sep 2016 06:46:44 -0000 1.29
+++ dev/isa/pas.c 13 Feb 2020 09:37:16 -0000
@@ -231,7 +231,7 @@ pasconf(model, sbbase, sbirq, sbdrq)
 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
 };
 
Index: dev/isa/pcdisplay.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/pcdisplay.c,v
retrieving revision 1.12
diff -u -p -r1.12 pcdisplay.c
--- dev/isa/pcdisplay.c 20 Oct 2013 20:07:29 -0000 1.12
+++ dev/isa/pcdisplay.c 13 Feb 2020 09:37:16 -0000
@@ -73,7 +73,7 @@ static void pcdisplay_init(struct pcdisp
 static int pcdisplay_alloc_attr(void *, int, int, int, long *);
 static void pcdisplay_unpack_attr(void *, long, int *, int *, int *);
 
-struct cfattach pcdisplay_ca = {
+const struct cfattach pcdisplay_ca = {
  sizeof(struct pcdisplay_softc), pcdisplay_match, pcdisplay_attach,
 };
 
Index: dev/isa/pcppi.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/pcppi.c,v
retrieving revision 1.15
diff -u -p -r1.15 pcppi.c
--- dev/isa/pcppi.c 31 Dec 2019 10:05:32 -0000 1.15
+++ dev/isa/pcppi.c 13 Feb 2020 09:37:16 -0000
@@ -69,7 +69,7 @@ struct pcppi_softc {
 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,
 };
 
Index: dev/isa/sb_isa.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/sb_isa.c,v
retrieving revision 1.10
diff -u -p -r1.10 sb_isa.c
--- dev/isa/sb_isa.c 12 May 2015 16:35:23 -0000 1.10
+++ dev/isa/sb_isa.c 13 Feb 2020 09:37:16 -0000
@@ -61,7 +61,7 @@ static int sbfind(struct device *, struc
 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
 };
 
Index: dev/isa/sb_isapnp.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/sb_isapnp.c,v
retrieving revision 1.15
diff -u -p -r1.15 sb_isapnp.c
--- dev/isa/sb_isapnp.c 12 May 2015 16:35:23 -0000 1.15
+++ dev/isa/sb_isapnp.c 13 Feb 2020 09:37:16 -0000
@@ -57,7 +57,7 @@
 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
 };
 
Index: dev/isa/sch311x.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/sch311x.c,v
retrieving revision 1.17
diff -u -p -r1.17 sch311x.c
--- dev/isa/sch311x.c 8 Sep 2017 05:36:52 -0000 1.17
+++ dev/isa/sch311x.c 13 Feb 2020 09:37:16 -0000
@@ -180,7 +180,7 @@ u_int8_t schsio_hwm_read(struct schsio_s
 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,
Index: dev/isa/skgpio.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/skgpio.c,v
retrieving revision 1.3
diff -u -p -r1.3 skgpio.c
--- dev/isa/skgpio.c 14 Mar 2015 03:38:47 -0000 1.3
+++ dev/isa/skgpio.c 13 Feb 2020 09:37:16 -0000
@@ -74,7 +74,7 @@ int skgpio_led_read(void *, int);
 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
 };
 
Index: dev/isa/spkr.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/spkr.c,v
retrieving revision 1.23
diff -u -p -r1.23 spkr.c
--- dev/isa/spkr.c 20 Feb 2019 07:00:31 -0000 1.23
+++ dev/isa/spkr.c 13 Feb 2020 09:37:16 -0000
@@ -63,7 +63,7 @@ cdev_decl(spkr);
 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
 };
 
Index: dev/isa/tcic2_isa.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/tcic2_isa.c,v
retrieving revision 1.8
diff -u -p -r1.8 tcic2_isa.c
--- dev/isa/tcic2_isa.c 8 Sep 2017 05:36:52 -0000 1.8
+++ dev/isa/tcic2_isa.c 13 Feb 2020 09:37:16 -0000
@@ -113,7 +113,7 @@ void *tcic_isa_chip_intr_establish(pcmci
 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
 };
 
Index: dev/isa/uguru.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/uguru.c,v
retrieving revision 1.5
diff -u -p -r1.5 uguru.c
--- dev/isa/uguru.c 14 Mar 2015 03:38:47 -0000 1.5
+++ dev/isa/uguru.c 13 Feb 2020 09:37:16 -0000
@@ -648,7 +648,7 @@ struct cfdriver uguru_cd = {
  NULL, "uguru", DV_DULL
 };
 
-struct cfattach uguru_ca = {
+const struct cfattach uguru_ca = {
  sizeof(struct uguru_softc), uguru_match, uguru_attach
 };
 
Index: dev/isa/uha_isa.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/uha_isa.c,v
retrieving revision 1.13
diff -u -p -r1.13 uha_isa.c
--- dev/isa/uha_isa.c 8 Sep 2017 05:36:52 -0000 1.13
+++ dev/isa/uha_isa.c 13 Feb 2020 09:37:16 -0000
@@ -53,7 +53,7 @@
 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
 };
 
Index: dev/isa/vga_isa.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/vga_isa.c,v
retrieving revision 1.10
diff -u -p -r1.10 vga_isa.c
--- dev/isa/vga_isa.c 18 Jul 2015 00:48:05 -0000 1.10
+++ dev/isa/vga_isa.c 13 Feb 2020 09:37:16 -0000
@@ -56,7 +56,7 @@ struct vga_isa_softc {
 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,
 };
 
Index: dev/isa/viasio.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/viasio.c,v
retrieving revision 1.14
diff -u -p -r1.14 viasio.c
--- dev/isa/viasio.c 10 Dec 2014 12:27:57 -0000 1.14
+++ dev/isa/viasio.c 13 Feb 2020 09:37:16 -0000
@@ -70,7 +70,7 @@ void viasio_hm_refresh(void *);
 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,
Index: dev/isa/wbsio.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/wbsio.c,v
retrieving revision 1.11
diff -u -p -r1.11 wbsio.c
--- dev/isa/wbsio.c 17 Dec 2019 01:34:59 -0000 1.11
+++ dev/isa/wbsio.c 13 Feb 2020 09:37:16 -0000
@@ -46,7 +46,7 @@ int wbsio_probe(struct device *, void *,
 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
Index: dev/isa/wdc_isa.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/wdc_isa.c,v
retrieving revision 1.16
diff -u -p -r1.16 wdc_isa.c
--- dev/isa/wdc_isa.c 8 Sep 2017 05:36:52 -0000 1.16
+++ dev/isa/wdc_isa.c 13 Feb 2020 09:37:16 -0000
@@ -66,7 +66,7 @@ struct wdc_isa_softc {
 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
 };
 
Index: dev/isa/wdc_isapnp.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/wdc_isapnp.c,v
retrieving revision 1.11
diff -u -p -r1.11 wdc_isapnp.c
--- dev/isa/wdc_isapnp.c 8 Sep 2017 05:36:52 -0000 1.11
+++ dev/isa/wdc_isapnp.c 13 Feb 2020 09:37:16 -0000
@@ -57,7 +57,7 @@ struct wdc_isapnp_softc {
 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
 };
 
Index: dev/isa/wds.c
===================================================================
RCS file: /cvs/src/sys/dev/isa/wds.c,v
retrieving revision 1.47
diff -u -p -r1.47 wds.c
--- dev/isa/wds.c 26 Jan 2020 00:53:31 -0000 1.47
+++ dev/isa/wds.c 13 Feb 2020 09:37:16 -0000
@@ -175,7 +175,7 @@ struct scsi_adapter wds_switch = {
 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
 };
 
Index: dev/mii/acphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/acphy.c,v
retrieving revision 1.9
diff -u -p -r1.9 acphy.c
--- dev/mii/acphy.c 14 Mar 2015 03:38:47 -0000 1.9
+++ dev/mii/acphy.c 13 Feb 2020 09:37:16 -0000
@@ -59,7 +59,7 @@
 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
 };
 
Index: dev/mii/amphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/amphy.c,v
retrieving revision 1.21
diff -u -p -r1.21 amphy.c
--- dev/mii/amphy.c 14 Mar 2015 03:38:47 -0000 1.21
+++ dev/mii/amphy.c 13 Feb 2020 09:37:16 -0000
@@ -58,7 +58,7 @@
 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
 };
 
Index: dev/mii/atphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/atphy.c,v
retrieving revision 1.11
diff -u -p -r1.11 atphy.c
--- dev/mii/atphy.c 9 Jul 2016 15:59:22 -0000 1.11
+++ dev/mii/atphy.c 13 Feb 2020 09:37:16 -0000
@@ -92,7 +92,7 @@ static const struct mii_phydesc atphys[]
   NULL },
 };
 
-struct cfattach atphy_ca = {
+const struct cfattach atphy_ca = {
  sizeof (struct mii_softc), atphy_match, atphy_attach,
  mii_phy_detach
 };
Index: dev/mii/bmtphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/bmtphy.c,v
retrieving revision 1.20
diff -u -p -r1.20 bmtphy.c
--- dev/mii/bmtphy.c 14 Mar 2015 03:38:47 -0000 1.20
+++ dev/mii/bmtphy.c 13 Feb 2020 09:37:16 -0000
@@ -51,7 +51,7 @@
 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
 };
 
Index: dev/mii/brgphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/brgphy.c,v
retrieving revision 1.105
diff -u -p -r1.105 brgphy.c
--- dev/mii/brgphy.c 19 Jul 2015 06:28:12 -0000 1.105
+++ dev/mii/brgphy.c 13 Feb 2020 09:37:16 -0000
@@ -63,7 +63,7 @@
 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
 };
 
Index: dev/mii/brswphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/brswphy.c,v
retrieving revision 1.2
diff -u -p -r1.2 brswphy.c
--- dev/mii/brswphy.c 5 Dec 2014 15:50:04 -0000 1.2
+++ dev/mii/brswphy.c 13 Feb 2020 09:37:16 -0000
@@ -150,7 +150,7 @@ struct brswphy_softc {
 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,
 };
 
Index: dev/mii/ciphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/ciphy.c,v
retrieving revision 1.27
diff -u -p -r1.27 ciphy.c
--- dev/mii/ciphy.c 19 Jul 2015 06:28:12 -0000 1.27
+++ dev/mii/ciphy.c 13 Feb 2020 09:37:17 -0000
@@ -56,7 +56,7 @@
 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
 };
 
Index: dev/mii/dcphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/dcphy.c,v
retrieving revision 1.25
diff -u -p -r1.25 dcphy.c
--- dev/mii/dcphy.c 28 Dec 2013 03:30:41 -0000 1.25
+++ dev/mii/dcphy.c 13 Feb 2020 09:37:17 -0000
@@ -84,7 +84,7 @@
 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
 };
 
Index: dev/mii/eephy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/eephy.c,v
retrieving revision 1.57
diff -u -p -r1.57 eephy.c
--- dev/mii/eephy.c 24 Sep 2019 14:37:03 -0000 1.57
+++ dev/mii/eephy.c 13 Feb 2020 09:37:17 -0000
@@ -58,7 +58,7 @@
 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
 };
 
Index: dev/mii/etphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/etphy.c,v
retrieving revision 1.7
diff -u -p -r1.7 etphy.c
--- dev/mii/etphy.c 14 Mar 2015 03:38:48 -0000 1.7
+++ dev/mii/etphy.c 13 Feb 2020 09:37:17 -0000
@@ -90,7 +90,7 @@ static const struct mii_phydesc etphys[]
   NULL },
 };
 
-struct cfattach etphy_ca = {
+const struct cfattach etphy_ca = {
  sizeof (struct mii_softc), etphy_match, etphy_attach,
  mii_phy_detach
 };
Index: dev/mii/exphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/exphy.c,v
retrieving revision 1.23
diff -u -p -r1.23 exphy.c
--- dev/mii/exphy.c 14 Mar 2015 03:38:48 -0000 1.23
+++ dev/mii/exphy.c 13 Feb 2020 09:37:17 -0000
@@ -75,7 +75,7 @@
 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
 };
 
Index: dev/mii/gentbi.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/gentbi.c,v
retrieving revision 1.11
diff -u -p -r1.11 gentbi.c
--- dev/mii/gentbi.c 14 Mar 2015 03:38:48 -0000 1.11
+++ dev/mii/gentbi.c 13 Feb 2020 09:37:17 -0000
@@ -79,7 +79,7 @@
 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
 };
Index: dev/mii/icsphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/icsphy.c,v
retrieving revision 1.23
diff -u -p -r1.23 icsphy.c
--- dev/mii/icsphy.c 14 Mar 2015 03:38:48 -0000 1.23
+++ dev/mii/icsphy.c 13 Feb 2020 09:37:17 -0000
@@ -79,7 +79,7 @@
 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
 };
 
Index: dev/mii/inphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/inphy.c,v
retrieving revision 1.21
diff -u -p -r1.21 inphy.c
--- dev/mii/inphy.c 14 Mar 2015 03:38:48 -0000 1.21
+++ dev/mii/inphy.c 13 Feb 2020 09:37:17 -0000
@@ -79,7 +79,7 @@
 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
 };
 
Index: dev/mii/iophy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/iophy.c,v
retrieving revision 1.20
diff -u -p -r1.20 iophy.c
--- dev/mii/iophy.c 14 Mar 2015 03:38:48 -0000 1.20
+++ dev/mii/iophy.c 13 Feb 2020 09:37:17 -0000
@@ -77,7 +77,7 @@
 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
 };
 
Index: dev/mii/ipgphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/ipgphy.c,v
retrieving revision 1.19
diff -u -p -r1.19 ipgphy.c
--- dev/mii/ipgphy.c 19 Jul 2015 06:28:12 -0000 1.19
+++ dev/mii/ipgphy.c 13 Feb 2020 09:37:17 -0000
@@ -58,7 +58,7 @@
 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
 };
 
Index: dev/mii/jmphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/jmphy.c,v
retrieving revision 1.6
diff -u -p -r1.6 jmphy.c
--- dev/mii/jmphy.c 14 Mar 2015 03:38:48 -0000 1.6
+++ dev/mii/jmphy.c 13 Feb 2020 09:37:17 -0000
@@ -59,7 +59,7 @@ const struct mii_phy_funcs jmphy_funcs =
  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
 };
Index: dev/mii/luphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/luphy.c,v
retrieving revision 1.6
diff -u -p -r1.6 luphy.c
--- dev/mii/luphy.c 14 Mar 2015 03:38:48 -0000 1.6
+++ dev/mii/luphy.c 13 Feb 2020 09:37:17 -0000
@@ -57,7 +57,7 @@
 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
 };
 
Index: dev/mii/lxtphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/lxtphy.c,v
retrieving revision 1.20
diff -u -p -r1.20 lxtphy.c
--- dev/mii/lxtphy.c 14 Mar 2015 03:38:48 -0000 1.20
+++ dev/mii/lxtphy.c 13 Feb 2020 09:37:17 -0000
@@ -79,7 +79,7 @@
 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
 };
 
Index: dev/mii/mlphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/mlphy.c,v
retrieving revision 1.5
diff -u -p -r1.5 mlphy.c
--- dev/mii/mlphy.c 5 Dec 2014 15:50:04 -0000 1.5
+++ dev/mii/mlphy.c 13 Feb 2020 09:37:17 -0000
@@ -130,7 +130,7 @@ struct mlphy_softc {
 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
 };
 
Index: dev/mii/mtdphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/mtdphy.c,v
retrieving revision 1.15
diff -u -p -r1.15 mtdphy.c
--- dev/mii/mtdphy.c 14 Mar 2015 03:38:48 -0000 1.15
+++ dev/mii/mtdphy.c 13 Feb 2020 09:37:17 -0000
@@ -48,7 +48,7 @@
 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
 };
 
Index: dev/mii/nsgphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/nsgphy.c,v
retrieving revision 1.25
diff -u -p -r1.25 nsgphy.c
--- dev/mii/nsgphy.c 14 Mar 2015 03:38:48 -0000 1.25
+++ dev/mii/nsgphy.c 13 Feb 2020 09:37:17 -0000
@@ -68,7 +68,7 @@
 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
 };
 
Index: dev/mii/nsphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/nsphy.c,v
retrieving revision 1.28
diff -u -p -r1.28 nsphy.c
--- dev/mii/nsphy.c 14 Mar 2015 03:38:48 -0000 1.28
+++ dev/mii/nsphy.c 13 Feb 2020 09:37:17 -0000
@@ -79,7 +79,7 @@
 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
 };
 
Index: dev/mii/nsphyter.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/nsphyter.c,v
retrieving revision 1.19
diff -u -p -r1.19 nsphyter.c
--- dev/mii/nsphyter.c 14 Mar 2015 03:38:48 -0000 1.19
+++ dev/mii/nsphyter.c 13 Feb 2020 09:37:17 -0000
@@ -79,7 +79,7 @@
 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
 };
Index: dev/mii/qsphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/qsphy.c,v
retrieving revision 1.21
diff -u -p -r1.21 qsphy.c
--- dev/mii/qsphy.c 14 Mar 2015 03:38:48 -0000 1.21
+++ dev/mii/qsphy.c 13 Feb 2020 09:37:17 -0000
@@ -78,7 +78,7 @@
 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
 };
 
Index: dev/mii/rdcphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/rdcphy.c,v
retrieving revision 1.3
diff -u -p -r1.3 rdcphy.c
--- dev/mii/rdcphy.c 5 Dec 2014 15:50:04 -0000 1.3
+++ dev/mii/rdcphy.c 13 Feb 2020 09:37:17 -0000
@@ -106,7 +106,7 @@ static const struct mii_phydesc rdcphys[
   NULL },
 };
 
-struct cfattach rdcphy_ca = {
+const struct cfattach rdcphy_ca = {
  sizeof(struct rdcphy_softc), rdcphy_match, rdcphy_attach,
  mii_phy_detach
 };
Index: dev/mii/rgephy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/rgephy.c,v
retrieving revision 1.40
diff -u -p -r1.40 rgephy.c
--- dev/mii/rgephy.c 27 Feb 2018 19:47:10 -0000 1.40
+++ dev/mii/rgephy.c 13 Feb 2020 09:37:17 -0000
@@ -63,7 +63,7 @@
 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,
 };
 
Index: dev/mii/rlphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/rlphy.c,v
retrieving revision 1.33
diff -u -p -r1.33 rlphy.c
--- dev/mii/rlphy.c 24 Nov 2014 00:13:42 -0000 1.33
+++ dev/mii/rlphy.c 13 Feb 2020 09:37:17 -0000
@@ -56,7 +56,7 @@
 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
 };
 
Index: dev/mii/sqphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/sqphy.c,v
retrieving revision 1.21
diff -u -p -r1.21 sqphy.c
--- dev/mii/sqphy.c 14 Mar 2015 03:38:48 -0000 1.21
+++ dev/mii/sqphy.c 13 Feb 2020 09:37:17 -0000
@@ -78,7 +78,7 @@
 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
 };
 
Index: dev/mii/tlphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/tlphy.c,v
retrieving revision 1.21
diff -u -p -r1.21 tlphy.c
--- dev/mii/tlphy.c 28 Dec 2013 03:30:41 -0000 1.21
+++ dev/mii/tlphy.c 13 Feb 2020 09:37:17 -0000
@@ -97,7 +97,7 @@ struct cfdriver tlphy_cd = {
 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
 };
 
Index: dev/mii/tqphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/tqphy.c,v
retrieving revision 1.18
diff -u -p -r1.18 tqphy.c
--- dev/mii/tqphy.c 14 Mar 2015 03:38:48 -0000 1.18
+++ dev/mii/tqphy.c 13 Feb 2020 09:37:17 -0000
@@ -80,7 +80,7 @@ int tqphymatch(struct device *, void *,
 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
 };
 
Index: dev/mii/txphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/txphy.c,v
retrieving revision 1.11
diff -u -p -r1.11 txphy.c
--- dev/mii/txphy.c 28 Dec 2013 03:30:41 -0000 1.11
+++ dev/mii/txphy.c 13 Feb 2020 09:37:17 -0000
@@ -47,7 +47,7 @@
 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
 };
 
Index: dev/mii/ukphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/ukphy.c,v
retrieving revision 1.24
diff -u -p -r1.24 ukphy.c
--- dev/mii/ukphy.c 11 Jul 2016 09:50:02 -0000 1.24
+++ dev/mii/ukphy.c 13 Feb 2020 09:37:17 -0000
@@ -75,7 +75,7 @@
 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
 };
 
Index: dev/mii/urlphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/urlphy.c,v
retrieving revision 1.17
diff -u -p -r1.17 urlphy.c
--- dev/mii/urlphy.c 14 Mar 2015 03:38:48 -0000 1.17
+++ dev/mii/urlphy.c 13 Feb 2020 09:37:17 -0000
@@ -61,7 +61,7 @@ int urlphydebug = URLPHY_DEBUG;
 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
 };
 
Index: dev/mii/xmphy.c
===================================================================
RCS file: /cvs/src/sys/dev/mii/xmphy.c,v
retrieving revision 1.23
diff -u -p -r1.23 xmphy.c
--- dev/mii/xmphy.c 19 Jul 2015 06:28:12 -0000 1.23
+++ dev/mii/xmphy.c 13 Feb 2020 09:37:17 -0000
@@ -59,7 +59,7 @@
 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
 };
 
Index: dev/onewire/onewire.c
===================================================================
RCS file: /cvs/src/sys/dev/onewire/onewire.c,v
retrieving revision 1.18
diff -u -p -r1.18 onewire.c
--- dev/onewire/onewire.c 30 Nov 2019 18:14:47 -0000 1.18
+++ dev/onewire/onewire.c 13 Feb 2020 09:37:17 -0000
@@ -71,7 +71,7 @@ void onewire_thread(void *);
 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,
Index: dev/onewire/owctr.c
===================================================================
RCS file: /cvs/src/sys/dev/onewire/owctr.c,v
retrieving revision 1.8
diff -u -p -r1.8 owctr.c
--- dev/onewire/owctr.c 27 Aug 2015 05:49:23 -0000 1.8
+++ dev/onewire/owctr.c 13 Feb 2020 09:37:17 -0000
@@ -70,7 +70,7 @@ int owctr_activate(struct device *, int)
 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,
Index: dev/onewire/owid.c
===================================================================
RCS file: /cvs/src/sys/dev/onewire/owid.c,v
retrieving revision 1.11
diff -u -p -r1.11 owid.c
--- dev/onewire/owid.c 14 Mar 2015 03:38:48 -0000 1.11
+++ dev/onewire/owid.c 13 Feb 2020 09:37:17 -0000
@@ -46,7 +46,7 @@ void owid_attach(struct device *, struct
 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,
Index: dev/onewire/owsbm.c
===================================================================
RCS file: /cvs/src/sys/dev/onewire/owsbm.c,v
retrieving revision 1.10
diff -u -p -r1.10 owsbm.c
--- dev/onewire/owsbm.c 14 Mar 2015 03:38:48 -0000 1.10
+++ dev/onewire/owsbm.c 13 Feb 2020 09:37:17 -0000
@@ -79,7 +79,7 @@ int owsbm_activate(struct device *, int)
 
 void owsbm_update(void *);
 
-struct cfattach owsbm_ca = {
+const struct cfattach owsbm_ca = {
  sizeof(struct owsbm_softc),
  owsbm_match,
  owsbm_attach,
Index: dev/onewire/owtemp.c
===================================================================
RCS file: /cvs/src/sys/dev/onewire/owtemp.c,v
retrieving revision 1.17
diff -u -p -r1.17 owtemp.c
--- dev/onewire/owtemp.c 30 Nov 2019 18:14:47 -0000 1.17
+++ dev/onewire/owtemp.c 13 Feb 2020 09:37:17 -0000
@@ -64,7 +64,7 @@ int owtemp_activate(struct device *, int
 
 void owtemp_update(void *);
 
-struct cfattach owtemp_ca = {
+const struct cfattach owtemp_ca = {
  sizeof(struct owtemp_softc),
  owtemp_match,
  owtemp_attach,
Index: dev/pci/aac_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/aac_pci.c,v
retrieving revision 1.25
diff -u -p -r1.25 aac_pci.c
--- dev/pci/aac_pci.c 19 Dec 2014 22:44:58 -0000 1.25
+++ dev/pci/aac_pci.c 13 Feb 2020 09:37:17 -0000
@@ -194,7 +194,7 @@ struct aac_ident {
  { 0, 0, 0, 0 }
 };
 
-struct cfattach aac_pci_ca = {
+const struct cfattach aac_pci_ca = {
  sizeof (struct aac_softc), aac_pci_probe, aac_pci_attach
 };
 
Index: dev/pci/adv_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/adv_pci.c,v
retrieving revision 1.12
diff -u -p -r1.12 adv_pci.c
--- dev/pci/adv_pci.c 8 Sep 2017 05:36:52 -0000 1.12
+++ dev/pci/adv_pci.c 13 Feb 2020 09:37:17 -0000
@@ -84,7 +84,7 @@
 int adv_pci_match(struct device *, void *, void *);
 void adv_pci_attach(struct device *, struct device *, void *);
 
-struct cfattach adv_pci_ca =
+const struct cfattach adv_pci_ca =
 {
  sizeof(ASC_SOFTC), adv_pci_match, adv_pci_attach
 };
Index: dev/pci/adw_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/adw_pci.c,v
retrieving revision 1.18
diff -u -p -r1.18 adw_pci.c
--- dev/pci/adw_pci.c 8 Sep 2017 05:36:52 -0000 1.18
+++ dev/pci/adw_pci.c 13 Feb 2020 09:37:17 -0000
@@ -71,7 +71,7 @@
 int adw_pci_match(struct device *, void *, void *);
 void adw_pci_attach(struct device *, struct device *, void *);
 
-struct cfattach adw_pci_ca =
+const struct cfattach adw_pci_ca =
 {
  sizeof(ADW_SOFTC), adw_pci_match, adw_pci_attach
 };
Index: dev/pci/agp.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/agp.c,v
retrieving revision 1.49
diff -u -p -r1.49 agp.c
--- dev/pci/agp.c 22 Dec 2015 21:05:37 -0000 1.49
+++ dev/pci/agp.c 13 Feb 2020 09:37:17 -0000
@@ -161,7 +161,7 @@ agp_attach(struct device *parent, struct
     (u_long)sc->sc_apsize);
 }
 
-struct cfattach agp_ca = {
+const struct cfattach agp_ca = {
  sizeof(struct agp_softc), agp_probe, agp_attach,
  NULL, NULL
 };
Index: dev/pci/agp_ali.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/agp_ali.c,v
retrieving revision 1.15
diff -u -p -r1.15 agp_ali.c
--- dev/pci/agp_ali.c 27 May 2014 12:40:00 -0000 1.15
+++ dev/pci/agp_ali.c 13 Feb 2020 09:37:17 -0000
@@ -68,7 +68,7 @@ void agp_ali_bind_page(void *, bus_addr_
 void agp_ali_unbind_page(void *, bus_addr_t);
 void agp_ali_flush_tlb(void *);
 
-struct cfattach aliagp_ca = {
+const struct cfattach aliagp_ca = {
  sizeof(struct agp_ali_softc), agp_ali_probe, agp_ali_attach,
  NULL, agp_ali_activate
 };
Index: dev/pci/agp_amd.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/agp_amd.c,v
retrieving revision 1.21
diff -u -p -r1.21 agp_amd.c
--- dev/pci/agp_amd.c 9 Sep 2015 19:47:11 -0000 1.21
+++ dev/pci/agp_amd.c 13 Feb 2020 09:37:17 -0000
@@ -87,7 +87,7 @@ void agp_amd_bind_page(void *, bus_size_
 void agp_amd_unbind_page(void *, bus_size_t);
 void agp_amd_flush_tlb(void *);
 
-struct cfattach amdagp_ca = {
+const struct cfattach amdagp_ca = {
  sizeof(struct agp_amd_softc), agp_amd_probe, agp_amd_attach, NULL,
  agp_amd_activate
 };
Index: dev/pci/agp_i810.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/agp_i810.c,v
retrieving revision 1.94
diff -u -p -r1.94 agp_i810.c
--- dev/pci/agp_i810.c 14 Apr 2019 10:14:50 -0000 1.94
+++ dev/pci/agp_i810.c 13 Feb 2020 09:37:17 -0000
@@ -107,7 +107,7 @@ int intagp_gmch_match(struct pci_attach_
 extern void intagp_dma_sync(bus_dma_tag_t, bus_dmamap_t,
     bus_addr_t, bus_size_t, int);
 
-struct cfattach intagp_ca = {
+const struct cfattach intagp_ca = {
  sizeof(struct agp_i810_softc), agp_i810_probe, agp_i810_attach,
  NULL, agp_i810_activate,
 };
Index: dev/pci/agp_intel.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/agp_intel.c,v
retrieving revision 1.23
diff -u -p -r1.23 agp_intel.c
--- dev/pci/agp_intel.c 27 May 2014 12:40:00 -0000 1.23
+++ dev/pci/agp_intel.c 13 Feb 2020 09:37:17 -0000
@@ -78,7 +78,7 @@ void agp_intel_bind_page(void *, bus_add
 void agp_intel_unbind_page(void *, bus_addr_t);
 void agp_intel_flush_tlb(void *);
 
-struct cfattach intelagp_ca = {
+const struct cfattach intelagp_ca = {
  sizeof(struct agp_intel_softc), agp_intel_probe, agp_intel_attach,
  NULL, agp_intel_activate
 };
Index: dev/pci/agp_sis.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/agp_sis.c,v
retrieving revision 1.18
diff -u -p -r1.18 agp_sis.c
--- dev/pci/agp_sis.c 27 May 2014 12:40:00 -0000 1.18
+++ dev/pci/agp_sis.c 13 Feb 2020 09:37:17 -0000
@@ -66,7 +66,7 @@ void agp_sis_bind_page(void *, bus_addr_
 void agp_sis_unbind_page(void *, bus_addr_t);
 void agp_sis_flush_tlb(void *);
 
-struct cfattach sisagp_ca = {
+const struct cfattach sisagp_ca = {
  sizeof(struct agp_sis_softc), agp_sis_probe, agp_sis_attach,
  NULL, agp_sis_activate
 };
Index: dev/pci/agp_via.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/agp_via.c,v
retrieving revision 1.20
diff -u -p -r1.20 agp_via.c
--- dev/pci/agp_via.c 27 May 2014 12:40:00 -0000 1.20
+++ dev/pci/agp_via.c 13 Feb 2020 09:37:17 -0000
@@ -75,7 +75,7 @@ const struct agp_methods agp_via_methods
  agp_via_flush_tlb,
 };
 
-struct cfattach viaagp_ca = {
+const struct cfattach viaagp_ca = {
  sizeof(struct agp_via_softc), agp_via_probe, agp_via_attach,
  NULL, agp_via_activate
 };
Index: dev/pci/ahc_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/ahc_pci.c,v
retrieving revision 1.57
diff -u -p -r1.57 ahc_pci.c
--- dev/pci/ahc_pci.c 14 Mar 2015 03:38:48 -0000 1.57
+++ dev/pci/ahc_pci.c 13 Feb 2020 09:37:17 -0000
@@ -643,7 +643,7 @@ int ahc_pci_probe(struct device *, void
 void ahc_pci_attach(struct device *, struct device *, void *);
 
 
-struct cfattach ahc_pci_ca = {
+const struct cfattach ahc_pci_ca = {
  sizeof(struct ahc_softc), ahc_pci_probe, ahc_pci_attach
 };
 
Index: dev/pci/ahci_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/ahci_pci.c,v
retrieving revision 1.15
diff -u -p -r1.15 ahci_pci.c
--- dev/pci/ahci_pci.c 3 Aug 2018 22:18:13 -0000 1.15
+++ dev/pci/ahci_pci.c 13 Feb 2020 09:37:17 -0000
@@ -164,7 +164,7 @@ void ahci_pci_attach(struct device *,
 int ahci_pci_detach(struct device *, int);
 int ahci_pci_activate(struct device *, int);
 
-struct cfattach ahci_pci_ca = {
+const struct cfattach ahci_pci_ca = {
  sizeof(struct ahci_pci_softc),
  ahci_pci_match,
  ahci_pci_attach,
@@ -172,7 +172,7 @@ struct cfattach ahci_pci_ca = {
  ahci_pci_activate
 };
 
-struct cfattach ahci_jmb_ca = {
+const struct cfattach ahci_jmb_ca = {
  sizeof(struct ahci_pci_softc),
  ahci_pci_match,
  ahci_pci_attach,
Index: dev/pci/ahd_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/ahd_pci.c,v
retrieving revision 1.25
diff -u -p -r1.25 ahd_pci.c
--- dev/pci/ahd_pci.c 31 Jan 2019 18:01:14 -0000 1.25
+++ dev/pci/ahd_pci.c 13 Feb 2020 09:37:17 -0000
@@ -284,7 +284,7 @@ int ahd_pci_probe(struct device *, void
 void ahd_pci_attach(struct device *, struct device *, void *);
 int ahd_activate(struct device *, int);
 
-struct cfattach ahd_pci_ca = {
+const struct cfattach ahd_pci_ca = {
         sizeof(struct ahd_softc), ahd_pci_probe, ahd_pci_attach,
  NULL, ahd_activate
 };
Index: dev/pci/alipm.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/alipm.c,v
retrieving revision 1.16
diff -u -p -r1.16 alipm.c
--- dev/pci/alipm.c 5 Oct 2012 10:51:28 -0000 1.16
+++ dev/pci/alipm.c 13 Feb 2020 09:37:17 -0000
@@ -114,7 +114,7 @@ void alipm_smb_release_bus(void *, int);
 int alipm_smb_exec(void *, i2c_op_t, i2c_addr_t, const void *,
     size_t, void *, size_t, int);
 
-struct cfattach alipm_ca = {
+const struct cfattach alipm_ca = {
  sizeof(struct alipm_softc),
  alipm_match,
  alipm_attach
Index: dev/pci/amas.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/amas.c,v
retrieving revision 1.6
diff -u -p -r1.6 amas.c
--- dev/pci/amas.c 4 Jan 2020 01:34:24 -0000 1.6
+++ dev/pci/amas.c 13 Feb 2020 09:37:17 -0000
@@ -119,7 +119,7 @@ static const struct amas_feature_t amas_
 };
 
 /* Probe code. */
-struct cfattach amas_ca = {
+const struct cfattach amas_ca = {
  sizeof(struct amas_softc),
  amas_match,
  amas_attach
Index: dev/pci/amdiic.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/amdiic.c,v
retrieving revision 1.12
diff -u -p -r1.12 amdiic.c
--- dev/pci/amdiic.c 9 Jan 2020 14:35:19 -0000 1.12
+++ dev/pci/amdiic.c 13 Feb 2020 09:37:17 -0000
@@ -110,7 +110,7 @@ int amdiic_i2c_exec(void *, i2c_op_t, i2
 
 int amdiic_intr(void *);
 
-struct cfattach amdiic_ca = {
+const struct cfattach amdiic_ca = {
  sizeof(struct amdiic_softc),
  amdiic_match,
  amdiic_attach
Index: dev/pci/amdpcib.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/amdpcib.c,v
retrieving revision 1.3
diff -u -p -r1.3 amdpcib.c
--- dev/pci/amdpcib.c 14 Mar 2015 03:38:48 -0000 1.3
+++ dev/pci/amdpcib.c 13 Feb 2020 09:37:17 -0000
@@ -81,7 +81,7 @@ struct cfdriver amdpcib_cd = {
 int amdpcib_match(struct device *, void *, void *);
 void amdpcib_attach(struct device *, struct device *, void *);
 
-struct cfattach amdpcib_ca = {
+const struct cfattach amdpcib_ca = {
  sizeof(struct amdpcib_softc), amdpcib_match, amdpcib_attach
 };
 
Index: dev/pci/amdpm.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/amdpm.c,v
retrieving revision 1.34
diff -u -p -r1.34 amdpm.c
--- dev/pci/amdpm.c 9 Jan 2020 14:35:19 -0000 1.34
+++ dev/pci/amdpm.c 13 Feb 2020 09:37:17 -0000
@@ -184,7 +184,7 @@ int amdpm_i2c_exec(void *, i2c_op_t, i2c
 
 int amdpm_intr(void *);
 
-struct cfattach amdpm_ca = {
+const struct cfattach amdpm_ca = {
  sizeof(struct amdpm_softc), amdpm_match, amdpm_attach,
  NULL, amdpm_activate
 };
Index: dev/pci/ami_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/ami_pci.c,v
retrieving revision 1.43
diff -u -p -r1.43 ami_pci.c
--- dev/pci/ami_pci.c 28 Oct 2008 11:43:10 -0000 1.43
+++ dev/pci/ami_pci.c 13 Feb 2020 09:37:17 -0000
@@ -65,7 +65,7 @@ int ami_pci_find_device(void *);
 int ami_pci_match(struct device *, void *, void *);
 void ami_pci_attach(struct device *, struct device *, void *);
 
-struct cfattach ami_pci_ca = {
+const struct cfattach ami_pci_ca = {
  sizeof(struct ami_softc), ami_pci_match, ami_pci_attach
 };
 
Index: dev/pci/arc.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/arc.c,v
retrieving revision 1.109
diff -u -p -r1.109 arc.c
--- dev/pci/arc.c 25 Jan 2020 21:48:42 -0000 1.109
+++ dev/pci/arc.c 13 Feb 2020 09:37:17 -0000
@@ -679,7 +679,7 @@ void arc_refresh_sensors(void *);
 #endif /* SMALL_KERNEL */
 #endif
 
-struct cfattach arc_ca = {
+const struct cfattach arc_ca = {
  sizeof(struct arc_softc), arc_match, arc_attach, arc_detach,
  arc_activate
 };
Index: dev/pci/auacer.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/auacer.c,v
retrieving revision 1.22
diff -u -p -r1.22 auacer.c
--- dev/pci/auacer.c 14 Dec 2019 12:35:19 -0000 1.22
+++ dev/pci/auacer.c 13 Feb 2020 09:37:17 -0000
@@ -144,7 +144,7 @@ void auacer_attach(struct device *, stru
 int auacer_activate(struct device *, int);
 int auacer_intr(void *);
 
-struct cfattach auacer_ca = {
+const struct cfattach auacer_ca = {
         sizeof(struct auacer_softc), auacer_match, auacer_attach, NULL,
  auacer_activate
 };
Index: dev/pci/auglx.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/auglx.c,v
retrieving revision 1.17
diff -u -p -r1.17 auglx.c
--- dev/pci/auglx.c 14 Dec 2019 12:37:05 -0000 1.17
+++ dev/pci/auglx.c 13 Feb 2020 09:37:17 -0000
@@ -270,7 +270,7 @@ int auglx_write_codec(void *, u_int8_t,
 void auglx_reset_codec(void *);
 enum ac97_host_flags auglx_flags_codec(void *);
 
-struct cfattach auglx_ca = {
+const struct cfattach auglx_ca = {
  sizeof(struct auglx_softc), auglx_match, auglx_attach, NULL,
  auglx_activate
 };
Index: dev/pci/auich.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/auich.c,v
retrieving revision 1.112
diff -u -p -r1.112 auich.c
--- dev/pci/auich.c 22 Aug 2019 09:47:29 -0000 1.112
+++ dev/pci/auich.c 13 Feb 2020 09:37:17 -0000
@@ -251,7 +251,7 @@ int  auich_intr(void *);
 
 int auich_activate(struct device *, int);
 
-struct cfattach auich_ca = {
+const struct cfattach auich_ca = {
  sizeof(struct auich_softc), auich_match, auich_attach,
  NULL, auich_activate
 };
Index: dev/pci/auixp.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/auixp.c,v
retrieving revision 1.42
diff -u -p -r1.42 auixp.c
--- dev/pci/auixp.c 24 Jan 2020 03:29:55 -0000 1.42
+++ dev/pci/auixp.c 13 Feb 2020 09:37:17 -0000
@@ -102,7 +102,7 @@ int auixp_detach(struct device *, int);
 
 int auixp_activate(struct device *, int);
 
-struct cfattach auixp_ca = {
+const struct cfattach auixp_ca = {
  sizeof(struct auixp_softc), auixp_match, auixp_attach,
  NULL, auixp_activate
 };
Index: dev/pci/autri.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/autri.c,v
retrieving revision 1.44
diff -u -p -r1.44 autri.c
--- dev/pci/autri.c 11 Jan 2020 09:08:39 -0000 1.44
+++ dev/pci/autri.c 13 Feb 2020 09:37:17 -0000
@@ -114,7 +114,7 @@ struct cfdriver autri_cd = {
  NULL, "autri", DV_DULL
 };
 
-struct cfattach autri_ca = {
+const struct cfattach autri_ca = {
  sizeof(struct autri_softc), autri_match, autri_attach, NULL,
  autri_activate
 };
Index: dev/pci/auvia.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/auvia.c,v
retrieving revision 1.60
diff -u -p -r1.60 auvia.c
--- dev/pci/auvia.c 1 Dec 2019 21:14:13 -0000 1.60
+++ dev/pci/auvia.c 13 Feb 2020 09:37:17 -0000
@@ -103,7 +103,7 @@ struct  cfdriver auvia_cd = {
  NULL, "auvia", DV_DULL
 };
 
-struct cfattach auvia_ca = {
+const struct cfattach auvia_ca = {
  sizeof (struct auvia_softc), auvia_match, auvia_attach,
     NULL, auvia_activate
 };
Index: dev/pci/azalia.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/azalia.c,v
retrieving revision 1.254
diff -u -p -r1.254 azalia.c
--- dev/pci/azalia.c 4 Jan 2020 01:34:24 -0000 1.254
+++ dev/pci/azalia.c 13 Feb 2020 09:37:17 -0000
@@ -280,7 +280,7 @@ int azalia_resume(azalia_t *);
 int azalia_resume_codec(codec_t *);
 
 /* variables */
-struct cfattach azalia_ca = {
+const struct cfattach azalia_ca = {
  sizeof(azalia_t), azalia_pci_match, azalia_pci_attach,
  azalia_pci_detach, azalia_pci_activate
 };
Index: dev/pci/berkwdt.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/berkwdt.c,v
retrieving revision 1.9
diff -u -p -r1.9 berkwdt.c
--- dev/pci/berkwdt.c 8 Sep 2017 05:36:52 -0000 1.9
+++ dev/pci/berkwdt.c 13 Feb 2020 09:37:17 -0000
@@ -54,7 +54,7 @@ int berkwdt_send_command(struct berkwdt_
 
 int berkwdt_set_timeout(void *, int);
 
-struct cfattach berkwdt_ca = {
+const struct cfattach berkwdt_ca = {
  sizeof(struct berkwdt_softc), berkwdt_match, berkwdt_attach,
  NULL, berkwdt_activate
 };
Index: dev/pci/cac_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/cac_pci.c,v
retrieving revision 1.16
diff -u -p -r1.16 cac_pci.c
--- dev/pci/cac_pci.c 31 Dec 2019 00:16:03 -0000 1.16
+++ dev/pci/cac_pci.c 13 Feb 2020 09:37:17 -0000
@@ -65,7 +65,7 @@ void cac_pci_l0_intr_enable(struct cac_s
 int cac_pci_l0_intr_pending(struct cac_softc *);
 void cac_pci_l0_submit(struct cac_softc *, struct cac_ccb *);
 
-struct cfattach cac_pci_ca = {
+const struct cfattach cac_pci_ca = {
  sizeof(struct cac_softc), cac_pci_match, cac_pci_attach
 };
 
Index: dev/pci/ccp_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/ccp_pci.c,v
retrieving revision 1.5
diff -u -p -r1.5 ccp_pci.c
--- dev/pci/ccp_pci.c 4 Jan 2020 01:34:24 -0000 1.5
+++ dev/pci/ccp_pci.c 13 Feb 2020 09:37:17 -0000
@@ -36,7 +36,7 @@
 int ccp_pci_match(struct device *, void *, void *);
 void ccp_pci_attach(struct device *, struct device *, void *);
 
-struct cfattach ccp_pci_ca = {
+const struct cfattach ccp_pci_ca = {
  sizeof(struct ccp_softc),
  ccp_pci_match,
  ccp_pci_attach,
Index: dev/pci/ciss_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/ciss_pci.c,v
retrieving revision 1.21
diff -u -p -r1.21 ciss_pci.c
--- dev/pci/ciss_pci.c 5 Jan 2020 01:07:58 -0000 1.21
+++ dev/pci/ciss_pci.c 13 Feb 2020 09:37:17 -0000
@@ -41,7 +41,7 @@ int ciss_pci_match(struct device *, void
 void ciss_pci_attach(struct device *, struct device *, void *);
 int ciss_activate(struct device *, int);
 
-struct cfattach ciss_pci_ca = {
+const struct cfattach ciss_pci_ca = {
  sizeof(struct ciss_softc), ciss_pci_match, ciss_pci_attach,
  NULL, ciss_activate
 };
Index: dev/pci/cmpci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/cmpci.c,v
retrieving revision 1.45
diff -u -p -r1.45 cmpci.c
--- dev/pci/cmpci.c 14 Sep 2018 08:37:34 -0000 1.45
+++ dev/pci/cmpci.c 13 Feb 2020 09:37:17 -0000
@@ -105,7 +105,7 @@ struct cfdriver cmpci_cd = {
  NULL, "cmpci", DV_DULL
 };
 
-struct cfattach cmpci_ca = {
+const struct cfattach cmpci_ca = {
  sizeof (struct cmpci_softc), cmpci_match, cmpci_attach, NULL,
  cmpci_activate
 };
Index: dev/pci/cs4280.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/cs4280.c,v
retrieving revision 1.53
diff -u -p -r1.53 cs4280.c
--- dev/pci/cs4280.c 24 Jan 2020 03:29:55 -0000 1.53
+++ dev/pci/cs4280.c 13 Feb 2020 09:37:17 -0000
@@ -185,7 +185,7 @@ struct cfdriver clcs_cd = {
  NULL, "clcs", DV_DULL
 };
 
-struct cfattach clcs_ca = {
+const struct cfattach clcs_ca = {
  sizeof(struct cs4280_softc), cs4280_match, cs4280_attach, NULL,
  cs4280_activate
 };
Index: dev/pci/cs4281.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/cs4281.c,v
retrieving revision 1.37
diff -u -p -r1.37 cs4281.c
--- dev/pci/cs4281.c 28 Dec 2019 07:55:48 -0000 1.37
+++ dev/pci/cs4281.c 13 Feb 2020 09:37:17 -0000
@@ -236,7 +236,7 @@ struct midi_hw_if cs4281_midi_hw_if = {
 };
 #endif
 
-struct cfattach clct_ca = {
+const struct cfattach clct_ca = {
  sizeof(struct cs4281_softc), cs4281_match, cs4281_attach, NULL,
  cs4281_activate
 };
Index: dev/pci/cy_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/cy_pci.c,v
retrieving revision 1.14
diff -u -p -r1.14 cy_pci.c
--- dev/pci/cy_pci.c 3 Apr 2011 15:36:02 -0000 1.14
+++ dev/pci/cy_pci.c 13 Feb 2020 09:37:17 -0000
@@ -60,7 +60,7 @@ struct cy_pci_softc {
  bus_space_handle_t sc_ioh; /* PLX i/o handle */
 };
 
-struct cfattach cy_pci_ca = {
+const struct cfattach cy_pci_ca = {
  sizeof(struct cy_pci_softc), cy_pci_match, cy_pci_attach
 };
 
Index: dev/pci/cz.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/cz.c,v
retrieving revision 1.22
diff -u -p -r1.22 cz.c
--- dev/pci/cz.c 9 Jan 2020 14:35:19 -0000 1.22
+++ dev/pci/cz.c 13 Feb 2020 09:37:17 -0000
@@ -165,7 +165,7 @@ int cz_match(struct device *, void *, vo
 void cz_attach(struct device *, struct device *, void *);
 int cz_wait_pci_doorbell(struct cz_softc *, char *);
 
-struct cfattach cz_ca = {
+const struct cfattach cz_ca = {
  sizeof(struct cz_softc), cz_match, cz_attach
 };
 
Index: dev/pci/dwiic_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/dwiic_pci.c,v
retrieving revision 1.9
diff -u -p -r1.9 dwiic_pci.c
--- dev/pci/dwiic_pci.c 31 Jul 2019 16:04:16 -0000 1.9
+++ dev/pci/dwiic_pci.c 13 Feb 2020 09:37:17 -0000
@@ -51,7 +51,7 @@ void dwiic_pci_bus_scan(struct device *
 struct aml_node *acpi_pci_match(struct device *dev, struct pci_attach_args *pa);
 #endif
 
-struct cfattach dwiic_pci_ca = {
+const struct cfattach dwiic_pci_ca = {
  sizeof(struct dwiic_softc),
  dwiic_pci_match,
  dwiic_pci_attach,
Index: dev/pci/eap.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/eap.c,v
retrieving revision 1.58
diff -u -p -r1.58 eap.c
--- dev/pci/eap.c 11 Jan 2020 09:09:09 -0000 1.58
+++ dev/pci/eap.c 13 Feb 2020 09:37:17 -0000
@@ -153,7 +153,7 @@ int eap_freemem(struct eap_softc *, stru
 #define EREAD2(sc, r) bus_space_read_2((sc)->iot, (sc)->ioh, (r))
 #define EREAD4(sc, r) bus_space_read_4((sc)->iot, (sc)->ioh, (r))
 
-struct cfattach eap_ca = {
+const struct cfattach eap_ca = {
  sizeof(struct eap_softc), eap_match, eap_attach, NULL, eap_activate
 };
 
Index: dev/pci/ehci_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/ehci_pci.c,v
retrieving revision 1.31
diff -u -p -r1.31 ehci_pci.c
--- dev/pci/ehci_pci.c 2 May 2019 20:28:46 -0000 1.31
+++ dev/pci/ehci_pci.c 13 Feb 2020 09:37:17 -0000
@@ -80,7 +80,7 @@ void ehci_pci_givecontroller(struct ehci
 #endif
 void ehci_pci_takecontroller(struct ehci_pci_softc *, int);
 
-struct cfattach ehci_pci_ca = {
+const struct cfattach ehci_pci_ca = {
  sizeof(struct ehci_pci_softc), ehci_pci_match, ehci_pci_attach,
  ehci_pci_detach, ehci_pci_activate
 };
Index: dev/pci/emuxki.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/emuxki.c,v
retrieving revision 1.53
diff -u -p -r1.53 emuxki.c
--- dev/pci/emuxki.c 13 Sep 2018 04:07:20 -0000 1.53
+++ dev/pci/emuxki.c 13 Feb 2020 09:37:17 -0000
@@ -203,7 +203,7 @@ struct cfdriver emu_cd = {
  NULL, "emu", DV_DULL
 };
 
-struct cfattach emu_ca = {
+const struct cfattach emu_ca = {
         sizeof(struct emuxki_softc),
         emuxki_match,
         emuxki_attach,
Index: dev/pci/envy.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/envy.c,v
retrieving revision 1.81
diff -u -p -r1.81 envy.c
--- dev/pci/envy.c 5 Jan 2020 01:07:58 -0000 1.81
+++ dev/pci/envy.c 13 Feb 2020 09:37:17 -0000
@@ -170,7 +170,7 @@ void ak5365_adc_devinfo(struct envy_soft
 void ak5365_adc_get(struct envy_softc *, struct mixer_ctrl *, int);
 int ak5365_adc_set(struct envy_softc *, struct mixer_ctrl *, int);
 
-struct cfattach envy_ca = {
+const struct cfattach envy_ca = {
  sizeof(struct envy_softc), envymatch, envyattach, envydetach,
  envyactivate
 };
Index: dev/pci/esa.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/esa.c,v
retrieving revision 1.35
diff -u -p -r1.35 esa.c
--- dev/pci/esa.c 14 Sep 2018 08:37:34 -0000 1.35
+++ dev/pci/esa.c 13 Feb 2020 09:37:17 -0000
@@ -180,7 +180,7 @@ struct cfdriver esa_cd = {
  NULL, "esa", DV_DULL
 };
 
-struct cfattach esa_ca = {
+const struct cfattach esa_ca = {
  sizeof(struct esa_softc), esa_match, esa_attach,
  esa_detach, esa_activate
 };
Index: dev/pci/eso.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/eso.c,v
retrieving revision 1.47
diff -u -p -r1.47 eso.c
--- dev/pci/eso.c 19 Jan 2020 00:18:34 -0000 1.47
+++ dev/pci/eso.c 13 Feb 2020 09:37:17 -0000
@@ -90,7 +90,7 @@ void eso_attach(struct device *, struct
 int eso_activate(struct device *, int);
 void eso_defer(struct device *);
 
-struct cfattach eso_ca = {
+const struct cfattach eso_ca = {
  sizeof (struct eso_softc), eso_match, eso_attach, NULL,
  eso_activate
 };
Index: dev/pci/fms.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/fms.c,v
retrieving revision 1.30
diff -u -p -r1.30 fms.c
--- dev/pci/fms.c 20 Dec 2016 15:31:00 -0000 1.30
+++ dev/pci/fms.c 13 Feb 2020 09:37:17 -0000
@@ -95,7 +95,7 @@ struct  cfdriver fms_cd = {
  NULL, "fms", DV_DULL
 };
 
-struct cfattach fms_ca = {
+const struct cfattach fms_ca = {
  sizeof (struct fms_softc), fms_match, fms_attach
 };
 
Index: dev/pci/gcu.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/gcu.c,v
retrieving revision 1.4
diff -u -p -r1.4 gcu.c
--- dev/pci/gcu.c 19 Mar 2015 00:18:11 -0000 1.4
+++ dev/pci/gcu.c 13 Feb 2020 09:37:17 -0000
@@ -42,7 +42,7 @@ struct cfdriver gcu_cd = {
  NULL, "gcu", DV_IFNET
 };
 
-struct cfattach gcu_ca = {
+const struct cfattach gcu_ca = {
  sizeof(struct gcu_softc), gcu_probe, gcu_attach
 };
 
Index: dev/pci/gdt_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/gdt_pci.c,v
retrieving revision 1.26
diff -u -p -r1.26 gdt_pci.c
--- dev/pci/gdt_pci.c 5 Jan 2020 01:07:58 -0000 1.26
+++ dev/pci/gdt_pci.c 13 Feb 2020 09:37:17 -0000
@@ -143,7 +143,7 @@ void gdt_mpr_release_event(struct gdt_so
 void gdt_mpr_set_sema0(struct gdt_softc *);
 int gdt_mpr_test_busy(struct gdt_softc *);
 
-struct cfattach gdt_pci_ca = {
+const struct cfattach gdt_pci_ca = {
  sizeof (struct gdt_softc), gdt_pci_probe, gdt_pci_attach
 };
 
Index: dev/pci/glxpcib.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/glxpcib.c,v
retrieving revision 1.14
diff -u -p -r1.14 glxpcib.c
--- dev/pci/glxpcib.c 10 Dec 2014 12:27:57 -0000 1.14
+++ dev/pci/glxpcib.c 13 Feb 2020 09:37:17 -0000
@@ -222,7 +222,7 @@ int glxpcib_activate(struct device *, in
 int glxpcib_search(struct device *, void *, void *);
 int glxpcib_print(void *, const char *);
 
-struct cfattach glxpcib_ca = {
+const struct cfattach glxpcib_ca = {
  sizeof(struct glxpcib_softc), glxpcib_match, glxpcib_attach,
  NULL, glxpcib_activate
 };
Index: dev/pci/hifn7751.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/hifn7751.c,v
retrieving revision 1.179
diff -u -p -r1.179 hifn7751.c
--- dev/pci/hifn7751.c 11 Jan 2020 21:34:03 -0000 1.179
+++ dev/pci/hifn7751.c 13 Feb 2020 09:37:17 -0000
@@ -72,7 +72,7 @@
 int hifn_probe(struct device *, void *, void *);
 void hifn_attach(struct device *, struct device *, void *);
 
-struct cfattach hifn_ca = {
+const struct cfattach hifn_ca = {
  sizeof(struct hifn_softc), hifn_probe, hifn_attach,
 };
 
Index: dev/pci/i82365_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/i82365_pci.c,v
retrieving revision 1.12
diff -u -p -r1.12 i82365_pci.c
--- dev/pci/i82365_pci.c 8 Sep 2017 05:36:52 -0000 1.12
+++ dev/pci/i82365_pci.c 13 Feb 2020 09:37:17 -0000
@@ -59,7 +59,7 @@
 int pcic_pci_match(struct device *, void *, void *);
 void pcic_pci_attach(struct device *, struct device *, void *);
 
-struct cfattach pcic_pci_ca = {
+const struct cfattach pcic_pci_ca = {
  sizeof(struct pcic_pci_softc), pcic_pci_match, pcic_pci_attach
 };
 
Index: dev/pci/ichiic.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/ichiic.c,v
retrieving revision 1.43
diff -u -p -r1.43 ichiic.c
--- dev/pci/ichiic.c 9 Jan 2020 14:35:19 -0000 1.43
+++ dev/pci/ichiic.c 13 Feb 2020 09:37:17 -0000
@@ -74,7 +74,7 @@ int ichiic_i2c_exec(void *, i2c_op_t, i2
 
 int ichiic_intr(void *);
 
-struct cfattach ichiic_ca = {
+const struct cfattach ichiic_ca = {
  sizeof(struct ichiic_softc),
  ichiic_match,
  ichiic_attach
Index: dev/pci/ichwdt.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/ichwdt.c,v
retrieving revision 1.6
diff -u -p -r1.6 ichwdt.c
--- dev/pci/ichwdt.c 19 Mar 2016 11:34:22 -0000 1.6
+++ dev/pci/ichwdt.c 13 Feb 2020 09:37:17 -0000
@@ -57,7 +57,7 @@ int ichwdt_activate(struct device *, int
 
 int ichwdt_cb(void *, int);
 
-struct cfattach ichwdt_ca = {
+const struct cfattach ichwdt_ca = {
  sizeof(struct ichwdt_softc),
  ichwdt_match,
  ichwdt_attach,
Index: dev/pci/if_acx_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_acx_pci.c,v
retrieving revision 1.9
diff -u -p -r1.9 if_acx_pci.c
--- dev/pci/if_acx_pci.c 24 Nov 2015 17:11:39 -0000 1.9
+++ dev/pci/if_acx_pci.c 13 Feb 2020 09:37:17 -0000
@@ -79,7 +79,7 @@ int acx_pci_match(struct device *, void
 void acx_pci_attach(struct device *, struct device *, void *);
 int acx_pci_detach(struct device *, int);
 
-struct cfattach acx_pci_ca = {
+const struct cfattach acx_pci_ca = {
  sizeof (struct acx_pci_softc), acx_pci_match, acx_pci_attach,
  acx_pci_detach
 };
Index: dev/pci/if_age.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_age.c,v
retrieving revision 1.35
diff -u -p -r1.35 if_age.c
--- dev/pci/if_age.c 8 Sep 2017 05:36:52 -0000 1.35
+++ dev/pci/if_age.c 13 Feb 2020 09:37:17 -0000
@@ -110,7 +110,7 @@ const struct pci_matchid age_devices[] =
  { PCI_VENDOR_ATTANSIC, PCI_PRODUCT_ATTANSIC_L1 }
 };
 
-struct cfattach age_ca = {
+const struct cfattach age_ca = {
  sizeof (struct age_softc), age_match, age_attach
 };
 
Index: dev/pci/if_alc.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_alc.c,v
retrieving revision 1.52
diff -u -p -r1.52 if_alc.c
--- dev/pci/if_alc.c 6 Jul 2019 13:55:20 -0000 1.52
+++ dev/pci/if_alc.c 13 Feb 2020 09:37:17 -0000
@@ -149,7 +149,7 @@ const struct pci_matchid alc_devices[] =
  { PCI_VENDOR_ATTANSIC, PCI_PRODUCT_ATTANSIC_E2500 }
 };
 
-struct cfattach alc_ca = {
+const struct cfattach alc_ca = {
  sizeof (struct alc_softc), alc_match, alc_attach, alc_detach,
  alc_activate
 };
Index: dev/pci/if_ale.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_ale.c,v
retrieving revision 1.46
diff -u -p -r1.46 if_ale.c
--- dev/pci/if_ale.c 8 Sep 2017 05:36:52 -0000 1.46
+++ dev/pci/if_ale.c 13 Feb 2020 09:37:17 -0000
@@ -113,7 +113,7 @@ const struct pci_matchid ale_devices[] =
  { PCI_VENDOR_ATTANSIC, PCI_PRODUCT_ATTANSIC_L1E }
 };
 
-struct cfattach ale_ca = {
+const struct cfattach ale_ca = {
  sizeof (struct ale_softc), ale_match, ale_attach, NULL,
  ale_activate
 };
Index: dev/pci/if_an_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_an_pci.c,v
retrieving revision 1.19
diff -u -p -r1.19 if_an_pci.c
--- dev/pci/if_an_pci.c 24 Nov 2015 17:11:39 -0000 1.19
+++ dev/pci/if_an_pci.c 13 Feb 2020 09:37:17 -0000
@@ -86,7 +86,7 @@
 int an_pci_match(struct device *, void *, void *);
 void an_pci_attach(struct device *, struct device *, void *);
 
-struct cfattach an_pci_ca = {
+const struct cfattach an_pci_ca = {
  sizeof (struct an_softc), an_pci_match, an_pci_attach
 };
 
Index: dev/pci/if_ath_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_ath_pci.c,v
retrieving revision 1.26
diff -u -p -r1.26 if_ath_pci.c
--- dev/pci/if_ath_pci.c 24 Nov 2015 17:11:39 -0000 1.26
+++ dev/pci/if_ath_pci.c 13 Feb 2020 09:37:17 -0000
@@ -87,7 +87,7 @@ int ath_pci_match(struct device *, void
 void ath_pci_attach(struct device *, struct device *, void *);
 int ath_pci_detach(struct device *, int);
 
-struct cfattach ath_pci_ca = {
+const struct cfattach ath_pci_ca = {
  sizeof(struct ath_pci_softc),
  ath_pci_match,
  ath_pci_attach,
Index: dev/pci/if_athn_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_athn_pci.c,v
retrieving revision 1.20
diff -u -p -r1.20 if_athn_pci.c
--- dev/pci/if_athn_pci.c 23 Apr 2019 01:17:09 -0000 1.20
+++ dev/pci/if_athn_pci.c 13 Feb 2020 09:37:17 -0000
@@ -80,7 +80,7 @@ void athn_pci_write(struct athn_softc *
 void athn_pci_write_barrier(struct athn_softc *);
 void athn_pci_disable_aspm(struct athn_softc *);
 
-struct cfattach athn_pci_ca = {
+const struct cfattach athn_pci_ca = {
  sizeof (struct athn_pci_softc),
  athn_pci_match,
  athn_pci_attach,
Index: dev/pci/if_atw_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_atw_pci.c,v
retrieving revision 1.18
diff -u -p -r1.18 if_atw_pci.c
--- dev/pci/if_atw_pci.c 24 Nov 2015 17:11:39 -0000 1.18
+++ dev/pci/if_atw_pci.c 13 Feb 2020 09:37:17 -0000
@@ -88,7 +88,7 @@ int atw_pci_match(struct device *, void
 void atw_pci_attach(struct device *, struct device *, void *);
 int atw_pci_detach(struct device *, int);
 
-struct cfattach atw_pci_ca = {
+const struct cfattach atw_pci_ca = {
     sizeof (struct atw_softc), atw_pci_match, atw_pci_attach, atw_pci_detach,
     atw_activate
 };
Index: dev/pci/if_bce.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_bce.c,v
retrieving revision 1.52
diff -u -p -r1.52 if_bce.c
--- dev/pci/if_bce.c 22 Jan 2017 10:17:38 -0000 1.52
+++ dev/pci/if_bce.c 13 Feb 2020 09:37:17 -0000
@@ -163,7 +163,7 @@ int bcedebug = 0;
 #define DPRINTFN(n,x)
 #endif
 
-struct cfattach bce_ca = {
+const struct cfattach bce_ca = {
  sizeof(struct bce_softc), bce_probe, bce_attach, NULL, bce_activate
 };
 struct cfdriver bce_cd = {
Index: dev/pci/if_bge.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_bge.c,v
retrieving revision 1.388
diff -u -p -r1.388 if_bge.c
--- dev/pci/if_bge.c 9 Nov 2018 14:14:31 -0000 1.388
+++ dev/pci/if_bge.c 13 Feb 2020 09:37:17 -0000
@@ -121,7 +121,7 @@ void bge_attach(struct device *, struct
 int bge_detach(struct device *, int);
 int bge_activate(struct device *, int);
 
-struct cfattach bge_ca = {
+const struct cfattach bge_ca = {
  sizeof(struct bge_softc), bge_probe, bge_attach, bge_detach,
  bge_activate
 };
Index: dev/pci/if_bnx.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_bnx.c,v
retrieving revision 1.126
diff -u -p -r1.126 if_bnx.c
--- dev/pci/if_bnx.c 6 Dec 2019 01:58:47 -0000 1.126
+++ dev/pci/if_bnx.c 13 Feb 2020 09:37:17 -0000
@@ -391,7 +391,7 @@ void bnx_tick(void *);
 /****************************************************************************/
 /* OpenBSD device dispatch table.                                           */
 /****************************************************************************/
-struct cfattach bnx_ca = {
+const struct cfattach bnx_ca = {
  sizeof(struct bnx_softc), bnx_probe, bnx_attach
 };
 
Index: dev/pci/if_bnxt.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_bnxt.c,v
retrieving revision 1.21
diff -u -p -r1.21 if_bnxt.c
--- dev/pci/if_bnxt.c 3 Sep 2019 09:00:44 -0000 1.21
+++ dev/pci/if_bnxt.c 13 Feb 2020 09:37:17 -0000
@@ -375,7 +375,7 @@ int bnxt_hwrm_fw_set_time(struct bnxt_so
 #endif
 
 
-struct cfattach bnxt_ca = {
+const struct cfattach bnxt_ca = {
  sizeof(struct bnxt_softc), bnxt_match, bnxt_attach
 };
 
Index: dev/pci/if_bwfm_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_bwfm_pci.c,v
retrieving revision 1.33
diff -u -p -r1.33 if_bwfm_pci.c
--- dev/pci/if_bwfm_pci.c 15 Jan 2020 22:23:55 -0000 1.33
+++ dev/pci/if_bwfm_pci.c 13 Feb 2020 09:37:17 -0000
@@ -305,7 +305,7 @@ struct bwfm_proto_ops bwfm_pci_msgbuf_op
  .proto_rxctl = NULL,
 };
 
-struct cfattach bwfm_pci_ca = {
+const struct cfattach bwfm_pci_ca = {
  sizeof(struct bwfm_pci_softc),
  bwfm_pci_match,
  bwfm_pci_attach,
Index: dev/pci/if_bwi_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_bwi_pci.c,v
retrieving revision 1.17
diff -u -p -r1.17 if_bwi_pci.c
--- dev/pci/if_bwi_pci.c 10 May 2019 16:44:36 -0000 1.17
+++ dev/pci/if_bwi_pci.c 13 Feb 2020 09:37:17 -0000
@@ -72,7 +72,7 @@ struct bwi_pci_softc {
  bus_size_t psc_mapsize;
 };
 
-struct cfattach bwi_pci_ca = {
+const struct cfattach bwi_pci_ca = {
  sizeof(struct bwi_pci_softc), bwi_pci_match, bwi_pci_attach,
  bwi_pci_detach, bwi_pci_activate
 };
Index: dev/pci/if_cas.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_cas.c,v
retrieving revision 1.51
diff -u -p -r1.51 if_cas.c
--- dev/pci/if_cas.c 22 Jan 2017 10:17:38 -0000 1.51
+++ dev/pci/if_cas.c 13 Feb 2020 09:37:17 -0000
@@ -95,7 +95,7 @@ int cas_match(struct device *, void *, v
 void cas_attach(struct device *, struct device *, void *);
 int cas_pci_enaddr(struct cas_softc *, struct pci_attach_args *);
 
-struct cfattach cas_ca = {
+const struct cfattach cas_ca = {
  sizeof(struct cas_softc), cas_match, cas_attach
 };
 
Index: dev/pci/if_dc_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_dc_pci.c,v
retrieving revision 1.76
diff -u -p -r1.76 if_dc_pci.c
--- dev/pci/if_dc_pci.c 11 Apr 2017 14:43:49 -0000 1.76
+++ dev/pci/if_dc_pci.c 13 Feb 2020 09:37:17 -0000
@@ -521,7 +521,7 @@ dc_pci_detach(struct device *self, int f
  return (0);
 }
 
-struct cfattach dc_pci_ca = {
+const struct cfattach dc_pci_ca = {
  sizeof(struct dc_softc), dc_pci_match, dc_pci_attach, dc_pci_detach,
  dc_activate
 };
Index: dev/pci/if_de.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_de.c,v
retrieving revision 1.137
diff -u -p -r1.137 if_de.c
--- dev/pci/if_de.c 8 Mar 2017 12:02:41 -0000 1.137
+++ dev/pci/if_de.c 13 Feb 2020 09:37:17 -0000
@@ -121,7 +121,7 @@
 int tulip_probe(struct device *parent, void *match, void *aux);
 void tulip_attach(struct device * const parent, struct device * const self, void * const aux);
 
-struct cfattach de_ca = {
+const struct cfattach de_ca = {
  sizeof(tulip_softc_t), tulip_probe, tulip_attach
 };
 
Index: dev/pci/if_devar.h
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_devar.h,v
retrieving revision 1.39
diff -u -p -r1.39 if_devar.h
--- dev/pci/if_devar.h 25 Nov 2018 19:52:08 -0000 1.39
+++ dev/pci/if_devar.h 13 Feb 2020 09:42:35 -0000
@@ -792,7 +792,6 @@ static const struct {
   TULIP_MAX_TXSEG, TULIP_DATA_PER_DESC, \
   0, BUS_DMA_NOWAIT, (mapp))
 
-extern struct cfattach de_ca;
 extern struct cfdriver de_cd;
 #define TULIP_UNIT_TO_SOFTC(unit) ((tulip_softc_t *) de_cd.cd_devs[unit])
 #define TULIP_IFP_TO_SOFTC(ifp)         ((tulip_softc_t *)((ifp)->if_softc))
Index: dev/pci/if_em.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_em.c,v
retrieving revision 1.344
diff -u -p -r1.344 if_em.c
--- dev/pci/if_em.c 4 Feb 2020 10:59:23 -0000 1.344
+++ dev/pci/if_em.c 13 Feb 2020 09:37:17 -0000
@@ -294,7 +294,7 @@ void em_flush_desc_rings(struct em_softc
  *  OpenBSD Device Interface Entry Points
  *********************************************************************/
 
-struct cfattach em_ca = {
+const struct cfattach em_ca = {
  sizeof(struct em_softc), em_probe, em_attach, em_detach,
  em_activate
 };
Index: dev/pci/if_ep_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_ep_pci.c,v
retrieving revision 1.34
diff -u -p -r1.34 if_ep_pci.c
--- dev/pci/if_ep_pci.c 24 Nov 2015 17:11:39 -0000 1.34
+++ dev/pci/if_ep_pci.c 13 Feb 2020 09:37:17 -0000
@@ -77,7 +77,7 @@
 int ep_pci_match(struct device *, void *, void *);
 void ep_pci_attach(struct device *, struct device *, void *);
 
-struct cfattach ep_pci_ca = {
+const struct cfattach ep_pci_ca = {
  sizeof(struct ep_softc), ep_pci_match, ep_pci_attach
 };
 
Index: dev/pci/if_epic_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_epic_pci.c,v
retrieving revision 1.16
diff -u -p -r1.16 if_epic_pci.c
--- dev/pci/if_epic_pci.c 24 Nov 2015 17:11:39 -0000 1.16
+++ dev/pci/if_epic_pci.c 13 Feb 2020 09:37:17 -0000
@@ -80,7 +80,7 @@ struct epic_pci_softc {
 int epic_pci_match(struct device *, void *, void *);
 void epic_pci_attach(struct device *, struct device *, void *);
 
-struct cfattach epic_pci_ca = {
+const struct cfattach epic_pci_ca = {
  sizeof(struct epic_pci_softc), epic_pci_match, epic_pci_attach
 };
 
Index: dev/pci/if_et.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_et.c,v
retrieving revision 1.37
diff -u -p -r1.37 if_et.c
--- dev/pci/if_et.c 8 Sep 2017 05:36:52 -0000 1.37
+++ dev/pci/if_et.c 13 Feb 2020 09:37:17 -0000
@@ -158,7 +158,7 @@ const struct pci_matchid et_devices[] =
  { PCI_VENDOR_LUCENT, PCI_PRODUCT_LUCENT_ET1310_GBE }
 };
 
-struct cfattach et_ca = {
+const struct cfattach et_ca = {
  sizeof (struct et_softc), et_match, et_attach, et_detach
 };
 
Index: dev/pci/if_fxp_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_fxp_pci.c,v
retrieving revision 1.66
diff -u -p -r1.66 if_fxp_pci.c
--- dev/pci/if_fxp_pci.c 5 Jan 2020 01:07:58 -0000 1.66
+++ dev/pci/if_fxp_pci.c 13 Feb 2020 09:37:17 -0000
@@ -81,7 +81,7 @@ struct fxp_pci_softc {
  bus_size_t psc_mapsize;
 };
 
-struct cfattach fxp_pci_ca = {
+const struct cfattach fxp_pci_ca = {
  sizeof(struct fxp_pci_softc), fxp_pci_match, fxp_pci_attach,
  fxp_pci_detach, fxp_activate
 };
Index: dev/pci/if_gem_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_gem_pci.c,v
retrieving revision 1.39
diff -u -p -r1.39 if_gem_pci.c
--- dev/pci/if_gem_pci.c 28 Nov 2015 09:42:10 -0000 1.39
+++ dev/pci/if_gem_pci.c 13 Feb 2020 09:37:17 -0000
@@ -79,7 +79,7 @@ void gem_attach_pci(struct device *, str
 int gem_detach_pci(struct device *, int);
 int gem_pci_enaddr(struct gem_softc *, struct pci_attach_args *);
 
-struct cfattach gem_pci_ca = {
+const struct cfattach gem_pci_ca = {
  sizeof(struct gem_pci_softc), gem_match_pci, gem_attach_pci,
  gem_detach_pci
 };
Index: dev/pci/if_hme_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_hme_pci.c,v
retrieving revision 1.22
diff -u -p -r1.22 if_hme_pci.c
--- dev/pci/if_hme_pci.c 5 Dec 2019 12:46:54 -0000 1.22
+++ dev/pci/if_hme_pci.c 13 Feb 2020 09:37:17 -0000
@@ -72,7 +72,7 @@ void hmeattach_pci(struct device *, stru
 int hmedetach_pci(struct device *, int);
 int hme_pci_enaddr(struct hme_softc *, struct pci_attach_args *);
 
-struct cfattach hme_pci_ca = {
+const struct cfattach hme_pci_ca = {
  sizeof(struct hme_pci_softc), hmematch_pci, hmeattach_pci, hmedetach_pci
 };
 
Index: dev/pci/if_iavf.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_iavf.c,v
retrieving revision 1.7
diff -u -p -r1.7 if_iavf.c
--- dev/pci/if_iavf.c 15 Sep 2019 01:57:19 -0000 1.7
+++ dev/pci/if_iavf.c 13 Feb 2020 09:37:17 -0000
@@ -680,7 +680,7 @@ struct cfdriver iavf_cd = {
  DV_IFNET,
 };
 
-struct cfattach iavf_ca = {
+const struct cfattach iavf_ca = {
  sizeof(struct iavf_softc),
  iavf_match,
  iavf_attach,
Index: dev/pci/if_ipw.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_ipw.c,v
retrieving revision 1.126
diff -u -p -r1.126 if_ipw.c
--- dev/pci/if_ipw.c 30 Sep 2019 01:53:05 -0000 1.126
+++ dev/pci/if_ipw.c 13 Feb 2020 09:37:17 -0000
@@ -129,7 +129,7 @@ int ipw_debug = 0;
 #define DPRINTFN(n, x)
 #endif
 
-struct cfattach ipw_ca = {
+const struct cfattach ipw_ca = {
  sizeof (struct ipw_softc), ipw_match, ipw_attach, NULL,
  ipw_activate
 };
Index: dev/pci/if_iwi.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_iwi.c,v
retrieving revision 1.143
diff -u -p -r1.143 if_iwi.c
--- dev/pci/if_iwi.c 30 Sep 2019 01:53:05 -0000 1.143
+++ dev/pci/if_iwi.c 13 Feb 2020 09:37:17 -0000
@@ -136,7 +136,7 @@ int iwi_debug = 0;
 #define DPRINTFN(n, x)
 #endif
 
-struct cfattach iwi_ca = {
+const struct cfattach iwi_ca = {
  sizeof (struct iwi_softc), iwi_match, iwi_attach, NULL,
  iwi_activate
 };
Index: dev/pci/if_iwm.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_iwm.c,v
retrieving revision 1.295
diff -u -p -r1.295 if_iwm.c
--- dev/pci/if_iwm.c 12 Feb 2020 16:02:51 -0000 1.295
+++ dev/pci/if_iwm.c 13 Feb 2020 09:37:17 -0000
@@ -9387,7 +9387,7 @@ struct cfdriver iwm_cd = {
  NULL, "iwm", DV_IFNET
 };
 
-struct cfattach iwm_ca = {
+const struct cfattach iwm_ca = {
  sizeof(struct iwm_softc), iwm_match, iwm_attach,
  NULL, iwm_activate
 };
Index: dev/pci/if_iwn.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_iwn.c,v
retrieving revision 1.221
diff -u -p -r1.221 if_iwn.c
--- dev/pci/if_iwn.c 6 Nov 2019 14:52:35 -0000 1.221
+++ dev/pci/if_iwn.c 13 Feb 2020 09:37:17 -0000
@@ -304,7 +304,7 @@ struct cfdriver iwn_cd = {
  NULL, "iwn", DV_IFNET
 };
 
-struct cfattach iwn_ca = {
+const struct cfattach iwn_ca = {
  sizeof (struct iwn_softc), iwn_match, iwn_attach, iwn_detach,
  iwn_activate
 };
Index: dev/pci/if_ix.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_ix.c,v
retrieving revision 1.158
diff -u -p -r1.158 if_ix.c
--- dev/pci/if_ix.c 19 Aug 2019 07:07:35 -0000 1.158
+++ dev/pci/if_ix.c 13 Feb 2020 09:37:17 -0000
@@ -177,7 +177,7 @@ struct cfdriver ix_cd = {
  NULL, "ix", DV_IFNET
 };
 
-struct cfattach ix_ca = {
+const struct cfattach ix_ca = {
  sizeof(struct ix_softc), ixgbe_probe, ixgbe_attach, ixgbe_detach
 };
 
Index: dev/pci/if_ixgb.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_ixgb.c,v
retrieving revision 1.71
diff -u -p -r1.71 if_ixgb.c
--- dev/pci/if_ixgb.c 22 Jan 2017 10:17:38 -0000 1.71
+++ dev/pci/if_ixgb.c 13 Feb 2020 09:37:17 -0000
@@ -119,7 +119,7 @@ void ixgb_dma_free(struct ixgb_softc *,
  *  OpenBSD Device Interface Entry Points
  *********************************************************************/
 
-struct cfattach ixgb_ca = {
+const struct cfattach ixgb_ca = {
  sizeof(struct ixgb_softc), ixgb_probe, ixgb_attach
 };
 
Index: dev/pci/if_ixl.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_ixl.c,v
retrieving revision 1.46
diff -u -p -r1.46 if_ixl.c
--- dev/pci/if_ixl.c 19 Nov 2019 03:33:43 -0000 1.46
+++ dev/pci/if_ixl.c 13 Feb 2020 09:37:17 -0000
@@ -1249,7 +1249,7 @@ struct cfdriver ixl_cd = {
  DV_IFNET,
 };
 
-struct cfattach ixl_ca = {
+const struct cfattach ixl_ca = {
  sizeof(struct ixl_softc),
  ixl_match,
  ixl_attach,
Index: dev/pci/if_jme.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_jme.c,v
retrieving revision 1.52
diff -u -p -r1.52 if_jme.c
--- dev/pci/if_jme.c 27 May 2019 20:42:00 -0000 1.52
+++ dev/pci/if_jme.c 13 Feb 2020 09:37:17 -0000
@@ -124,7 +124,7 @@ const struct pci_matchid jme_devices[] =
  { PCI_VENDOR_JMICRON, PCI_PRODUCT_JMICRON_JMC260 }
 };
 
-struct cfattach jme_ca = {
+const struct cfattach jme_ca = {
  sizeof (struct jme_softc), jme_match, jme_attach
 };
 
Index: dev/pci/if_lge.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_lge.c,v
retrieving revision 1.74
diff -u -p -r1.74 if_lge.c
--- dev/pci/if_lge.c 25 Sep 2019 09:30:28 -0000 1.74
+++ dev/pci/if_lge.c 13 Feb 2020 09:37:17 -0000
@@ -112,7 +112,7 @@
 int lge_probe(struct device *, void *, void *);
 void lge_attach(struct device *, struct device *, void *);
 
-struct cfattach lge_ca = {
+const struct cfattach lge_ca = {
  sizeof(struct lge_softc), lge_probe, lge_attach
 };
 
Index: dev/pci/if_lii.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_lii.c,v
retrieving revision 1.44
diff -u -p -r1.44 if_lii.c
--- dev/pci/if_lii.c 22 Jan 2017 10:17:38 -0000 1.44
+++ dev/pci/if_lii.c 13 Feb 2020 09:37:17 -0000
@@ -125,7 +125,7 @@ struct cfdriver lii_cd = {
  DV_IFNET
 };
 
-struct cfattach lii_ca = {
+const struct cfattach lii_ca = {
  sizeof(struct lii_softc),
  lii_match,
  lii_attach,
Index: dev/pci/if_malo_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_malo_pci.c,v
retrieving revision 1.10
diff -u -p -r1.10 if_malo_pci.c
--- dev/pci/if_malo_pci.c 24 Nov 2015 17:11:39 -0000 1.10
+++ dev/pci/if_malo_pci.c 13 Feb 2020 09:37:17 -0000
@@ -69,7 +69,7 @@ struct malo_pci_softc {
  bus_size_t sc_mapsize2;
 };
 
-struct cfattach malo_pci_ca = {
+const struct cfattach malo_pci_ca = {
  sizeof(struct malo_pci_softc), malo_pci_match, malo_pci_attach,
  malo_pci_detach, malo_pci_activate
 };
Index: dev/pci/if_mcx.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_mcx.c,v
retrieving revision 1.36
diff -u -p -r1.36 if_mcx.c
--- dev/pci/if_mcx.c 5 Oct 2019 09:15:53 -0000 1.36
+++ dev/pci/if_mcx.c 13 Feb 2020 09:37:17 -0000
@@ -2109,7 +2109,7 @@ struct cfdriver mcx_cd = {
  DV_IFNET,
 };
 
-struct cfattach mcx_ca = {
+const struct cfattach mcx_ca = {
  sizeof(struct mcx_softc),
  mcx_match,
  mcx_attach,
Index: dev/pci/if_msk.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_msk.c,v
retrieving revision 1.134
diff -u -p -r1.134 if_msk.c
--- dev/pci/if_msk.c 5 Jan 2020 01:07:58 -0000 1.134
+++ dev/pci/if_msk.c 13 Feb 2020 09:37:17 -0000
@@ -2165,7 +2165,7 @@ msk_stop(struct sk_if_softc *sc_if, int
  }
 }
 
-struct cfattach mskc_ca = {
+const struct cfattach mskc_ca = {
  sizeof(struct sk_softc), mskc_probe, mskc_attach, mskc_detach,
  mskc_activate
 };
@@ -2174,7 +2174,7 @@ struct cfdriver mskc_cd = {
  NULL, "mskc", DV_DULL
 };
 
-struct cfattach msk_ca = {
+const struct cfattach msk_ca = {
  sizeof(struct sk_if_softc), msk_probe, msk_attach, msk_detach,
  msk_activate
 };
Index: dev/pci/if_mtd_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_mtd_pci.c,v
retrieving revision 1.11
diff -u -p -r1.11 if_mtd_pci.c
--- dev/pci/if_mtd_pci.c 22 Dec 2014 02:28:52 -0000 1.11
+++ dev/pci/if_mtd_pci.c 13 Feb 2020 09:37:17 -0000
@@ -54,7 +54,7 @@ static int mtd_pci_match(struct device *
 static void mtd_pci_attach(struct device *, struct device *, void *);
 
 
-struct cfattach mtd_pci_ca = {
+const struct cfattach mtd_pci_ca = {
  sizeof(struct mtd_softc), mtd_pci_match, mtd_pci_attach
 };
 
Index: dev/pci/if_myx.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_myx.c,v
retrieving revision 1.108
diff -u -p -r1.108 if_myx.c
--- dev/pci/if_myx.c 3 Jul 2019 10:34:59 -0000 1.108
+++ dev/pci/if_myx.c 13 Feb 2020 09:37:17 -0000
@@ -233,7 +233,7 @@ void myx_refill(void *);
 struct cfdriver myx_cd = {
  NULL, "myx", DV_IFNET
 };
-struct cfattach myx_ca = {
+const struct cfattach myx_ca = {
  sizeof(struct myx_softc), myx_match, myx_attach
 };
 
Index: dev/pci/if_ne_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_ne_pci.c,v
retrieving revision 1.20
diff -u -p -r1.20 if_ne_pci.c
--- dev/pci/if_ne_pci.c 22 Dec 2014 02:28:52 -0000 1.20
+++ dev/pci/if_ne_pci.c 13 Feb 2020 09:37:17 -0000
@@ -74,7 +74,7 @@ struct ne_pci_softc {
 int ne_pci_match(struct device *, void *, void *);
 void ne_pci_attach(struct device *, struct device *, void *);
 
-struct cfattach ne_pci_ca = {
+const struct cfattach ne_pci_ca = {
  sizeof(struct ne_pci_softc), ne_pci_match, ne_pci_attach
 };
 
Index: dev/pci/if_nep.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_nep.c,v
retrieving revision 1.31
diff -u -p -r1.31 if_nep.c
--- dev/pci/if_nep.c 9 Nov 2018 14:14:31 -0000 1.31
+++ dev/pci/if_nep.c 13 Feb 2020 09:37:17 -0000
@@ -457,7 +457,7 @@ struct nep_softc {
 int nep_match(struct device *, void *, void *);
 void nep_attach(struct device *, struct device *, void *);
 
-struct cfattach nep_ca = {
+const struct cfattach nep_ca = {
  sizeof(struct nep_softc), nep_match, nep_attach
 };
 
Index: dev/pci/if_nfe.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_nfe.c,v
retrieving revision 1.121
diff -u -p -r1.121 if_nfe.c
--- dev/pci/if_nfe.c 25 Sep 2019 09:30:28 -0000 1.121
+++ dev/pci/if_nfe.c 13 Feb 2020 09:37:17 -0000
@@ -91,7 +91,7 @@ void nfe_tick(void *);
 int nfe_wol(struct ifnet*, int);
 #endif
 
-struct cfattach nfe_ca = {
+const struct cfattach nfe_ca = {
  sizeof (struct nfe_softc), nfe_match, nfe_attach, NULL,
  nfe_activate
 };
Index: dev/pci/if_nge.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_nge.c,v
retrieving revision 1.93
diff -u -p -r1.93 if_nge.c
--- dev/pci/if_nge.c 25 Sep 2019 09:30:28 -0000 1.93
+++ dev/pci/if_nge.c 13 Feb 2020 09:37:17 -0000
@@ -1915,7 +1915,7 @@ nge_stop(struct nge_softc *sc)
  sizeof(sc->nge_ldata->nge_tx_list));
 }
 
-struct cfattach nge_ca = {
+const struct cfattach nge_ca = {
  sizeof(struct nge_softc), nge_probe, nge_attach
 };
 
Index: dev/pci/if_nxe.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_nxe.c,v
retrieving revision 1.76
diff -u -p -r1.76 if_nxe.c
--- dev/pci/if_nxe.c 5 Jan 2020 01:07:58 -0000 1.76
+++ dev/pci/if_nxe.c 13 Feb 2020 09:37:17 -0000
@@ -729,7 +729,7 @@ int nxe_match(struct device *, void *,
 void nxe_attach(struct device *, struct device *, void *);
 int nxe_intr(void *);
 
-struct cfattach nxe_ca = {
+const struct cfattach nxe_ca = {
  sizeof(struct nxe_softc),
  nxe_match,
  nxe_attach
Index: dev/pci/if_oce.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_oce.c,v
retrieving revision 1.100
diff -u -p -r1.100 if_oce.c
--- dev/pci/if_oce.c 27 Nov 2017 16:53:04 -0000 1.100
+++ dev/pci/if_oce.c 13 Feb 2020 09:37:17 -0000
@@ -499,7 +499,7 @@ struct cfdriver oce_cd = {
  NULL, "oce", DV_IFNET
 };
 
-struct cfattach oce_ca = {
+const struct cfattach oce_ca = {
  sizeof(struct oce_softc), oce_match, oce_attach, NULL, NULL
 };
 
Index: dev/pci/if_pcn.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_pcn.c,v
retrieving revision 1.43
diff -u -p -r1.43 if_pcn.c
--- dev/pci/if_pcn.c 22 Jan 2017 10:17:38 -0000 1.43
+++ dev/pci/if_pcn.c 13 Feb 2020 09:37:17 -0000
@@ -470,7 +470,7 @@ int pcn_copy_small = 0;
 int pcn_match(struct device *, void *, void *);
 void pcn_attach(struct device *, struct device *, void *);
 
-struct cfattach pcn_ca = {
+const struct cfattach pcn_ca = {
  sizeof(struct pcn_softc), pcn_match, pcn_attach,
 };
 
Index: dev/pci/if_pgt_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_pgt_pci.c,v
retrieving revision 1.18
diff -u -p -r1.18 if_pgt_pci.c
--- dev/pci/if_pgt_pci.c 11 Dec 2015 16:07:02 -0000 1.18
+++ dev/pci/if_pgt_pci.c 13 Feb 2020 09:37:17 -0000
@@ -65,7 +65,7 @@ struct pgt_pci_softc {
  bus_size_t sc_mapsize;
 };
 
-struct cfattach pgt_pci_ca = {
+const struct cfattach pgt_pci_ca = {
  sizeof(struct pgt_pci_softc), pgt_pci_match, pgt_pci_attach,
  pgt_pci_detach, pgt_activate
 };
Index: dev/pci/if_ral_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_ral_pci.c,v
retrieving revision 1.27
diff -u -p -r1.27 if_ral_pci.c
--- dev/pci/if_ral_pci.c 2 Oct 2018 02:05:34 -0000 1.27
+++ dev/pci/if_ral_pci.c 13 Feb 2020 09:37:17 -0000
@@ -106,7 +106,7 @@ int ral_pci_detach(struct device *, int)
 int ral_pci_activate(struct device *, int);
 void ral_pci_wakeup(struct ral_pci_softc *);
 
-struct cfattach ral_pci_ca = {
+const struct cfattach ral_pci_ca = {
  sizeof (struct ral_pci_softc), ral_pci_match, ral_pci_attach,
  ral_pci_detach, ral_pci_activate
 };
Index: dev/pci/if_re_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_re_pci.c,v
retrieving revision 1.52
diff -u -p -r1.52 if_re_pci.c
--- dev/pci/if_re_pci.c 11 Apr 2018 08:02:18 -0000 1.52
+++ dev/pci/if_re_pci.c 13 Feb 2020 09:37:17 -0000
@@ -80,7 +80,7 @@ int re_pci_activate(struct device *, int
 /*
  * PCI autoconfig definitions
  */
-struct cfattach re_pci_ca = {
+const struct cfattach re_pci_ca = {
  sizeof(struct re_pci_softc),
  re_pci_probe,
  re_pci_attach,
Index: dev/pci/if_rge.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_rge.c,v
retrieving revision 1.2
diff -u -p -r1.2 if_rge.c
--- dev/pci/if_rge.c 2 Jan 2020 09:00:45 -0000 1.2
+++ dev/pci/if_rge.c 13 Feb 2020 09:37:17 -0000
@@ -111,7 +111,7 @@ static const struct {
  RTL8125_MAC_CFG3_MCU
 };
 
-struct cfattach rge_ca = {
+const struct cfattach rge_ca = {
  sizeof(struct rge_softc), rge_match, rge_attach
 };
 
Index: dev/pci/if_rl_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_rl_pci.c,v
retrieving revision 1.33
diff -u -p -r1.33 if_rl_pci.c
--- dev/pci/if_rl_pci.c 24 Nov 2015 17:11:39 -0000 1.33
+++ dev/pci/if_rl_pci.c 13 Feb 2020 09:37:17 -0000
@@ -84,7 +84,7 @@ struct rl_pci_softc {
  bus_size_t psc_mapsize;
 };
 
-struct cfattach rl_pci_ca = {
+const struct cfattach rl_pci_ca = {
  sizeof(struct rl_pci_softc), rl_pci_match, rl_pci_attach, rl_pci_detach,
  rl_activate
 };
Index: dev/pci/if_rtw_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_rtw_pci.c,v
retrieving revision 1.20
diff -u -p -r1.20 if_rtw_pci.c
--- dev/pci/if_rtw_pci.c 24 Nov 2015 17:11:39 -0000 1.20
+++ dev/pci/if_rtw_pci.c 13 Feb 2020 09:37:17 -0000
@@ -93,7 +93,7 @@ struct rtw_pci_softc {
 int rtw_pci_match(struct device *, void *, void *);
 void rtw_pci_attach(struct device *, struct device *, void *);
 
-struct cfattach rtw_pci_ca = {
+const struct cfattach rtw_pci_ca = {
  sizeof (struct rtw_pci_softc), rtw_pci_match, rtw_pci_attach,
     rtw_pci_detach, rtw_activate
 };
Index: dev/pci/if_sf_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_sf_pci.c,v
retrieving revision 1.14
diff -u -p -r1.14 if_sf_pci.c
--- dev/pci/if_sf_pci.c 24 Nov 2015 17:11:39 -0000 1.14
+++ dev/pci/if_sf_pci.c 13 Feb 2020 09:37:17 -0000
@@ -73,7 +73,7 @@ struct sf_pci_softc {
 int sf_pci_match(struct device *, void *, void *);
 void sf_pci_attach(struct device *, struct device *, void *);
 
-struct cfattach sf_pci_ca = {
+const struct cfattach sf_pci_ca = {
         sizeof(struct sf_pci_softc), sf_pci_match, sf_pci_attach
 };
 
Index: dev/pci/if_sis.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_sis.c,v
retrieving revision 1.135
diff -u -p -r1.135 if_sis.c
--- dev/pci/if_sis.c 22 Jan 2017 10:17:38 -0000 1.135
+++ dev/pci/if_sis.c 13 Feb 2020 09:37:17 -0000
@@ -98,7 +98,7 @@ int sis_probe(struct device *, void *, v
 void sis_attach(struct device *, struct device *, void *);
 int sis_activate(struct device *, int);
 
-struct cfattach sis_ca = {
+const struct cfattach sis_ca = {
  sizeof(struct sis_softc), sis_probe, sis_attach, NULL,
  sis_activate
 };
Index: dev/pci/if_sk.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_sk.c,v
retrieving revision 1.189
diff -u -p -r1.189 if_sk.c
--- dev/pci/if_sk.c 4 Jun 2017 04:29:23 -0000 1.189
+++ dev/pci/if_sk.c 13 Feb 2020 09:37:17 -0000
@@ -2526,7 +2526,7 @@ sk_stop(struct sk_if_softc *sc_if, int s
  }
 }
 
-struct cfattach skc_ca = {
+const struct cfattach skc_ca = {
  sizeof(struct sk_softc), skc_probe, skc_attach, skc_detach,
  skc_activate
 };
@@ -2535,7 +2535,7 @@ struct cfdriver skc_cd = {
  0, "skc", DV_DULL
 };
 
-struct cfattach sk_ca = {
+const struct cfattach sk_ca = {
  sizeof(struct sk_if_softc), sk_probe, sk_attach, sk_detach,
  sk_activate
 };
Index: dev/pci/if_ste.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_ste.c,v
retrieving revision 1.65
diff -u -p -r1.65 if_ste.c
--- dev/pci/if_ste.c 22 Jan 2017 10:17:38 -0000 1.65
+++ dev/pci/if_ste.c 13 Feb 2020 09:37:17 -0000
@@ -140,7 +140,7 @@ const struct pci_matchid ste_devices[] =
  { PCI_VENDOR_SUNDANCE, PCI_PRODUCT_SUNDANCE_ST201_2 }
 };
 
-struct cfattach ste_ca = {
+const struct cfattach ste_ca = {
  sizeof(struct ste_softc), ste_probe, ste_attach
 };
 
Index: dev/pci/if_stge.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_stge.c,v
retrieving revision 1.69
diff -u -p -r1.69 if_stge.c
--- dev/pci/if_stge.c 22 Jan 2017 10:17:38 -0000 1.69
+++ dev/pci/if_stge.c 13 Feb 2020 09:37:17 -0000
@@ -105,7 +105,7 @@ void stge_attach(struct device *, struct
 
 int stge_copy_small = 0;
 
-struct cfattach stge_ca = {
+const struct cfattach stge_ca = {
  sizeof(struct stge_softc), stge_match, stge_attach,
 };
 
Index: dev/pci/if_tht.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_tht.c,v
retrieving revision 1.141
diff -u -p -r1.141 if_tht.c
--- dev/pci/if_tht.c 9 Jan 2020 14:35:19 -0000 1.141
+++ dev/pci/if_tht.c 13 Feb 2020 09:37:17 -0000
@@ -403,7 +403,7 @@ int thtc_match(struct device *, void *
 void thtc_attach(struct device *, struct device *, void *);
 int thtc_print(void *, const char *);
 
-struct cfattach thtc_ca = {
+const struct cfattach thtc_ca = {
  sizeof(struct thtc_softc), thtc_match, thtc_attach
 };
 
@@ -501,7 +501,7 @@ void tht_attach(struct device *, struc
 void tht_mountroot(struct device *);
 int tht_intr(void *);
 
-struct cfattach tht_ca = {
+const struct cfattach tht_ca = {
  sizeof(struct tht_softc), tht_match, tht_attach
 };
 
Index: dev/pci/if_ti_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_ti_pci.c,v
retrieving revision 1.5
diff -u -p -r1.5 if_ti_pci.c
--- dev/pci/if_ti_pci.c 24 Nov 2015 17:11:39 -0000 1.5
+++ dev/pci/if_ti_pci.c 13 Feb 2020 09:37:17 -0000
@@ -92,7 +92,7 @@
 int ti_pci_match(struct device *, void *, void *);
 void ti_pci_attach(struct device *, struct device *, void *);
 
-struct cfattach ti_pci_ca = {
+const struct cfattach ti_pci_ca = {
  sizeof(struct ti_softc), ti_pci_match, ti_pci_attach
 };
 
Index: dev/pci/if_tl.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_tl.c,v
retrieving revision 1.72
diff -u -p -r1.72 if_tl.c
--- dev/pci/if_tl.c 5 Jan 2020 01:07:58 -0000 1.72
+++ dev/pci/if_tl.c 13 Feb 2020 09:37:17 -0000
@@ -2021,7 +2021,7 @@ tl_wait_up(void *xsc)
  ifq_clr_oactive(&ifp->if_snd);
 }
 
-struct cfattach tl_ca = {
+const struct cfattach tl_ca = {
  sizeof(struct tl_softc), tl_probe, tl_attach
 };
 
Index: dev/pci/if_txp.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_txp.c,v
retrieving revision 1.127
diff -u -p -r1.127 if_txp.c
--- dev/pci/if_txp.c 23 Aug 2017 10:10:56 -0000 1.127
+++ dev/pci/if_txp.c 13 Feb 2020 09:37:17 -0000
@@ -114,7 +114,7 @@ void txp_rxbuf_reclaim(struct txp_softc
 void txp_rx_reclaim(struct txp_softc *, struct txp_rx_ring *,
     struct txp_dma_alloc *);
 
-struct cfattach txp_ca = {
+const struct cfattach txp_ca = {
  sizeof(struct txp_softc), txp_probe, txp_attach,
 };
 
Index: dev/pci/if_vge.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_vge.c,v
retrieving revision 1.72
diff -u -p -r1.72 if_vge.c
--- dev/pci/if_vge.c 5 Jan 2020 01:07:58 -0000 1.72
+++ dev/pci/if_vge.c 13 Feb 2020 09:37:17 -0000
@@ -153,7 +153,7 @@ int vge_cam_set (struct vge_softc *, ui
 void vge_iff (struct vge_softc *);
 void vge_reset (struct vge_softc *);
 
-struct cfattach vge_ca = {
+const struct cfattach vge_ca = {
  sizeof(struct vge_softc), vge_probe, vge_attach, vge_detach
 };
 
Index: dev/pci/if_vic.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_vic.c,v
retrieving revision 1.99
diff -u -p -r1.99 if_vic.c
--- dev/pci/if_vic.c 9 Nov 2019 03:53:44 -0000 1.99
+++ dev/pci/if_vic.c 13 Feb 2020 09:37:17 -0000
@@ -305,7 +305,7 @@ struct cfdriver vic_cd = {
 int vic_match(struct device *, void *, void *);
 void vic_attach(struct device *, struct device *, void *);
 
-struct cfattach vic_ca = {
+const struct cfattach vic_ca = {
  sizeof(struct vic_softc), vic_match, vic_attach
 };
 
Index: dev/pci/if_vmx.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_vmx.c,v
retrieving revision 1.55
diff -u -p -r1.55 if_vmx.c
--- dev/pci/if_vmx.c 27 Oct 2019 22:24:40 -0000 1.55
+++ dev/pci/if_vmx.c 13 Feb 2020 09:37:17 -0000
@@ -187,7 +187,7 @@ const struct pci_matchid vmx_devices[] =
  { PCI_VENDOR_VMWARE, PCI_PRODUCT_VMWARE_NET_3 }
 };
 
-struct cfattach vmx_ca = {
+const struct cfattach vmx_ca = {
  sizeof(struct vmxnet3_softc), vmxnet3_match, vmxnet3_attach
 };
 
Index: dev/pci/if_vr.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_vr.c,v
retrieving revision 1.153
diff -u -p -r1.153 if_vr.c
--- dev/pci/if_vr.c 22 Jan 2017 10:17:38 -0000 1.153
+++ dev/pci/if_vr.c 13 Feb 2020 09:37:17 -0000
@@ -99,7 +99,7 @@ int vr_quirks(struct pci_attach_args *);
 void vr_attach(struct device *, struct device *, void *);
 int vr_activate(struct device *, int);
 
-struct cfattach vr_ca = {
+const struct cfattach vr_ca = {
  sizeof(struct vr_softc), vr_probe, vr_attach, NULL,
  vr_activate
 };
Index: dev/pci/if_vte.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_vte.c,v
retrieving revision 1.22
diff -u -p -r1.22 if_vte.c
--- dev/pci/if_vte.c 9 Nov 2018 14:14:31 -0000 1.22
+++ dev/pci/if_vte.c 13 Feb 2020 09:37:17 -0000
@@ -103,7 +103,7 @@ const struct pci_matchid vte_devices[] =
  { PCI_VENDOR_RDC, PCI_PRODUCT_RDC_R6040_ETHER }
 };
 
-struct cfattach vte_ca = {
+const struct cfattach vte_ca = {
  sizeof(struct vte_softc), vte_match, vte_attach
 };
 
Index: dev/pci/if_wb.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_wb.c,v
retrieving revision 1.70
diff -u -p -r1.70 if_wb.c
--- dev/pci/if_wb.c 1 Apr 2019 06:01:07 -0000 1.70
+++ dev/pci/if_wb.c 13 Feb 2020 09:37:17 -0000
@@ -1616,7 +1616,7 @@ void wb_stop(sc)
  bzero(&sc->wb_ldata->wb_tx_list, sizeof(sc->wb_ldata->wb_tx_list));
 }
 
-struct cfattach wb_ca = {
+const struct cfattach wb_ca = {
  sizeof(struct wb_softc), wb_probe, wb_attach
 };
 
Index: dev/pci/if_wi_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_wi_pci.c,v
retrieving revision 1.54
diff -u -p -r1.54 if_wi_pci.c
--- dev/pci/if_wi_pci.c 31 Dec 2019 10:05:32 -0000 1.54
+++ dev/pci/if_wi_pci.c 13 Feb 2020 09:37:17 -0000
@@ -86,7 +86,7 @@ struct wi_pci_softc {
  struct wi_softc sc_wi; /* real softc */
 };
 
-struct cfattach wi_pci_ca = {
+const struct cfattach wi_pci_ca = {
  sizeof (struct wi_pci_softc), wi_pci_match, wi_pci_attach, NULL,
  wi_pci_activate
 };
Index: dev/pci/if_wpi.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_wpi.c,v
retrieving revision 1.149
diff -u -p -r1.149 if_wpi.c
--- dev/pci/if_wpi.c 30 Sep 2019 01:53:05 -0000 1.149
+++ dev/pci/if_wpi.c 13 Feb 2020 09:37:17 -0000
@@ -159,7 +159,7 @@ struct cfdriver wpi_cd = {
  NULL, "wpi", DV_IFNET
 };
 
-struct cfattach wpi_ca = {
+const struct cfattach wpi_ca = {
  sizeof (struct wpi_softc), wpi_match, wpi_attach, wpi_detach,
  wpi_activate
 };
Index: dev/pci/if_xge.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_xge.c,v
retrieving revision 1.78
diff -u -p -r1.78 if_xge.c
--- dev/pci/if_xge.c 17 Jul 2019 02:13:43 -0000 1.78
+++ dev/pci/if_xge.c 13 Feb 2020 09:37:17 -0000
@@ -328,7 +328,7 @@ pif_wkey(struct xge_softc *sc, bus_size_
 #endif
 }
 
-struct cfattach xge_ca = {
+const struct cfattach xge_ca = {
  sizeof(struct xge_softc), xge_match, xge_attach
 };
 
Index: dev/pci/if_xl_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_xl_pci.c,v
retrieving revision 1.46
diff -u -p -r1.46 if_xl_pci.c
--- dev/pci/if_xl_pci.c 24 Nov 2015 17:11:40 -0000 1.46
+++ dev/pci/if_xl_pci.c 13 Feb 2020 09:37:17 -0000
@@ -96,7 +96,7 @@ struct xl_pci_softc {
  bus_size_t psc_funsize;
 };
 
-struct cfattach xl_pci_ca = {
+const struct cfattach xl_pci_ca = {
  sizeof(struct xl_pci_softc), xl_pci_match, xl_pci_attach,
  xl_pci_detach, xl_activate
 };
Index: dev/pci/iha_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/iha_pci.c,v
retrieving revision 1.12
diff -u -p -r1.12 iha_pci.c
--- dev/pci/iha_pci.c 18 Oct 2007 21:10:58 -0000 1.12
+++ dev/pci/iha_pci.c 13 Feb 2020 09:37:17 -0000
@@ -47,7 +47,7 @@
 int  iha_pci_probe(struct device *, void *, void *);
 void iha_pci_attach(struct device *, struct device *, void *);
 
-struct cfattach iha_pci_ca = {
+const struct cfattach iha_pci_ca = {
  sizeof(struct iha_softc), iha_pci_probe, iha_pci_attach
 };
 
Index: dev/pci/ips.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/ips.c,v
retrieving revision 1.115
diff -u -p -r1.115 ips.c
--- dev/pci/ips.c 5 Feb 2020 16:29:30 -0000 1.115
+++ dev/pci/ips.c 13 Feb 2020 09:37:17 -0000
@@ -487,7 +487,7 @@ void ips_ccb_put(void *, void *);
 int ips_dmamem_alloc(struct dmamem *, bus_dma_tag_t, bus_size_t);
 void ips_dmamem_free(struct dmamem *);
 
-struct cfattach ips_ca = {
+const struct cfattach ips_ca = {
  sizeof(struct ips_softc),
  ips_match,
  ips_attach
Index: dev/pci/itherm.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/itherm.c,v
retrieving revision 1.5
diff -u -p -r1.5 itherm.c
--- dev/pci/itherm.c 6 Nov 2014 05:49:00 -0000 1.5
+++ dev/pci/itherm.c 13 Feb 2020 09:37:17 -0000
@@ -106,7 +106,7 @@ struct cfdriver itherm_cd = {
  NULL, "itherm", DV_DULL
 };
 
-struct cfattach itherm_ca = {
+const struct cfattach itherm_ca = {
  sizeof(struct itherm_softc), itherm_probe, itherm_attach, NULL,
  itherm_activate
 };
Index: dev/pci/jmb.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/jmb.c,v
retrieving revision 1.9
diff -u -p -r1.9 jmb.c
--- dev/pci/jmb.c 14 Mar 2015 03:38:48 -0000 1.9
+++ dev/pci/jmb.c 13 Feb 2020 09:37:17 -0000
@@ -70,7 +70,7 @@ struct jmb_softc {
  struct device sc_dev;
 };
 
-struct cfattach jmb_ca = {
+const struct cfattach jmb_ca = {
  sizeof(struct jmb_softc),
  jmb_match,
  jmb_attach,
Index: dev/pci/kate.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/kate.c,v
retrieving revision 1.7
diff -u -p -r1.7 kate.c
--- dev/pci/kate.c 4 Jan 2020 01:34:24 -0000 1.7
+++ dev/pci/kate.c 13 Feb 2020 09:37:17 -0000
@@ -80,7 +80,7 @@ int kate_match(struct device *, void *,
 void kate_attach(struct device *, struct device *, void *);
 void kate_refresh(void *);
 
-struct cfattach kate_ca = {
+const struct cfattach kate_ca = {
  sizeof(struct kate_softc), kate_match, kate_attach
 };
 
Index: dev/pci/km.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/km.c,v
retrieving revision 1.13
diff -u -p -r1.13 km.c
--- dev/pci/km.c 5 Jan 2020 01:07:58 -0000 1.13
+++ dev/pci/km.c 13 Feb 2020 09:37:17 -0000
@@ -58,7 +58,7 @@ int km_match(struct device *, void *, vo
 void km_attach(struct device *, struct device *, void *);
 void km_refresh(void *);
 
-struct cfattach km_ca = {
+const struct cfattach km_ca = {
  sizeof(struct km_softc), km_match, km_attach
 };
 
Index: dev/pci/ksmn.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/ksmn.c,v
retrieving revision 1.4
diff -u -p -r1.4 ksmn.c
--- dev/pci/ksmn.c 4 Jan 2020 01:34:24 -0000 1.4
+++ dev/pci/ksmn.c 13 Feb 2020 09:37:17 -0000
@@ -84,7 +84,7 @@ int ksmn_match(struct device *, void *,
 void ksmn_attach(struct device *, struct device *, void *);
 void ksmn_refresh(void *);
 
-struct cfattach ksmn_ca = {
+const struct cfattach ksmn_ca = {
  sizeof(struct ksmn_softc), ksmn_match, ksmn_attach
 };
 
Index: dev/pci/maestro.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/maestro.c,v
retrieving revision 1.43
diff -u -p -r1.43 maestro.c
--- dev/pci/maestro.c 11 Apr 2018 04:48:31 -0000 1.43
+++ dev/pci/maestro.c 13 Feb 2020 09:37:17 -0000
@@ -522,7 +522,7 @@ struct cfdriver maestro_cd = {
  NULL, "maestro", DV_DULL
 };
 
-struct cfattach maestro_ca = {
+const struct cfattach maestro_ca = {
  sizeof (struct maestro_softc), maestro_match, maestro_attach,
  NULL, maestro_activate
 };
Index: dev/pci/mbg.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/mbg.c,v
retrieving revision 1.30
diff -u -p -r1.30 mbg.c
--- dev/pci/mbg.c 8 Sep 2017 05:36:52 -0000 1.30
+++ dev/pci/mbg.c 13 Feb 2020 09:37:17 -0000
@@ -147,7 +147,7 @@ int mbg_read_asic(struct mbg_softc *, in
     struct timespec *tstamp);
 void mbg_timeout(void *);
 
-struct cfattach mbg_ca = {
+const struct cfattach mbg_ca = {
  sizeof(struct mbg_softc), mbg_probe, mbg_attach
 };
 
Index: dev/pci/mfi_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/mfi_pci.c,v
retrieving revision 1.30
diff -u -p -r1.30 mfi_pci.c
--- dev/pci/mfi_pci.c 31 Dec 2019 00:00:09 -0000 1.30
+++ dev/pci/mfi_pci.c 13 Feb 2020 09:37:17 -0000
@@ -44,7 +44,7 @@
 int mfi_pci_match(struct device *, void *, void *);
 void mfi_pci_attach(struct device *, struct device *, void *);
 
-struct cfattach mfi_pci_ca = {
+const struct cfattach mfi_pci_ca = {
  sizeof(struct mfi_softc), mfi_pci_match, mfi_pci_attach
 };
 
Index: dev/pci/mfii.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/mfii.c,v
retrieving revision 1.67
diff -u -p -r1.67 mfii.c
--- dev/pci/mfii.c 5 Feb 2020 16:29:30 -0000 1.67
+++ dev/pci/mfii.c 13 Feb 2020 09:37:17 -0000
@@ -365,7 +365,7 @@ void mfii_attach(struct device *, struc
 int mfii_detach(struct device *, int);
 int mfii_activate(struct device *, int);
 
-struct cfattach mfii_ca = {
+const struct cfattach mfii_ca = {
  sizeof(struct mfii_softc),
  mfii_match,
  mfii_attach,
Index: dev/pci/mmuagp.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/mmuagp.c,v
retrieving revision 1.6
diff -u -p -r1.6 mmuagp.c
--- dev/pci/mmuagp.c 4 Jan 2020 01:34:24 -0000 1.6
+++ dev/pci/mmuagp.c 13 Feb 2020 09:37:17 -0000
@@ -117,7 +117,7 @@ struct mmuagp_softc {
  int n_mctrl;
 };
 
-struct cfattach mmuagp_ca = {
+const struct cfattach mmuagp_ca = {
         sizeof(struct mmuagp_softc), mmuagp_probe, mmuagp_attach
 };
 
Index: dev/pci/mpi_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/mpi_pci.c,v
retrieving revision 1.25
diff -u -p -r1.25 mpi_pci.c
--- dev/pci/mpi_pci.c 15 Sep 2014 12:00:04 -0000 1.25
+++ dev/pci/mpi_pci.c 13 Feb 2020 09:37:17 -0000
@@ -56,7 +56,7 @@ struct mpi_pci_softc {
  void *psc_ih;
 };
 
-struct cfattach mpi_pci_ca = {
+const struct cfattach mpi_pci_ca = {
  sizeof(struct mpi_pci_softc), mpi_pci_match, mpi_pci_attach,
  mpi_pci_detach
 };
Index: dev/pci/mpii.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/mpii.c,v
retrieving revision 1.128
diff -u -p -r1.128 mpii.c
--- dev/pci/mpii.c 5 Feb 2020 16:29:30 -0000 1.128
+++ dev/pci/mpii.c 13 Feb 2020 09:37:17 -0000
@@ -250,7 +250,7 @@ int mpii_detach(struct device *, int);
 
 int mpii_intr(void *);
 
-struct cfattach mpii_ca = {
+const struct cfattach mpii_ca = {
  sizeof(struct mpii_softc),
  mpii_match,
  mpii_attach,
Index: dev/pci/neo.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/neo.c,v
retrieving revision 1.33
diff -u -p -r1.33 neo.c
--- dev/pci/neo.c 11 Apr 2018 04:48:31 -0000 1.33
+++ dev/pci/neo.c 13 Feb 2020 09:37:17 -0000
@@ -207,7 +207,7 @@ struct cfdriver neo_cd = {
 };
 
 
-struct cfattach neo_ca = {
+const struct cfattach neo_ca = {
  sizeof(struct neo_softc), neo_match, neo_attach, NULL,
  neo_activate
 };
Index: dev/pci/nviic.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/nviic.c,v
retrieving revision 1.17
diff -u -p -r1.17 nviic.c
--- dev/pci/nviic.c 14 Mar 2015 03:38:48 -0000 1.17
+++ dev/pci/nviic.c 13 Feb 2020 09:37:17 -0000
@@ -93,7 +93,7 @@ struct nviic_softc {
  struct nviic_controller sc_nc[NVIIC_NBUS];
 };
 
-struct cfattach nviic_ca = {
+const struct cfattach nviic_ca = {
  sizeof(struct nviic_softc), nviic_match, nviic_attach
 };
 
Index: dev/pci/nvme_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/nvme_pci.c,v
retrieving revision 1.8
diff -u -p -r1.8 nvme_pci.c
--- dev/pci/nvme_pci.c 27 Jun 2019 17:55:42 -0000 1.8
+++ dev/pci/nvme_pci.c 13 Feb 2020 09:37:17 -0000
@@ -52,7 +52,7 @@ void nvme_pci_attach(struct device *, st
 int nvme_pci_detach(struct device *, int);
 int nvme_pci_activate(struct device *, int);
 
-struct cfattach nvme_pci_ca = {
+const struct cfattach nvme_pci_ca = {
  sizeof(struct nvme_pci_softc),
  nvme_pci_match,
  nvme_pci_attach,
Index: dev/pci/ohci_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/ohci_pci.c,v
retrieving revision 1.41
diff -u -p -r1.41 ohci_pci.c
--- dev/pci/ohci_pci.c 7 Jan 2019 03:41:06 -0000 1.41
+++ dev/pci/ohci_pci.c 13 Feb 2020 09:37:17 -0000
@@ -68,7 +68,7 @@ struct ohci_pci_softc {
  void *sc_ih; /* interrupt vectoring */
 };
 
-struct cfattach ohci_pci_ca = {
+const struct cfattach ohci_pci_ca = {
  sizeof(struct ohci_pci_softc), ohci_pci_match, ohci_pci_attach,
  ohci_pci_detach, ohci_activate
 };
Index: dev/pci/pccbb.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/pccbb.c,v
retrieving revision 1.99
diff -u -p -r1.99 pccbb.c
--- dev/pci/pccbb.c 5 Jan 2020 01:07:58 -0000 1.99
+++ dev/pci/pccbb.c 13 Feb 2020 09:37:17 -0000
@@ -176,7 +176,7 @@ void cb_show_regs(pci_chipset_tag_t, pci
     bus_space_handle_t memh);
 #endif
 
-struct cfattach cbb_pci_ca = {
+const struct cfattach cbb_pci_ca = {
  sizeof(struct pccbb_softc), pcicbbmatch, pccbbattach, NULL,
  pccbbactivate
 };
Index: dev/pci/pchtemp.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/pchtemp.c,v
retrieving revision 1.4
diff -u -p -r1.4 pchtemp.c
--- dev/pci/pchtemp.c 24 May 2016 07:59:24 -0000 1.4
+++ dev/pci/pchtemp.c 13 Feb 2020 09:37:17 -0000
@@ -54,7 +54,7 @@ struct cfdriver pchtemp_cd = {
  NULL, "pchtemp", DV_DULL
 };
 
-struct cfattach pchtemp_ca = {
+const struct cfattach pchtemp_ca = {
  sizeof(struct pchtemp_softc), pchtemp_match, pchtemp_attach
 };
 
Index: dev/pci/pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/pci.c,v
retrieving revision 1.115
diff -u -p -r1.115 pci.c
--- dev/pci/pci.c 15 Jan 2020 14:01:19 -0000 1.115
+++ dev/pci/pci.c 13 Feb 2020 09:37:17 -0000
@@ -85,7 +85,7 @@ struct pci_dev {
 extern int allowaperture;
 #endif
 
-struct cfattach pci_ca = {
+const struct cfattach pci_ca = {
  sizeof(struct pci_softc), pcimatch, pciattach, pcidetach, pciactivate
 };
 
Index: dev/pci/pciide.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/pciide.c,v
retrieving revision 1.360
diff -u -p -r1.360 pciide.c
--- dev/pci/pciide.c 24 Jan 2020 03:29:55 -0000 1.360
+++ dev/pci/pciide.c 13 Feb 2020 09:37:17 -0000
@@ -1403,12 +1403,12 @@ void pciide_attach(struct device *, stru
 int pciide_detach(struct device *, int);
 int pciide_activate(struct device *, int);
 
-struct cfattach pciide_pci_ca = {
+const struct cfattach pciide_pci_ca = {
  sizeof(struct pciide_softc), pciide_match, pciide_attach,
  pciide_detach, pciide_activate
 };
 
-struct cfattach pciide_jmb_ca = {
+const struct cfattach pciide_jmb_ca = {
  sizeof(struct pciide_softc), pciide_match, pciide_attach,
  pciide_detach, pciide_activate
 };
Index: dev/pci/pcscp.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/pcscp.c,v
retrieving revision 1.20
diff -u -p -r1.20 pcscp.c
--- dev/pci/pcscp.c 14 Mar 2015 03:38:48 -0000 1.20
+++ dev/pci/pcscp.c 13 Feb 2020 09:37:17 -0000
@@ -95,7 +95,7 @@ struct pcscp_softc {
 int pcscp_match(struct device *, void *, void *);
 void pcscp_attach(struct device *, struct device *, void *);  
 
-struct cfattach pcscp_ca = {
+const struct cfattach pcscp_ca = {
  sizeof(struct pcscp_softc), pcscp_match, pcscp_attach
 };
 
Index: dev/pci/piixpm.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/piixpm.c,v
retrieving revision 1.42
diff -u -p -r1.42 piixpm.c
--- dev/pci/piixpm.c 21 Jan 2020 06:37:24 -0000 1.42
+++ dev/pci/piixpm.c 13 Feb 2020 09:37:17 -0000
@@ -83,7 +83,7 @@ int piixpm_i2c_exec(void *, i2c_op_t, i2
 
 int piixpm_intr(void *);
 
-struct cfattach piixpm_ca = {
+const struct cfattach piixpm_ca = {
  sizeof(struct piixpm_softc),
  piixpm_match,
  piixpm_attach
Index: dev/pci/ppb.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/ppb.c,v
retrieving revision 1.68
diff -u -p -r1.68 ppb.c
--- dev/pci/ppb.c 23 Apr 2019 19:37:35 -0000 1.68
+++ dev/pci/ppb.c 13 Feb 2020 09:37:17 -0000
@@ -103,7 +103,7 @@ void ppbattach(struct device *, struct d
 int ppbdetach(struct device *self, int flags);
 int ppbactivate(struct device *self, int act);
 
-struct cfattach ppb_ca = {
+const struct cfattach ppb_ca = {
  sizeof(struct ppb_softc), ppbmatch, ppbattach, ppbdetach, ppbactivate
 };
 
Index: dev/pci/puc.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/puc.c,v
retrieving revision 1.28
diff -u -p -r1.28 puc.c
--- dev/pci/puc.c 2 Dec 2018 21:30:21 -0000 1.28
+++ dev/pci/puc.c 13 Feb 2020 09:37:17 -0000
@@ -81,7 +81,7 @@ const char *puc_pci_intr_string(struct p
 void *puc_pci_intr_establish(struct puc_attach_args *, int,
     int (*)(void *), void *, char *);
 
-struct cfattach puc_pci_ca = {
+const struct cfattach puc_pci_ca = {
  sizeof(struct puc_pci_softc), puc_pci_match,
  puc_pci_attach, puc_pci_detach
 };
Index: dev/pci/pwdog.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/pwdog.c,v
retrieving revision 1.10
diff -u -p -r1.10 pwdog.c
--- dev/pci/pwdog.c 8 Sep 2017 05:36:52 -0000 1.10
+++ dev/pci/pwdog.c 13 Feb 2020 09:37:17 -0000
@@ -42,7 +42,7 @@ void pwdog_attach(struct device *, struc
 int pwdog_activate(struct device *, int);
 int pwdog_set_timeout(void *, int);
 
-struct cfattach pwdog_ca = {
+const struct cfattach pwdog_ca = {
  sizeof(struct pwdog_softc), pwdog_probe, pwdog_attach,
  NULL, pwdog_activate
 };
Index: dev/pci/qla_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/qla_pci.c,v
retrieving revision 1.8
diff -u -p -r1.8 qla_pci.c
--- dev/pci/qla_pci.c 3 Apr 2014 20:01:47 -0000 1.8
+++ dev/pci/qla_pci.c 13 Feb 2020 09:37:17 -0000
@@ -59,7 +59,7 @@ struct qla_pci_softc {
  void *psc_ih;
 };
 
-struct cfattach qla_pci_ca = {
+const struct cfattach qla_pci_ca = {
  sizeof(struct qla_pci_softc),
  qla_pci_match,
  qla_pci_attach
Index: dev/pci/qle.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/qle.c,v
retrieving revision 1.51
diff -u -p -r1.51 qle.c
--- dev/pci/qle.c 5 Feb 2020 16:29:30 -0000 1.51
+++ dev/pci/qle.c 13 Feb 2020 09:37:17 -0000
@@ -237,7 +237,7 @@ int qle_match(struct device *, void *, v
 void qle_attach(struct device *, struct device *, void *);
 int qle_detach(struct device *, int);
 
-struct cfattach qle_ca = {
+const struct cfattach qle_ca = {
  sizeof(struct qle_softc),
  qle_match,
  qle_attach,
Index: dev/pci/qlw_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/qlw_pci.c,v
retrieving revision 1.10
diff -u -p -r1.10 qlw_pci.c
--- dev/pci/qlw_pci.c 17 Aug 2017 12:21:31 -0000 1.10
+++ dev/pci/qlw_pci.c 13 Feb 2020 09:37:17 -0000
@@ -66,7 +66,7 @@ struct qlw_pci_softc {
  void *psc_ih;
 };
 
-struct cfattach qlw_pci_ca = {
+const struct cfattach qlw_pci_ca = {
  sizeof(struct qlw_pci_softc),
  qlw_pci_match,
  qlw_pci_attach
Index: dev/pci/rtsx_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/rtsx_pci.c,v
retrieving revision 1.14
diff -u -p -r1.14 rtsx_pci.c
--- dev/pci/rtsx_pci.c 6 Sep 2017 13:07:38 -0000 1.14
+++ dev/pci/rtsx_pci.c 13 Feb 2020 09:37:17 -0000
@@ -38,7 +38,7 @@ struct rtsx_pci_softc {
 int rtsx_pci_match(struct device *, void *, void *);
 void rtsx_pci_attach(struct device *, struct device *, void *);
 
-struct cfattach rtsx_pci_ca = {
+const struct cfattach rtsx_pci_ca = {
  sizeof(struct rtsx_pci_softc), rtsx_pci_match, rtsx_pci_attach,
  NULL, rtsx_activate
 };
Index: dev/pci/safe.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/safe.c,v
retrieving revision 1.43
diff -u -p -r1.43 safe.c
--- dev/pci/safe.c 28 Apr 2018 15:44:59 -0000 1.43
+++ dev/pci/safe.c 13 Feb 2020 09:37:17 -0000
@@ -67,7 +67,7 @@
 int safe_probe(struct device *, void *, void *);
 void safe_attach(struct device *, struct device *, void *);
 
-struct cfattach safe_ca = {
+const struct cfattach safe_ca = {
  sizeof(struct safe_softc), safe_probe, safe_attach
 };
 
Index: dev/pci/sdhc_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/sdhc_pci.c,v
retrieving revision 1.21
diff -u -p -r1.21 sdhc_pci.c
--- dev/pci/sdhc_pci.c 20 Nov 2019 16:34:58 -0000 1.21
+++ dev/pci/sdhc_pci.c 13 Feb 2020 09:37:17 -0000
@@ -62,7 +62,7 @@ void sdhc_pci_conf_write(pci_chipset_tag
 void sdhc_takecontroller(struct pci_attach_args *);
 void sdhc_ricohfix(struct sdhc_pci_softc *);
 
-struct cfattach sdhc_pci_ca = {
+const struct cfattach sdhc_pci_ca = {
  sizeof(struct sdhc_pci_softc), sdhc_pci_match, sdhc_pci_attach,
  NULL, sdhc_pci_activate
 };
Index: dev/pci/sili_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/sili_pci.c,v
retrieving revision 1.14
diff -u -p -r1.14 sili_pci.c
--- dev/pci/sili_pci.c 6 Dec 2013 21:03:04 -0000 1.14
+++ dev/pci/sili_pci.c 13 Feb 2020 09:37:17 -0000
@@ -48,7 +48,7 @@ struct sili_pci_softc {
  void *psc_ih;
 };
 
-struct cfattach sili_pci_ca = {
+const struct cfattach sili_pci_ca = {
  sizeof(struct sili_pci_softc),
  sili_pci_match,
  sili_pci_attach,
Index: dev/pci/siop_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/siop_pci.c,v
retrieving revision 1.7
diff -u -p -r1.7 siop_pci.c
--- dev/pci/siop_pci.c 23 Jul 2010 07:47:13 -0000 1.7
+++ dev/pci/siop_pci.c 13 Feb 2020 09:37:17 -0000
@@ -50,7 +50,7 @@ struct siop_pci_softc {
  struct siop_pci_common_softc siop_pci;
 };
 
-struct cfattach siop_pci_ca = {
+const struct cfattach siop_pci_ca = {
  sizeof(struct siop_pci_softc), siop_pci_match, siop_pci_attach
 };
 
Index: dev/pci/sti_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/sti_pci.c,v
retrieving revision 1.8
diff -u -p -r1.8 sti_pci.c
--- dev/pci/sti_pci.c 30 Aug 2014 14:42:05 -0000 1.8
+++ dev/pci/sti_pci.c 13 Feb 2020 09:37:17 -0000
@@ -42,7 +42,7 @@ struct sti_pci_softc {
  bus_space_handle_t sc_romh;
 };
 
-struct cfattach sti_pci_ca = {
+const struct cfattach sti_pci_ca = {
  sizeof(struct sti_pci_softc), sti_pci_match, sti_pci_attach
 };
 
Index: dev/pci/sv.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/sv.c,v
retrieving revision 1.35
diff -u -p -r1.35 sv.c
--- dev/pci/sv.c 13 May 2019 21:29:28 -0000 1.35
+++ dev/pci/sv.c 13 Feb 2020 09:37:17 -0000
@@ -120,7 +120,7 @@ struct sv_softc {
 };
 
 
-struct cfattach sv_ca = {
+const struct cfattach sv_ca = {
  sizeof(struct sv_softc), sv_match, sv_attach
 };
 
Index: dev/pci/tcpcib.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/tcpcib.c,v
retrieving revision 1.8
diff -u -p -r1.8 tcpcib.c
--- dev/pci/tcpcib.c 10 Dec 2014 12:27:57 -0000 1.8
+++ dev/pci/tcpcib.c 13 Feb 2020 09:37:17 -0000
@@ -106,7 +106,7 @@ void tcpcib_wdt_stop(struct tcpcib_soft
 
 u_int tcpcib_hpet_get_timecount(struct timecounter *tc);
 
-struct cfattach tcpcib_ca = {
+const struct cfattach tcpcib_ca = {
  sizeof(struct tcpcib_softc), tcpcib_match, tcpcib_attach,
  NULL, tcpcib_activate
 };
Index: dev/pci/tga.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/tga.c,v
retrieving revision 1.38
diff -u -p -r1.38 tga.c
--- dev/pci/tga.c 21 Oct 2013 10:36:23 -0000 1.38
+++ dev/pci/tga.c 13 Feb 2020 09:37:17 -0000
@@ -74,7 +74,7 @@ struct cfdriver tga_cd = {
  NULL, "tga", DV_DULL
 };
 
-struct cfattach tga_ca = {
+const struct cfattach tga_ca = {
  sizeof(struct tga_softc), (cfmatch_t)tgamatch, tgaattach,
 };
 
Index: dev/pci/twe_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/twe_pci.c,v
retrieving revision 1.13
diff -u -p -r1.13 twe_pci.c
--- dev/pci/twe_pci.c 3 Apr 2011 15:36:03 -0000 1.13
+++ dev/pci/twe_pci.c 13 Feb 2020 09:37:17 -0000
@@ -49,7 +49,7 @@
 int twe_pci_match(struct device *, void *, void *);
 void twe_pci_attach(struct device *, struct device *, void *);
 
-struct cfattach twe_pci_ca = {
+const struct cfattach twe_pci_ca = {
  sizeof(struct twe_softc), twe_pci_match, twe_pci_attach
 };
 
Index: dev/pci/ubsec.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/ubsec.c,v
retrieving revision 1.165
diff -u -p -r1.165 ubsec.c
--- dev/pci/ubsec.c 10 Jan 2020 23:09:23 -0000 1.165
+++ dev/pci/ubsec.c 13 Feb 2020 09:37:17 -0000
@@ -73,7 +73,7 @@ void ubsec_cleanchip(struct ubsec_softc
 void ubsec_totalreset(struct ubsec_softc *);
 int  ubsec_free_q(struct ubsec_softc*, struct ubsec_q *);
 
-struct cfattach ubsec_ca = {
+const struct cfattach ubsec_ca = {
  sizeof(struct ubsec_softc), ubsec_probe, ubsec_attach,
 };
 
Index: dev/pci/uhci_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/uhci_pci.c,v
retrieving revision 1.34
diff -u -p -r1.34 uhci_pci.c
--- dev/pci/uhci_pci.c 5 Sep 2019 17:59:12 -0000 1.34
+++ dev/pci/uhci_pci.c 13 Feb 2020 09:37:17 -0000
@@ -63,7 +63,7 @@ struct uhci_pci_softc {
  void *sc_ih; /* interrupt vectoring */
 };
 
-struct cfattach uhci_pci_ca = {
+const struct cfattach uhci_pci_ca = {
  sizeof(struct uhci_pci_softc), uhci_pci_match, uhci_pci_attach,
  uhci_pci_detach, uhci_pci_activate
 };
Index: dev/pci/vga_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/vga_pci.c,v
retrieving revision 1.88
diff -u -p -r1.88 vga_pci.c
--- dev/pci/vga_pci.c 13 Oct 2019 10:56:31 -0000 1.88
+++ dev/pci/vga_pci.c 13 Feb 2020 09:37:17 -0000
@@ -103,7 +103,7 @@ void vga_save_state(struct vga_pci_softc
 void vga_restore_state(struct vga_pci_softc *);
 #endif
 
-struct cfattach vga_pci_ca = {
+const struct cfattach vga_pci_ca = {
  sizeof(struct vga_pci_softc), vga_pci_match, vga_pci_attach,
  NULL, vga_pci_activate
 };
Index: dev/pci/viapm.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/viapm.c,v
retrieving revision 1.18
diff -u -p -r1.18 viapm.c
--- dev/pci/viapm.c 9 Jan 2020 14:35:19 -0000 1.18
+++ dev/pci/viapm.c 13 Feb 2020 09:37:17 -0000
@@ -224,7 +224,7 @@ long val_to_uV(unsigned int, int);
 void viapm_refresh_sensor_data(struct viapm_softc *);
 void viapm_refresh(void *);
 
-struct cfattach viapm_ca = {
+const struct cfattach viapm_ca = {
  sizeof(struct viapm_softc), viapm_match, viapm_attach
 };
 
Index: dev/pci/virtio_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/virtio_pci.c,v
retrieving revision 1.28
diff -u -p -r1.28 virtio_pci.c
--- dev/pci/virtio_pci.c 27 May 2019 15:55:01 -0000 1.28
+++ dev/pci/virtio_pci.c 13 Feb 2020 09:37:17 -0000
@@ -136,7 +136,7 @@ struct virtio_pci_softc {
  enum irq_type sc_irq_type;
 };
 
-struct cfattach virtio_pci_ca = {
+const struct cfattach virtio_pci_ca = {
  sizeof(struct virtio_pci_softc),
  virtio_pci_match,
  virtio_pci_attach,
Index: dev/pci/vmwpvs.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/vmwpvs.c,v
retrieving revision 1.16
diff -u -p -r1.16 vmwpvs.c
--- dev/pci/vmwpvs.c 5 Feb 2020 16:29:30 -0000 1.16
+++ dev/pci/vmwpvs.c 13 Feb 2020 09:37:17 -0000
@@ -340,7 +340,7 @@ int vmwpvs_intr(void *);
 #define vmwpvs_barrier(_s, _r, _l, _d) \
  bus_space_barrier((_s)->sc_iot, (_s)->sc_ioh, (_r), (_l), (_d))
 
-struct cfattach vmwpvs_ca = {
+const struct cfattach vmwpvs_ca = {
  sizeof(struct vmwpvs_softc),
  vmwpvs_match,
  vmwpvs_attach,
Index: dev/pci/wdt.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/wdt.c,v
retrieving revision 1.24
diff -u -p -r1.24 wdt.c
--- dev/pci/wdt.c 5 Jan 2020 01:07:59 -0000 1.24
+++ dev/pci/wdt.c 13 Feb 2020 09:37:17 -0000
@@ -63,7 +63,7 @@ void wdt_buzzer_off(struct wdt_softc *);
 void wdt_timer_disable(struct wdt_softc *);
 void wdt_buzzer_enable(struct wdt_softc *);
 
-struct cfattach wdt_ca = {
+const struct cfattach wdt_ca = {
  sizeof(struct wdt_softc), wdt_probe, wdt_attach,
  NULL, wdt_activate
 };
Index: dev/pci/xhci_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/xhci_pci.c,v
retrieving revision 1.10
diff -u -p -r1.10 xhci_pci.c
--- dev/pci/xhci_pci.c 18 Nov 2018 08:46:57 -0000 1.10
+++ dev/pci/xhci_pci.c 13 Feb 2020 09:37:17 -0000
@@ -71,7 +71,7 @@ int xhci_pci_detach(struct device *, int
 int xhci_pci_activate(struct device *, int);
 void xhci_pci_takecontroller(struct xhci_pci_softc *, int);
 
-struct cfattach xhci_pci_ca = {
+const struct cfattach xhci_pci_ca = {
  sizeof(struct xhci_pci_softc), xhci_pci_match, xhci_pci_attach,
  xhci_pci_detach, xhci_pci_activate
 };
Index: dev/pci/xspd.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/xspd.c,v
retrieving revision 1.6
diff -u -p -r1.6 xspd.c
--- dev/pci/xspd.c 18 Jul 2017 11:42:51 -0000 1.6
+++ dev/pci/xspd.c 13 Feb 2020 09:37:17 -0000
@@ -46,7 +46,7 @@ struct cfdriver xspd_cd = {
  NULL, "xspd", DV_DULL
 };
 
-struct cfattach xspd_ca = {
+const struct cfattach xspd_ca = {
  sizeof(struct xspd_softc), xspd_match, xspd_attach, NULL, NULL
 };
 
Index: dev/pci/yds.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/yds.c,v
retrieving revision 1.54
diff -u -p -r1.54 yds.c
--- dev/pci/yds.c 19 Sep 2016 06:46:44 -0000 1.54
+++ dev/pci/yds.c 13 Feb 2020 09:37:17 -0000
@@ -141,7 +141,7 @@ void YWRITE4(struct yds_softc *sc,bus_si
 #define YWRITEREGION4(sc, r, x, c) \
  bus_space_write_region_4((sc)->memt, (sc)->memh, (r), (x), (c) / 4)
 
-struct cfattach yds_ca = {
+const struct cfattach yds_ca = {
  sizeof(struct yds_softc), yds_match, yds_attach, NULL,
  yds_activate
 };
Index: dev/pci/bktr/bktr_os.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/bktr/bktr_os.c,v
retrieving revision 1.32
diff -u -p -r1.32 bktr_os.c
--- dev/pci/bktr/bktr_os.c 14 Mar 2015 03:38:49 -0000 1.32
+++ dev/pci/bktr/bktr_os.c 13 Feb 2020 09:37:17 -0000
@@ -110,7 +110,7 @@ paddr_t bktr_mmap(dev_t, off_t, int);
 static int      bktr_probe(struct device *, void *, void *);
 static void     bktr_attach(struct device *, struct device *, void *);
 
-struct cfattach bktr_ca = {
+const struct cfattach bktr_ca = {
         sizeof(struct bktr_softc), bktr_probe, bktr_attach
 };
 
Index: dev/pci/drm/drm_drv.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/drm/drm_drv.c,v
retrieving revision 1.170
diff -u -p -r1.170 drm_drv.c
--- dev/pci/drm/drm_drv.c 5 Jan 2020 08:39:46 -0000 1.170
+++ dev/pci/drm/drm_drv.c 13 Feb 2020 09:37:17 -0000
@@ -378,7 +378,7 @@ drm_activate(struct device *self, int ac
  return (0);
 }
 
-struct cfattach drm_ca = {
+const struct cfattach drm_ca = {
  sizeof(struct drm_softc), drm_probe, drm_attach,
  drm_detach, drm_activate
 };
Index: dev/pci/drm/amd/amdgpu/amdgpu_kms.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c,v
retrieving revision 1.8
diff -u -p -r1.8 amdgpu_kms.c
--- dev/pci/drm/amd/amdgpu/amdgpu_kms.c 25 Dec 2019 11:42:05 -0000 1.8
+++ dev/pci/drm/amd/amdgpu/amdgpu_kms.c 13 Feb 2020 09:37:17 -0000
@@ -77,7 +77,7 @@ extern int amdgpu_exp_hw_support;
  */
 int amdgpu_fatal_error;
 
-struct cfattach amdgpu_ca = {
+const struct cfattach amdgpu_ca = {
         sizeof (struct amdgpu_device), amdgpu_probe, amdgpu_attach,
         amdgpu_detach, amdgpu_activate
 };
Index: dev/pci/drm/i915/i915_drv.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/drm/i915/i915_drv.c,v
retrieving revision 1.126
diff -u -p -r1.126 i915_drv.c
--- dev/pci/drm/i915/i915_drv.c 25 Dec 2019 11:42:05 -0000 1.126
+++ dev/pci/drm/i915/i915_drv.c 13 Feb 2020 09:37:17 -0000
@@ -3435,7 +3435,7 @@ int inteldrm_detach(struct device *, int
 int inteldrm_activate(struct device *, int);
 void inteldrm_attachhook(struct device *);
 
-struct cfattach inteldrm_ca = {
+const struct cfattach inteldrm_ca = {
  sizeof(struct inteldrm_softc), inteldrm_match, inteldrm_attach,
  inteldrm_detach, inteldrm_activate
 };
Index: dev/pci/drm/radeon/radeon_kms.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/drm/radeon/radeon_kms.c,v
retrieving revision 1.63
diff -u -p -r1.63 radeon_kms.c
--- dev/pci/drm/radeon/radeon_kms.c 25 Dec 2019 11:42:05 -0000 1.63
+++ dev/pci/drm/radeon/radeon_kms.c 13 Feb 2020 09:37:17 -0000
@@ -83,7 +83,7 @@ extern int radeon_max_kms_ioctl;
  */
 int radeon_fatal_error;
 
-struct cfattach radeondrm_ca = {
+const struct cfattach radeondrm_ca = {
         sizeof (struct radeon_device), radeondrm_probe, radeondrm_attach_kms,
         radeondrm_detach_kms, radeondrm_activate_kms
 };
Index: dev/pckbc/pckbd.c
===================================================================
RCS file: /cvs/src/sys/dev/pckbc/pckbd.c,v
retrieving revision 1.45
diff -u -p -r1.45 pckbd.c
--- dev/pckbc/pckbd.c 22 May 2018 10:53:47 -0000 1.45
+++ dev/pckbc/pckbd.c 13 Feb 2020 09:37:17 -0000
@@ -125,7 +125,7 @@ int pckbdprobe(struct device *, void *,
 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,
Index: dev/pckbc/pms.c
===================================================================
RCS file: /cvs/src/sys/dev/pckbc/pms.c,v
retrieving revision 1.91
diff -u -p -r1.91 pms.c
--- dev/pckbc/pms.c 22 Jan 2020 14:52:14 -0000 1.91
+++ dev/pckbc/pms.c 13 Feb 2020 09:37:17 -0000
@@ -323,7 +323,7 @@ int elantech_set_absolute_mode_v2(struct
 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
 };
Index: dev/pcmcia/aic_pcmcia.c
===================================================================
RCS file: /cvs/src/sys/dev/pcmcia/aic_pcmcia.c,v
retrieving revision 1.17
diff -u -p -r1.17 aic_pcmcia.c
--- dev/pcmcia/aic_pcmcia.c 14 Mar 2015 03:38:49 -0000 1.17
+++ dev/pcmcia/aic_pcmcia.c 13 Feb 2020 09:37:17 -0000
@@ -61,7 +61,7 @@ struct aic_pcmcia_softc {
  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
 };
Index: dev/pcmcia/cfxga.c
===================================================================
RCS file: /cvs/src/sys/dev/pcmcia/cfxga.c,v
retrieving revision 1.29
diff -u -p -r1.29 cfxga.c
--- dev/pcmcia/cfxga.c 13 Dec 2014 21:05:33 -0000 1.29
+++ dev/pcmcia/cfxga.c 13 Feb 2020 09:37:17 -0000
@@ -99,7 +99,7 @@ void cfxga_attach(struct device *, struc
 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
 };
Index: dev/pcmcia/com_pcmcia.c
===================================================================
RCS file: /cvs/src/sys/dev/pcmcia/com_pcmcia.c,v
retrieving revision 1.57
diff -u -p -r1.57 com_pcmcia.c
--- dev/pcmcia/com_pcmcia.c 30 Dec 2017 20:46:59 -0000 1.57
+++ dev/pcmcia/com_pcmcia.c 13 Feb 2020 09:37:17 -0000
@@ -144,7 +144,7 @@ struct com_pcmcia_softc {
  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
 };
Index: dev/pcmcia/if_an_pcmcia.c
===================================================================
RCS file: /cvs/src/sys/dev/pcmcia/if_an_pcmcia.c,v
retrieving revision 1.26
diff -u -p -r1.26 if_an_pcmcia.c
--- dev/pcmcia/if_an_pcmcia.c 24 Nov 2015 17:11:40 -0000 1.26
+++ dev/pcmcia/if_an_pcmcia.c 13 Feb 2020 09:37:17 -0000
@@ -65,7 +65,7 @@ struct an_pcmcia_softc {
 #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
 };
Index: dev/pcmcia/if_ep_pcmcia.c
===================================================================
RCS file: /cvs/src/sys/dev/pcmcia/if_ep_pcmcia.c,v
retrieving revision 1.48
diff -u -p -r1.48 if_ep_pcmcia.c
--- dev/pcmcia/if_ep_pcmcia.c 25 Nov 2015 11:20:38 -0000 1.48
+++ dev/pcmcia/if_ep_pcmcia.c 13 Feb 2020 09:37:17 -0000
@@ -118,7 +118,7 @@ struct ep_pcmcia_softc {
  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
 };
Index: dev/pcmcia/if_malo.c
===================================================================
RCS file: /cvs/src/sys/dev/pcmcia/if_malo.c,v
retrieving revision 1.95
diff -u -p -r1.95 if_malo.c
--- dev/pcmcia/if_malo.c 11 Jan 2020 08:23:05 -0000 1.95
+++ dev/pcmcia/if_malo.c 13 Feb 2020 09:37:17 -0000
@@ -132,7 +132,7 @@ struct malo_pcmcia_softc {
  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,
Index: dev/pcmcia/if_ne_pcmcia.c
===================================================================
RCS file: /cvs/src/sys/dev/pcmcia/if_ne_pcmcia.c,v
retrieving revision 1.99
diff -u -p -r1.99 if_ne_pcmcia.c
--- dev/pcmcia/if_ne_pcmcia.c 24 Nov 2015 13:33:18 -0000 1.99
+++ dev/pcmcia/if_ne_pcmcia.c 13 Feb 2020 09:37:17 -0000
@@ -91,7 +91,7 @@ u_int8_t *
     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
 };
Index: dev/pcmcia/if_sm_pcmcia.c
===================================================================
RCS file: /cvs/src/sys/dev/pcmcia/if_sm_pcmcia.c,v
retrieving revision 1.37
diff -u -p -r1.37 if_sm_pcmcia.c
--- dev/pcmcia/if_sm_pcmcia.c 24 Nov 2015 17:11:40 -0000 1.37
+++ dev/pcmcia/if_sm_pcmcia.c 13 Feb 2020 09:37:17 -0000
@@ -81,7 +81,7 @@ struct sm_pcmcia_softc {
  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
 };
Index: dev/pcmcia/if_wi_pcmcia.c
===================================================================
RCS file: /cvs/src/sys/dev/pcmcia/if_wi_pcmcia.c,v
retrieving revision 1.75
diff -u -p -r1.75 if_wi_pcmcia.c
--- dev/pcmcia/if_wi_pcmcia.c 31 Dec 2019 10:05:33 -0000 1.75
+++ dev/pcmcia/if_wi_pcmcia.c 13 Feb 2020 09:37:17 -0000
@@ -83,7 +83,7 @@ struct wi_pcmcia_softc {
  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
 };
Index: dev/pcmcia/if_xe.c
===================================================================
RCS file: /cvs/src/sys/dev/pcmcia/if_xe.c,v
retrieving revision 1.59
diff -u -p -r1.59 if_xe.c
--- dev/pcmcia/if_xe.c 22 Jan 2017 10:17:39 -0000 1.59
+++ dev/pcmcia/if_xe.c 13 Feb 2020 09:37:17 -0000
@@ -152,7 +152,7 @@ struct cfdriver xe_cd = {
  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
 };
Index: dev/pcmcia/pcmcia.c
===================================================================
RCS file: /cvs/src/sys/dev/pcmcia/pcmcia.c,v
retrieving revision 1.48
diff -u -p -r1.48 pcmcia.c
--- dev/pcmcia/pcmcia.c 8 Sep 2017 05:36:52 -0000 1.48
+++ dev/pcmcia/pcmcia.c 13 Feb 2020 09:37:17 -0000
@@ -63,7 +63,7 @@ struct cfdriver pcmcia_cd = {
  NULL, "pcmcia", DV_DULL
 };
 
-struct cfattach pcmcia_ca = {
+const struct cfattach pcmcia_ca = {
  sizeof(struct pcmcia_softc), pcmcia_match, pcmcia_attach, NULL,
  pcmcia_activate
 };
Index: dev/pcmcia/wdc_pcmcia.c
===================================================================
RCS file: /cvs/src/sys/dev/pcmcia/wdc_pcmcia.c,v
retrieving revision 1.32
diff -u -p -r1.32 wdc_pcmcia.c
--- dev/pcmcia/wdc_pcmcia.c 30 Dec 2017 20:46:59 -0000 1.32
+++ dev/pcmcia/wdc_pcmcia.c 13 Feb 2020 09:37:17 -0000
@@ -78,7 +78,7 @@ static void wdc_pcmcia_attach(struct dev
 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
 };
Index: dev/puc/com_puc.c
===================================================================
RCS file: /cvs/src/sys/dev/puc/com_puc.c,v
retrieving revision 1.24
diff -u -p -r1.24 com_puc.c
--- dev/puc/com_puc.c 15 Apr 2018 00:10:59 -0000 1.24
+++ dev/puc/com_puc.c 13 Feb 2020 09:37:17 -0000
@@ -56,7 +56,7 @@ int com_puc_match(struct device *, void
 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
 };
Index: dev/puc/lpt_puc.c
===================================================================
RCS file: /cvs/src/sys/dev/puc/lpt_puc.c,v
retrieving revision 1.9
diff -u -p -r1.9 lpt_puc.c
--- dev/puc/lpt_puc.c 8 Sep 2017 05:36:52 -0000 1.9
+++ dev/puc/lpt_puc.c 13 Feb 2020 09:37:17 -0000
@@ -51,7 +51,7 @@ int lpt_puc_probe(struct device *, void
 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,
 };
 
Index: dev/pv/if_vio.c
===================================================================
RCS file: /cvs/src/sys/dev/pv/if_vio.c,v
retrieving revision 1.16
diff -u -p -r1.16 if_vio.c
--- dev/pv/if_vio.c 31 Dec 2019 10:05:33 -0000 1.16
+++ dev/pv/if_vio.c 13 Feb 2020 09:37:17 -0000
@@ -315,7 +315,7 @@ vio_match(struct device *parent, void *m
  return 0;
 }
 
-struct cfattach vio_ca = {
+const struct cfattach vio_ca = {
  sizeof(struct vio_softc), vio_match, vio_attach, NULL
 };
 
Index: dev/pv/pvbus.c
===================================================================
RCS file: /cvs/src/sys/dev/pv/pvbus.c,v
retrieving revision 1.20
diff -u -p -r1.20 pvbus.c
--- dev/pv/pvbus.c 24 Jan 2020 05:14:51 -0000 1.20
+++ dev/pv/pvbus.c 13 Feb 2020 09:37:17 -0000
@@ -63,7 +63,7 @@ void pvbus_xen_print(struct pvbus_hv *)
 int pvbus_minor(struct pvbus_softc *, dev_t);
 int pvbusgetstr(size_t, const char *, char **);
 
-struct cfattach pvbus_ca = {
+const struct cfattach pvbus_ca = {
  sizeof(struct pvbus_softc),
  pvbus_match,
  pvbus_attach,
Index: dev/pv/pvclock.c
===================================================================
RCS file: /cvs/src/sys/dev/pv/pvclock.c,v
retrieving revision 1.5
diff -u -p -r1.5 pvclock.c
--- dev/pv/pvclock.c 13 Dec 2019 06:43:46 -0000 1.5
+++ dev/pv/pvclock.c 13 Feb 2020 09:37:17 -0000
@@ -59,7 +59,7 @@ static inline uint32_t
 static inline int
  pvclock_read_done(const struct pvclock_time_info *, uint32_t);
 
-struct cfattach pvclock_ca = {
+const struct cfattach pvclock_ca = {
  sizeof(struct pvclock_softc),
  pvclock_match,
  pvclock_attach,
Index: dev/pv/vioblk.c
===================================================================
RCS file: /cvs/src/sys/dev/pv/vioblk.c,v
retrieving revision 1.16
diff -u -p -r1.16 vioblk.c
--- dev/pv/vioblk.c 12 Feb 2020 14:08:56 -0000 1.16
+++ dev/pv/vioblk.c 13 Feb 2020 09:37:17 -0000
@@ -141,7 +141,7 @@ void vioblk_scsi_capacity(struct scsi_xf
 void vioblk_scsi_capacity16(struct scsi_xfer *);
 void vioblk_scsi_done(struct scsi_xfer *, int);
 
-struct cfattach vioblk_ca = {
+const struct cfattach vioblk_ca = {
  sizeof(struct vioblk_softc),
  vioblk_match,
  vioblk_attach,
Index: dev/pv/viocon.c
===================================================================
RCS file: /cvs/src/sys/dev/pv/viocon.c,v
retrieving revision 1.7
diff -u -p -r1.7 viocon.c
--- dev/pv/viocon.c 26 May 2019 15:20:04 -0000 1.7
+++ dev/pv/viocon.c 13 Feb 2020 09:37:17 -0000
@@ -138,7 +138,7 @@ int vioconstop(struct tty *, int);
 int vioconioctl(dev_t, u_long, caddr_t, int, struct proc *);
 struct tty *viocontty(dev_t dev);
 
-struct cfattach viocon_ca = {
+const struct cfattach viocon_ca = {
  sizeof(struct viocon_softc),
  viocon_match,
  viocon_attach,
Index: dev/pv/viomb.c
===================================================================
RCS file: /cvs/src/sys/dev/pv/viomb.c,v
retrieving revision 1.5
diff -u -p -r1.5 viomb.c
--- dev/pv/viomb.c 26 May 2019 15:20:04 -0000 1.5
+++ dev/pv/viomb.c 13 Feb 2020 09:37:17 -0000
@@ -114,7 +114,7 @@ int viomb_vq_dequeue(struct virtqueue *)
 int viomb_inflate_intr(struct virtqueue *);
 int viomb_deflate_intr(struct virtqueue *);
 
-struct cfattach viomb_ca = {
+const struct cfattach viomb_ca = {
  sizeof(struct viomb_softc), viomb_match, viomb_attach
 };
 
Index: dev/pv/viornd.c
===================================================================
RCS file: /cvs/src/sys/dev/pv/viornd.c,v
retrieving revision 1.3
diff -u -p -r1.3 viornd.c
--- dev/pv/viornd.c 26 May 2019 15:20:04 -0000 1.3
+++ dev/pv/viornd.c 13 Feb 2020 09:37:17 -0000
@@ -60,7 +60,7 @@ void viornd_attach(struct device *, stru
 int viornd_vq_done(struct virtqueue *);
 void viornd_tick(void *);
 
-struct cfattach viornd_ca = {
+const struct cfattach viornd_ca = {
  sizeof(struct viornd_softc),
  viornd_match,
  viornd_attach,
Index: dev/pv/vioscsi.c
===================================================================
RCS file: /cvs/src/sys/dev/pv/vioscsi.c,v
retrieving revision 1.15
diff -u -p -r1.15 vioscsi.c
--- dev/pv/vioscsi.c 5 Feb 2020 16:29:30 -0000 1.15
+++ dev/pv/vioscsi.c 13 Feb 2020 09:37:17 -0000
@@ -73,7 +73,7 @@ void vioscsi_req_done(struct vioscsi_s
 void *vioscsi_req_get(void *);
 void vioscsi_req_put(void *, void *);
 
-struct cfattach vioscsi_ca = {
+const struct cfattach vioscsi_ca = {
  sizeof(struct vioscsi_softc),
  vioscsi_match,
  vioscsi_attach,
Index: dev/pv/vmmci.c
===================================================================
RCS file: /cvs/src/sys/dev/pv/vmmci.c,v
retrieving revision 1.6
diff -u -p -r1.6 vmmci.c
--- dev/pv/vmmci.c 31 Dec 2019 01:26:56 -0000 1.6
+++ dev/pv/vmmci.c 13 Feb 2020 09:37:17 -0000
@@ -59,7 +59,7 @@ int vmmci_config_change(struct virtio_so
 void vmmci_tick(void *);
 void vmmci_tick_hook(struct device *);
 
-struct cfattach vmmci_ca = {
+const struct cfattach vmmci_ca = {
  sizeof(struct vmmci_softc),
  vmmci_match,
  vmmci_attach,
Index: dev/pv/vmt.c
===================================================================
RCS file: /cvs/src/sys/dev/pv/vmt.c,v
retrieving revision 1.16
diff -u -p -r1.16 vmt.c
--- dev/pv/vmt.c 31 Dec 2019 01:26:56 -0000 1.16
+++ dev/pv/vmt.c 13 Feb 2020 09:37:17 -0000
@@ -294,7 +294,7 @@ struct vmt_tclo_rpc {
 #endif
 };
 
-struct cfattach vmt_ca = {
+const struct cfattach vmt_ca = {
  sizeof(struct vmt_softc),
  vmt_match,
  vmt_attach,
Index: dev/sbus/agten.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/agten.c,v
retrieving revision 1.11
diff -u -p -r1.11 agten.c
--- dev/sbus/agten.c 27 Dec 2018 11:09:17 -0000 1.11
+++ dev/sbus/agten.c 13 Feb 2020 09:37:17 -0000
@@ -122,7 +122,7 @@ struct wsdisplay_accessops agten_accesso
 int agtenmatch(struct device *, void *, void *);
 void agtenattach(struct device *, struct device *, void *);
 
-struct cfattach agten_ca = {
+const struct cfattach agten_ca = {
  sizeof(struct agten_softc), agtenmatch, agtenattach
 };
 
Index: dev/sbus/apio.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/apio.c,v
retrieving revision 1.8
diff -u -p -r1.8 apio.c
--- dev/sbus/apio.c 8 Sep 2017 05:36:52 -0000 1.8
+++ dev/sbus/apio.c 13 Feb 2020 09:37:17 -0000
@@ -77,7 +77,7 @@ void apio_attach(struct device *, struct
 int apio_print(void *, const char *);
 void apio_intr_enable(struct device *, u_int8_t);
 
-struct cfattach apio_ca = {
+const struct cfattach apio_ca = {
  sizeof(struct apio_softc), apio_match, apio_attach
 };
 
@@ -174,7 +174,7 @@ struct lpt_apio_softc {
  void *sc_ih;
 };
 
-struct cfattach lpt_apio_ca = {
+const struct cfattach lpt_apio_ca = {
  sizeof(struct lpt_apio_softc), lpt_apio_match, lpt_apio_attach
 };
 
Index: dev/sbus/asio.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/asio.c,v
retrieving revision 1.11
diff -u -p -r1.11 asio.c
--- dev/sbus/asio.c 8 Sep 2017 05:36:52 -0000 1.11
+++ dev/sbus/asio.c 13 Feb 2020 09:37:17 -0000
@@ -84,7 +84,7 @@ void asio_attach(struct device *, struct
 int asio_print(void *, const char *);
 void asio_intr_enable(struct device *, u_int8_t);
 
-struct cfattach asio_ca = {
+const struct cfattach asio_ca = {
  sizeof(struct asio_softc), asio_match, asio_attach
 };
 
@@ -177,7 +177,7 @@ asio_print(void *aux, const char *name)
 int com_asio_match(struct device *, void *, void *);
 void com_asio_attach(struct device *, struct device *, void *);
 
-struct cfattach com_asio_ca = {
+const struct cfattach com_asio_ca = {
  sizeof(struct com_softc), com_asio_match, com_asio_attach
 };
 
Index: dev/sbus/be.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/be.c,v
retrieving revision 1.42
diff -u -p -r1.42 be.c
--- dev/sbus/be.c 22 Jan 2017 10:17:39 -0000 1.42
+++ dev/sbus/be.c 13 Feb 2020 09:37:17 -0000
@@ -177,7 +177,7 @@ void be_intphy_status(struct be_softc *)
 int be_intphy_service(struct be_softc *, struct mii_data *, int);
 
 
-struct cfattach be_ca = {
+const struct cfattach be_ca = {
  sizeof(struct be_softc), bematch, beattach
 };
 
Index: dev/sbus/bwtwo.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/bwtwo.c,v
retrieving revision 1.19
diff -u -p -r1.19 bwtwo.c
--- dev/sbus/bwtwo.c 20 Oct 2013 20:07:30 -0000 1.19
+++ dev/sbus/bwtwo.c 13 Feb 2020 09:37:17 -0000
@@ -117,7 +117,7 @@ struct wsdisplay_accessops bwtwo_accesso
 int bwtwomatch(struct device *, void *, void *);
 void bwtwoattach(struct device *, struct device *, void *);
 
-struct cfattach bwtwo_ca = {
+const struct cfattach bwtwo_ca = {
  sizeof (struct bwtwo_softc), bwtwomatch, bwtwoattach
 };
 
Index: dev/sbus/cgsix.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/cgsix.c,v
retrieving revision 1.59
diff -u -p -r1.59 cgsix.c
--- dev/sbus/cgsix.c 20 Oct 2013 20:07:30 -0000 1.59
+++ dev/sbus/cgsix.c 13 Feb 2020 09:37:17 -0000
@@ -82,7 +82,7 @@ struct wsdisplay_accessops cgsix_accesso
 int cgsixmatch(struct device *, void *, void *);
 void cgsixattach(struct device *, struct device *, void *);
 
-struct cfattach cgsix_ca = {
+const struct cfattach cgsix_ca = {
  sizeof (struct cgsix_softc), cgsixmatch, cgsixattach
 };
 
Index: dev/sbus/cgthree.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/cgthree.c,v
retrieving revision 1.45
diff -u -p -r1.45 cgthree.c
--- dev/sbus/cgthree.c 20 Oct 2013 20:07:30 -0000 1.45
+++ dev/sbus/cgthree.c 13 Feb 2020 09:37:17 -0000
@@ -146,7 +146,7 @@ struct wsdisplay_accessops cgthree_acces
 int cgthreematch(struct device *, void *, void *);
 void cgthreeattach(struct device *, struct device *, void *);
 
-struct cfattach cgthree_ca = {
+const struct cfattach cgthree_ca = {
  sizeof (struct cgthree_softc), cgthreematch, cgthreeattach
 };
 
Index: dev/sbus/cgtwelve.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/cgtwelve.c,v
retrieving revision 1.9
diff -u -p -r1.9 cgtwelve.c
--- dev/sbus/cgtwelve.c 22 Oct 2018 17:31:25 -0000 1.9
+++ dev/sbus/cgtwelve.c 13 Feb 2020 09:37:17 -0000
@@ -106,7 +106,7 @@ int cgtwelvematch(struct device *, void
 void cgtwelveattach(struct device *, struct device *, void *);
 int cgtwelveactivate(struct device *, int);
 
-struct cfattach cgtwelve_ca = {
+const struct cfattach cgtwelve_ca = {
  sizeof(struct cgtwelve_softc), cgtwelvematch, cgtwelveattach,
  NULL, cgtwelveactivate
 };
Index: dev/sbus/cs4231.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/cs4231.c,v
retrieving revision 1.38
diff -u -p -r1.38 cs4231.c
--- dev/sbus/cs4231.c 4 Jan 2017 07:33:14 -0000 1.38
+++ dev/sbus/cs4231.c 13 Feb 2020 09:37:17 -0000
@@ -176,7 +176,7 @@ struct audio_hw_if cs4231_sa_hw_if = {
  cs4231_trigger_input
 };
 
-struct cfattach audiocs_ca = {
+const struct cfattach audiocs_ca = {
  sizeof (struct cs4231_softc), cs4231_match, cs4231_attach
 };
 
Index: dev/sbus/dma_sbus.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/dma_sbus.c,v
retrieving revision 1.17
diff -u -p -r1.17 dma_sbus.c
--- dev/sbus/dma_sbus.c 8 Sep 2017 05:36:52 -0000 1.17
+++ dev/sbus/dma_sbus.c 13 Feb 2020 09:37:17 -0000
@@ -97,11 +97,11 @@ void *dmabus_intr_establish(
 
 static bus_space_tag_t dma_alloc_bustag(struct dma_softc *sc);
 
-struct cfattach dma_sbus_ca = {
+const struct cfattach dma_sbus_ca = {
  sizeof(struct dma_softc), dmamatch_sbus, dmaattach_sbus
 };
 
-struct cfattach ledma_ca = {
+const struct cfattach ledma_ca = {
  sizeof(struct dma_softc), dmamatch_sbus, dmaattach_sbus
 };
 
Index: dev/sbus/esp_sbus.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/esp_sbus.c,v
retrieving revision 1.25
diff -u -p -r1.25 esp_sbus.c
--- dev/sbus/esp_sbus.c 8 Sep 2017 05:36:52 -0000 1.25
+++ dev/sbus/esp_sbus.c 13 Feb 2020 09:37:17 -0000
@@ -75,10 +75,10 @@ int espmatch_sbus(struct device *, void
 
 
 /* Linkup to the rest of the kernel */
-struct cfattach esp_sbus_ca = {
+const struct cfattach esp_sbus_ca = {
  sizeof(struct esp_softc), espmatch_sbus, espattach_sbus
 };
-struct cfattach esp_dma_ca = {
+const struct cfattach esp_dma_ca = {
  sizeof(struct esp_softc), espmatch_sbus, espattach_dma
 };
 
Index: dev/sbus/if_gem_sbus.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/if_gem_sbus.c,v
retrieving revision 1.10
diff -u -p -r1.10 if_gem_sbus.c
--- dev/sbus/if_gem_sbus.c 28 Nov 2015 09:42:10 -0000 1.10
+++ dev/sbus/if_gem_sbus.c 13 Feb 2020 09:37:17 -0000
@@ -68,7 +68,7 @@ struct gem_sbus_softc {
 int gemmatch_sbus(struct device *, void *, void *);
 void gemattach_sbus(struct device *, struct device *, void *);
 
-struct cfattach gem_sbus_ca = {
+const struct cfattach gem_sbus_ca = {
  sizeof(struct gem_sbus_softc), gemmatch_sbus, gemattach_sbus
 };
 
Index: dev/sbus/if_hme_sbus.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/if_hme_sbus.c,v
retrieving revision 1.16
diff -u -p -r1.16 if_hme_sbus.c
--- dev/sbus/if_hme_sbus.c 24 Nov 2015 17:11:40 -0000 1.16
+++ dev/sbus/if_hme_sbus.c 13 Feb 2020 09:37:17 -0000
@@ -65,7 +65,7 @@ struct hmesbus_softc {
 int hmematch_sbus(struct device *, void *, void *);
 void hmeattach_sbus(struct device *, struct device *, void *);
 
-struct cfattach hme_sbus_ca = {
+const struct cfattach hme_sbus_ca = {
  sizeof(struct hmesbus_softc), hmematch_sbus, hmeattach_sbus
 };
 
Index: dev/sbus/if_le.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/if_le.c,v
retrieving revision 1.17
diff -u -p -r1.17 if_le.c
--- dev/sbus/if_le.c 11 Sep 2015 13:02:28 -0000 1.17
+++ dev/sbus/if_le.c 13 Feb 2020 09:37:17 -0000
@@ -85,7 +85,7 @@ static uint64_t lemedia[] = {
  IFM_ETHER | IFM_10_5
 };
 
-struct cfattach le_sbus_ca = {
+const struct cfattach le_sbus_ca = {
  sizeof(struct le_softc), lematch_sbus, leattach_sbus
 };
 
Index: dev/sbus/if_le_lebuffer.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/if_le_lebuffer.c,v
retrieving revision 1.13
diff -u -p -r1.13 if_le_lebuffer.c
--- dev/sbus/if_le_lebuffer.c 11 Sep 2015 13:02:28 -0000 1.13
+++ dev/sbus/if_le_lebuffer.c 13 Feb 2020 09:37:17 -0000
@@ -83,7 +83,7 @@ static uint64_t lemedia[] = {
  IFM_ETHER | IFM_10_T
 };
 
-struct cfattach le_lebuffer_ca = {
+const struct cfattach le_lebuffer_ca = {
  sizeof(struct le_softc), lematch_lebuffer, leattach_lebuffer
 };
 
Index: dev/sbus/if_le_ledma.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/if_le_ledma.c,v
retrieving revision 1.19
diff -u -p -r1.19 if_le_ledma.c
--- dev/sbus/if_le_ledma.c 11 Sep 2015 13:02:28 -0000 1.19
+++ dev/sbus/if_le_ledma.c 13 Feb 2020 09:37:17 -0000
@@ -97,7 +97,7 @@ void le_ledma_setaui(struct lance_softc
 int lemediachange(struct lance_softc *);
 void lemediastatus(struct lance_softc *, struct ifmediareq *);
 
-struct cfattach le_ledma_ca = {
+const struct cfattach le_ledma_ca = {
  sizeof(struct le_softc), lematch_ledma, leattach_ledma
 };
 
Index: dev/sbus/if_ti_sbus.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/if_ti_sbus.c,v
retrieving revision 1.4
diff -u -p -r1.4 if_ti_sbus.c
--- dev/sbus/if_ti_sbus.c 24 Nov 2015 17:11:40 -0000 1.4
+++ dev/sbus/if_ti_sbus.c 13 Feb 2020 09:37:17 -0000
@@ -44,7 +44,7 @@ struct ti_sbus_softc {
 int ti_sbus_match(struct device *, void *, void *);
 void ti_sbus_attach(struct device *, struct device *, void *);
 
-struct cfattach ti_sbus_ca = {
+const struct cfattach ti_sbus_ca = {
  sizeof(struct ti_sbus_softc), ti_sbus_match, ti_sbus_attach
 };
 
Index: dev/sbus/lebuffer.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/lebuffer.c,v
retrieving revision 1.10
diff -u -p -r1.10 lebuffer.c
--- dev/sbus/lebuffer.c 5 Dec 2012 23:20:21 -0000 1.10
+++ dev/sbus/lebuffer.c 13 Feb 2020 09:37:17 -0000
@@ -48,7 +48,7 @@ int lebufprint(void *, const char *);
 int lebufmatch(struct device *, void *, void *);
 void lebufattach(struct device *, struct device *, void *);
 
-struct cfattach lebuffer_ca = {
+const struct cfattach lebuffer_ca = {
  sizeof(struct lebuf_softc), lebufmatch, lebufattach
 };
 
Index: dev/sbus/magma.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/magma.c,v
retrieving revision 1.30
diff -u -p -r1.30 magma.c
--- dev/sbus/magma.c 31 Dec 2019 10:05:33 -0000 1.30
+++ dev/sbus/magma.c 13 Feb 2020 09:37:17 -0000
@@ -157,7 +157,7 @@ static const struct magma_board_info sup
  *  Autoconfig Stuff
  */
 
-struct cfattach magma_ca = {
+const struct cfattach magma_ca = {
  sizeof(struct magma_softc), magma_match, magma_attach
 };
 
@@ -165,7 +165,7 @@ struct cfdriver magma_cd = {
  NULL, "magma", DV_DULL
 };
 
-struct cfattach mtty_ca = {
+const struct cfattach mtty_ca = {
  sizeof(struct mtty_softc), mtty_match, mtty_attach
 };
 
@@ -173,7 +173,7 @@ struct cfdriver mtty_cd = {
  NULL, "mtty", DV_TTY
 };
 
-struct cfattach mbpp_ca = {
+const struct cfattach mbpp_ca = {
  sizeof(struct mbpp_softc), mbpp_match, mbpp_attach
 };
 
Index: dev/sbus/mgx.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/mgx.c,v
retrieving revision 1.13
diff -u -p -r1.13 mgx.c
--- dev/sbus/mgx.c 20 Oct 2013 20:07:31 -0000 1.13
+++ dev/sbus/mgx.c 13 Feb 2020 09:37:17 -0000
@@ -165,7 +165,7 @@ int mgx_wait_fifo(struct mgx_softc *, ui
 int mgxmatch(struct device *, void *, void *);
 void mgxattach(struct device *, struct device *, void *);
 
-struct cfattach mgx_ca = {
+const struct cfattach mgx_ca = {
  sizeof(struct mgx_softc), mgxmatch, mgxattach
 };
 
Index: dev/sbus/qe.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/qe.c,v
retrieving revision 1.40
diff -u -p -r1.40 qe.c
--- dev/sbus/qe.c 22 Jan 2017 10:17:39 -0000 1.40
+++ dev/sbus/qe.c 13 Feb 2020 09:37:17 -0000
@@ -148,7 +148,7 @@ struct mbuf *qe_get(struct qe_softc *, i
 void qe_ifmedia_sts(struct ifnet *, struct ifmediareq *);
 int qe_ifmedia_upd(struct ifnet *);
 
-struct cfattach qe_ca = {
+const struct cfattach qe_ca = {
  sizeof(struct qe_softc), qematch, qeattach
 };
 
Index: dev/sbus/qec.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/qec.c,v
retrieving revision 1.14
diff -u -p -r1.14 qec.c
--- dev/sbus/qec.c 8 Sep 2017 05:36:52 -0000 1.14
+++ dev/sbus/qec.c 13 Feb 2020 09:37:17 -0000
@@ -67,7 +67,7 @@ void * qec_intr_establish(
  void *, /*arg*/
  const char *); /*what*/
 
-struct cfattach qec_ca = {
+const struct cfattach qec_ca = {
  sizeof(struct qec_softc), qecmatch, qecattach
 };
 
Index: dev/sbus/qla_sbus.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/qla_sbus.c,v
retrieving revision 1.2
diff -u -p -r1.2 qla_sbus.c
--- dev/sbus/qla_sbus.c 12 Jul 2014 18:48:52 -0000 1.2
+++ dev/sbus/qla_sbus.c 13 Feb 2020 09:37:17 -0000
@@ -41,7 +41,7 @@
 int qla_sbus_match(struct device *, void *, void *);
 void qla_sbus_attach(struct device *, struct device *, void *);
 
-struct cfattach qla_sbus_ca = {
+const struct cfattach qla_sbus_ca = {
  sizeof(struct qla_softc),
  qla_sbus_match,
  qla_sbus_attach
Index: dev/sbus/qlw_sbus.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/qlw_sbus.c,v
retrieving revision 1.1
diff -u -p -r1.1 qlw_sbus.c
--- dev/sbus/qlw_sbus.c 15 Mar 2014 21:49:47 -0000 1.1
+++ dev/sbus/qlw_sbus.c 13 Feb 2020 09:37:17 -0000
@@ -39,7 +39,7 @@
 int qlw_sbus_match(struct device *, void *, void *);
 void qlw_sbus_attach(struct device *, struct device *, void *);
 
-struct cfattach qlw_sbus_ca = {
+const struct cfattach qlw_sbus_ca = {
  sizeof(struct qlw_softc),
  qlw_sbus_match,
  qlw_sbus_attach
Index: dev/sbus/rfx.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/rfx.c,v
retrieving revision 1.12
diff -u -p -r1.12 rfx.c
--- dev/sbus/rfx.c 22 Jan 2014 03:03:09 -0000 1.12
+++ dev/sbus/rfx.c 13 Feb 2020 09:37:17 -0000
@@ -142,7 +142,7 @@ int rfxmatch(struct device *, void *, vo
 void rfxattach(struct device *, struct device *, void *);
 
 #if defined(OpenBSD)
-struct cfattach rfx_ca = {
+const struct cfattach rfx_ca = {
  sizeof (struct rfx_softc), rfxmatch, rfxattach
 };
 
Index: dev/sbus/spif.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/spif.c,v
retrieving revision 1.23
diff -u -p -r1.23 spif.c
--- dev/sbus/spif.c 19 Jul 2019 00:17:15 -0000 1.23
+++ dev/sbus/spif.c 13 Feb 2020 09:37:17 -0000
@@ -93,7 +93,7 @@ int spifppcintr(void *);
 int sbpppoll(dev_t, int, struct proc *);
 int sbppioctl(dev_t, u_long, caddr_t, int, struct proc *);
 
-struct cfattach spif_ca = {
+const struct cfattach spif_ca = {
  sizeof (struct spif_softc), spifmatch, spifattach
 };
 
@@ -101,7 +101,7 @@ struct cfdriver spif_cd = {
  NULL, "spif", DV_DULL
 };
 
-struct cfattach stty_ca = {
+const struct cfattach stty_ca = {
  sizeof(struct stty_softc), sttymatch, sttyattach
 };
 
@@ -109,7 +109,7 @@ struct cfdriver stty_cd = {
  NULL, "stty", DV_TTY
 };
 
-struct cfattach sbpp_ca = {
+const struct cfattach sbpp_ca = {
  sizeof(struct sbpp_softc), sbppmatch, sbppattach
 };
 
Index: dev/sbus/tvtwo.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/tvtwo.c,v
retrieving revision 1.15
diff -u -p -r1.15 tvtwo.c
--- dev/sbus/tvtwo.c 20 Oct 2013 20:07:31 -0000 1.15
+++ dev/sbus/tvtwo.c 13 Feb 2020 09:37:17 -0000
@@ -144,7 +144,7 @@ void tvtwo_setcolor(void *, u_int, u_int
 int tvtwomatch(struct device *, void *, void *);
 void tvtwoattach(struct device *, struct device *, void *);
 
-struct cfattach tvtwo_ca = {
+const struct cfattach tvtwo_ca = {
  sizeof(struct tvtwo_softc), tvtwomatch, tvtwoattach
 };
 
Index: dev/sbus/uperf_sbus.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/uperf_sbus.c,v
retrieving revision 1.9
diff -u -p -r1.9 uperf_sbus.c
--- dev/sbus/uperf_sbus.c 8 Sep 2017 05:36:52 -0000 1.9
+++ dev/sbus/uperf_sbus.c 13 Feb 2020 09:37:17 -0000
@@ -60,7 +60,7 @@ struct uperf_sbus_softc {
  bus_space_handle_t sc_bus_h; /* direct register handle */
 };
 
-struct cfattach uperf_sbus_ca = {
+const struct cfattach uperf_sbus_ca = {
  sizeof(struct uperf_sbus_softc), uperf_sbus_match, uperf_sbus_attach
 };
 
Index: dev/sbus/vigra.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/vigra.c,v
retrieving revision 1.12
diff -u -p -r1.12 vigra.c
--- dev/sbus/vigra.c 20 Oct 2013 20:07:31 -0000 1.12
+++ dev/sbus/vigra.c 13 Feb 2020 09:37:17 -0000
@@ -204,7 +204,7 @@ struct wsdisplay_accessops vigra_accesso
 int vigramatch(struct device *, void *, void *);
 void vigraattach(struct device *, struct device *, void *);
 
-struct cfattach vigra_ca = {
+const struct cfattach vigra_ca = {
  sizeof (struct vigra_softc), vigramatch, vigraattach
 };
 
Index: dev/sbus/xbox.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/xbox.c,v
retrieving revision 1.3
diff -u -p -r1.3 xbox.c
--- dev/sbus/xbox.c 2 Jun 2006 20:00:56 -0000 1.3
+++ dev/sbus/xbox.c 13 Feb 2020 09:37:17 -0000
@@ -52,7 +52,7 @@ void xboxattach(struct device *, struct
 int xboxprint(void *, const char *);
 int xbox_fix_range(struct xbox_softc *sc, struct sbus_softc *sbp);
 
-struct cfattach xbox_ca = {
+const struct cfattach xbox_ca = {
  sizeof (struct xbox_softc), xboxmatch, xboxattach
 };
 
Index: dev/sbus/zx.c
===================================================================
RCS file: /cvs/src/sys/dev/sbus/zx.c,v
retrieving revision 1.20
diff -u -p -r1.20 zx.c
--- dev/sbus/zx.c 10 Sep 2015 15:02:32 -0000 1.20
+++ dev/sbus/zx.c 13 Feb 2020 09:37:17 -0000
@@ -161,7 +161,7 @@ int zx_copyrows(void *, int, int, int);
 int zx_eraserows(void *, int, int, long);
 int zx_do_cursor(struct rasops_info *);
 
-struct cfattach zx_ca = {
+const struct cfattach zx_ca = {
  sizeof(struct zx_softc), zx_match, zx_attach
 };
 
Index: dev/sdmmc/if_bwfm_sdio.c
===================================================================
RCS file: /cvs/src/sys/dev/sdmmc/if_bwfm_sdio.c,v
retrieving revision 1.30
diff -u -p -r1.30 if_bwfm_sdio.c
--- dev/sdmmc/if_bwfm_sdio.c 22 Jan 2020 12:08:55 -0000 1.30
+++ dev/sdmmc/if_bwfm_sdio.c 13 Feb 2020 09:37:17 -0000
@@ -187,7 +187,7 @@ struct bwfm_buscore_ops bwfm_sdio_buscor
  .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,
Index: dev/sdmmc/sdmmc.c
===================================================================
RCS file: /cvs/src/sys/dev/sdmmc/sdmmc.c,v
retrieving revision 1.54
diff -u -p -r1.54 sdmmc.c
--- dev/sdmmc/sdmmc.c 31 Dec 2019 10:05:33 -0000 1.54
+++ dev/sdmmc/sdmmc.c 13 Feb 2020 09:37:17 -0000
@@ -73,7 +73,7 @@ void sdmmc_dump_command(struct sdmmc_sof
 #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
 };
Index: dev/tc/asc_tc.c
===================================================================
RCS file: /cvs/src/sys/dev/tc/asc_tc.c,v
retrieving revision 1.12
diff -u -p -r1.12 asc_tc.c
--- dev/tc/asc_tc.c 18 Jan 2014 22:33:59 -0000 1.12
+++ dev/tc/asc_tc.c 13 Feb 2020 09:37:17 -0000
@@ -57,7 +57,7 @@ struct asc_tc_softc {
 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
 };
 
Index: dev/tc/asc_tcds.c
===================================================================
RCS file: /cvs/src/sys/dev/tc/asc_tcds.c,v
retrieving revision 1.8
diff -u -p -r1.8 asc_tcds.c
--- dev/tc/asc_tcds.c 18 Jan 2014 22:33:59 -0000 1.8
+++ dev/tc/asc_tcds.c 13 Feb 2020 09:37:17 -0000
@@ -83,7 +83,7 @@ int  asc_tcds_match (struct device *, vo
 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
 };
 
Index: dev/tc/if_le_ioasic.c
===================================================================
RCS file: /cvs/src/sys/dev/tc/if_le_ioasic.c,v
retrieving revision 1.18
diff -u -p -r1.18 if_le_ioasic.c
--- dev/tc/if_le_ioasic.c 13 Oct 2017 08:58:42 -0000 1.18
+++ dev/tc/if_le_ioasic.c 13 Feb 2020 09:37:17 -0000
@@ -71,7 +71,7 @@ struct le_ioasic_softc {
 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
 };
 
Index: dev/tc/if_le_tc.c
===================================================================
RCS file: /cvs/src/sys/dev/tc/if_le_tc.c,v
retrieving revision 1.12
diff -u -p -r1.12 if_le_tc.c
--- dev/tc/if_le_tc.c 22 Dec 2014 02:28:52 -0000 1.12
+++ dev/tc/if_le_tc.c 13 Feb 2020 09:37:17 -0000
@@ -56,7 +56,7 @@
 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
 };
 
Index: dev/tc/tc.c
===================================================================
RCS file: /cvs/src/sys/dev/tc/tc.c,v
retrieving revision 1.20
diff -u -p -r1.20 tc.c
--- dev/tc/tc.c 11 Nov 2010 17:54:54 -0000 1.20
+++ dev/tc/tc.c 13 Feb 2020 09:37:17 -0000
@@ -40,7 +40,7 @@
 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
 };
 
Index: dev/tc/tcds.c
===================================================================
RCS file: /cvs/src/sys/dev/tc/tcds.c,v
retrieving revision 1.9
diff -u -p -r1.9 tcds.c
--- dev/tc/tcds.c 27 Oct 2017 20:21:53 -0000 1.9
+++ dev/tc/tcds.c 13 Feb 2020 09:37:17 -0000
@@ -99,7 +99,7 @@ void tcdsattach(struct device *, struct
 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,
 };
 
Index: dev/usb/if_bwfm_usb.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/if_bwfm_usb.c,v
retrieving revision 1.17
diff -u -p -r1.17 if_bwfm_usb.c
--- dev/usb/if_bwfm_usb.c 10 Jan 2020 09:25:51 -0000 1.17
+++ dev/usb/if_bwfm_usb.c 13 Feb 2020 09:37:17 -0000
@@ -216,7 +216,7 @@ struct bwfm_bus_ops bwfm_usb_bus_ops = {
  .bs_txctl = bwfm_usb_txctl,
 };
 
-struct cfattach bwfm_usb_ca = {
+const struct cfattach bwfm_usb_ca = {
  sizeof(struct bwfm_usb_softc),
  bwfm_usb_match,
  bwfm_usb_attach,
Index: dev/usb/if_urndis.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/if_urndis.c,v
retrieving revision 1.69
diff -u -p -r1.69 if_urndis.c
--- dev/usb/if_urndis.c 22 Jan 2019 18:06:05 -0000 1.69
+++ dev/usb/if_urndis.c 13 Feb 2020 09:37:17 -0000
@@ -118,7 +118,7 @@ struct cfdriver urndis_cd = {
  NULL, "urndis", DV_IFNET
 };
 
-struct cfattach urndis_ca = {
+const struct cfattach urndis_ca = {
  sizeof(struct urndis_softc), urndis_match, urndis_attach, urndis_detach
 };
 
Index: dev/wscons/wsdisplay.c
===================================================================
RCS file: /cvs/src/sys/dev/wscons/wsdisplay.c,v
retrieving revision 1.135
diff -u -p -r1.135 wsdisplay.c
--- dev/wscons/wsdisplay.c 13 Oct 2019 19:49:21 -0000 1.135
+++ dev/wscons/wsdisplay.c 13 Feb 2020 09:37:17 -0000
@@ -203,7 +203,7 @@ struct cfdriver wsdisplay_cd = {
  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
 };
Index: dev/wscons/wskbd.c
===================================================================
RCS file: /cvs/src/sys/dev/wscons/wskbd.c,v
retrieving revision 1.100
diff -u -p -r1.100 wskbd.c
--- dev/wscons/wskbd.c 8 Jan 2020 16:27:40 -0000 1.100
+++ dev/wscons/wskbd.c 13 Feb 2020 09:37:17 -0000
@@ -238,7 +238,7 @@ struct cfdriver wskbd_cd = {
  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
 };
Index: dev/wscons/wsmouse.c
===================================================================
RCS file: /cvs/src/sys/dev/wscons/wsmouse.c,v
retrieving revision 1.58
diff -u -p -r1.58 wsmouse.c
--- dev/wscons/wsmouse.c 8 Jan 2020 16:27:41 -0000 1.58
+++ dev/wscons/wsmouse.c 13 Feb 2020 09:37:17 -0000
@@ -159,7 +159,7 @@ struct cfdriver wsmouse_cd = {
  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
 };
Index: scsi/cd.c
===================================================================
RCS file: /cvs/src/sys/scsi/cd.c,v
retrieving revision 1.244
diff -u -p -r1.244 cd.c
--- scsi/cd.c 5 Feb 2020 16:29:30 -0000 1.244
+++ scsi/cd.c 13 Feb 2020 09:38:17 -0000
@@ -145,7 +145,7 @@ int dvd_read_struct(struct cd_softc *, u
 int cd_eject(void);
 #endif /* __macppc__ */
 
-struct cfattach cd_ca = {
+const struct cfattach cd_ca = {
  sizeof(struct cd_softc), cdmatch, cdattach,
  cddetach, cdactivate
 };
Index: scsi/ch.c
===================================================================
RCS file: /cvs/src/sys/scsi/ch.c,v
retrieving revision 1.64
diff -u -p -r1.64 ch.c
--- scsi/ch.c 6 Dec 2019 16:57:24 -0000 1.64
+++ scsi/ch.c 13 Feb 2020 09:38:17 -0000
@@ -95,7 +95,7 @@ struct ch_softc {
 int chmatch(struct device *, void *, void *);
 void chattach(struct device *, struct device *, void *);
 
-struct cfattach ch_ca = {
+const struct cfattach ch_ca = {
  sizeof(struct ch_softc), chmatch, chattach
 };
 
Index: scsi/mpath.c
===================================================================
RCS file: /cvs/src/sys/scsi/mpath.c,v
retrieving revision 1.47
diff -u -p -r1.47 mpath.c
--- scsi/mpath.c 5 Feb 2020 21:50:41 -0000 1.47
+++ scsi/mpath.c 13 Feb 2020 09:38:17 -0000
@@ -74,7 +74,7 @@ struct mpath_softc {
 
 struct mpath_softc *mpath;
 
-struct cfattach mpath_ca = {
+const struct cfattach mpath_ca = {
  sizeof(struct mpath_softc),
  mpath_match,
  mpath_attach
Index: scsi/mpath_emc.c
===================================================================
RCS file: /cvs/src/sys/scsi/mpath_emc.c,v
retrieving revision 1.22
diff -u -p -r1.22 mpath_emc.c
--- scsi/mpath_emc.c 17 Aug 2019 15:31:41 -0000 1.22
+++ scsi/mpath_emc.c 13 Feb 2020 09:38:17 -0000
@@ -70,7 +70,7 @@ void emc_attach(struct device *, struct
 int emc_detach(struct device *, int);
 int emc_activate(struct device *, int);
 
-struct cfattach emc_ca = {
+const struct cfattach emc_ca = {
  sizeof(struct emc_softc),
  emc_match,
  emc_attach,
Index: scsi/mpath_hds.c
===================================================================
RCS file: /cvs/src/sys/scsi/mpath_hds.c,v
retrieving revision 1.22
diff -u -p -r1.22 mpath_hds.c
--- scsi/mpath_hds.c 17 Aug 2019 15:31:41 -0000 1.22
+++ scsi/mpath_hds.c 13 Feb 2020 09:38:17 -0000
@@ -71,7 +71,7 @@ void hds_attach(struct device *, struct
 int hds_detach(struct device *, int);
 int hds_activate(struct device *, int);
 
-struct cfattach hds_ca = {
+const struct cfattach hds_ca = {
  sizeof(struct hds_softc),
  hds_match,
  hds_attach,
Index: scsi/mpath_rdac.c
===================================================================
RCS file: /cvs/src/sys/scsi/mpath_rdac.c,v
retrieving revision 1.24
diff -u -p -r1.24 mpath_rdac.c
--- scsi/mpath_rdac.c 17 Aug 2019 15:31:41 -0000 1.24
+++ scsi/mpath_rdac.c 13 Feb 2020 09:38:17 -0000
@@ -129,7 +129,7 @@ void rdac_attach(struct device *, struc
 int rdac_detach(struct device *, int);
 int rdac_activate(struct device *, int);
 
-struct cfattach rdac_ca = {
+const struct cfattach rdac_ca = {
  sizeof(struct rdac_softc),
  rdac_match,
  rdac_attach,
Index: scsi/mpath_sym.c
===================================================================
RCS file: /cvs/src/sys/scsi/mpath_sym.c,v
retrieving revision 1.24
diff -u -p -r1.24 mpath_sym.c
--- scsi/mpath_sym.c 17 Aug 2019 15:31:41 -0000 1.24
+++ scsi/mpath_sym.c 13 Feb 2020 09:38:17 -0000
@@ -44,7 +44,7 @@ void sym_attach(struct device *, struct
 int sym_detach(struct device *, int);
 int sym_activate(struct device *, int);
 
-struct cfattach sym_ca = {
+const struct cfattach sym_ca = {
  sizeof(struct sym_softc),
  sym_match,
  sym_attach,
Index: scsi/safte.c
===================================================================
RCS file: /cvs/src/sys/scsi/safte.c,v
retrieving revision 1.61
diff -u -p -r1.61 safte.c
--- scsi/safte.c 7 Dec 2019 14:13:49 -0000 1.61
+++ scsi/safte.c 13 Feb 2020 09:38:17 -0000
@@ -85,7 +85,7 @@ struct safte_softc {
 #endif /* NBIO > 0 */
 };
 
-struct cfattach safte_ca = {
+const struct cfattach safte_ca = {
  sizeof(struct safte_softc), safte_match, safte_attach, safte_detach
 };
 
Index: scsi/scsiconf.c
===================================================================
RCS file: /cvs/src/sys/scsi/scsiconf.c,v
retrieving revision 1.223
diff -u -p -r1.223 scsiconf.c
--- scsi/scsiconf.c 5 Feb 2020 16:29:30 -0000 1.223
+++ scsi/scsiconf.c 13 Feb 2020 09:38:17 -0000
@@ -93,7 +93,7 @@ int scsibussubmatch(struct device *, voi
 int scsibus_bioctl(struct device *, u_long, caddr_t);
 #endif /* NBIO > 0 */
 
-struct cfattach scsibus_ca = {
+const struct cfattach scsibus_ca = {
  sizeof(struct scsibus_softc), scsibusmatch, scsibusattach,
  scsibusdetach, scsibusactivate
 };
Index: scsi/sd.c
===================================================================
RCS file: /cvs/src/sys/scsi/sd.c,v
retrieving revision 1.309
diff -u -p -r1.309 sd.c
--- scsi/sd.c 5 Feb 2020 16:29:30 -0000 1.309
+++ scsi/sd.c 13 Feb 2020 09:38:17 -0000
@@ -109,7 +109,7 @@ void sd_cmd_rw16(struct scsi_xfer *, int
 
 void sd_buf_done(struct scsi_xfer *);
 
-struct cfattach sd_ca = {
+const struct cfattach sd_ca = {
  sizeof(struct sd_softc), sdmatch, sdattach,
  sddetach, sdactivate
 };
Index: scsi/ses.c
===================================================================
RCS file: /cvs/src/sys/scsi/ses.c,v
retrieving revision 1.60
diff -u -p -r1.60 ses.c
--- scsi/ses.c 7 Dec 2019 13:03:57 -0000 1.60
+++ scsi/ses.c 13 Feb 2020 09:38:17 -0000
@@ -87,7 +87,7 @@ struct ses_softc {
  struct sensor_task *sc_sensortask;
 };
 
-struct cfattach ses_ca = {
+const struct cfattach ses_ca = {
  sizeof(struct ses_softc), ses_match, ses_attach, ses_detach
 };
 
Index: scsi/st.c
===================================================================
RCS file: /cvs/src/sys/scsi/st.c,v
retrieving revision 1.176
diff -u -p -r1.176 st.c
--- scsi/st.c 5 Feb 2020 16:29:30 -0000 1.176
+++ scsi/st.c 13 Feb 2020 09:38:17 -0000
@@ -224,7 +224,7 @@ int st_interpret_sense(struct scsi_xfer
 int st_touch_tape(struct st_softc *);
 int st_erase(struct st_softc *, int, int);
 
-struct cfattach st_ca = {
+const struct cfattach st_ca = {
  sizeof(struct st_softc), stmatch, stattach,
  stdetach, stactivate
 };
Index: scsi/uk.c
===================================================================
RCS file: /cvs/src/sys/scsi/uk.c,v
retrieving revision 1.24
diff -u -p -r1.24 uk.c
--- scsi/uk.c 7 Dec 2019 15:16:24 -0000 1.24
+++ scsi/uk.c 13 Feb 2020 09:38:17 -0000
@@ -57,7 +57,7 @@ int ukmatch(struct device *, void *, voi
 void ukattach(struct device *, struct device *, void *);
 int ukdetach(struct device *, int);
 
-struct cfattach uk_ca = {
+const struct cfattach uk_ca = {
  sizeof(struct uk_softc), ukmatch, ukattach, ukdetach
 };
 

Reply | Threaded
Open this post in threaded view
|

Re: const*ify cfattach

Claudio Jeker
On Thu, Feb 13, 2020 at 12:00:35PM +0100, Martin Pieuchot wrote:

> These structures are only used by autoconf(9) and don't need to be
> modified.  Some subsystems already define most of them as 'const'.
> Diff below turn all the remaining one as such.
>
> Only a single driver, de(4), needed a modification apart from adding
> the const: removing a forward definition fixed it ;)
>
> Built for all archs, I tested i386, amd64 and sparc64.
>
> Ok?

Makes sense. OK clauido@
 

> Index: arch/alpha/alpha/cpu.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/alpha/alpha/cpu.c,v
> retrieving revision 1.42
> diff -u -p -r1.42 cpu.c
> --- arch/alpha/alpha/cpu.c 27 Oct 2016 09:46:14 -0000 1.42
> +++ arch/alpha/alpha/cpu.c 13 Feb 2020 09:38:17 -0000
> @@ -108,7 +108,7 @@ u_long cpu_implver, cpu_amask;
>  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
>  };
>  
> Index: arch/alpha/alpha/mainbus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/alpha/alpha/mainbus.c,v
> retrieving revision 1.14
> diff -u -p -r1.14 mainbus.c
> --- arch/alpha/alpha/mainbus.c 22 Dec 2013 18:52:34 -0000 1.14
> +++ arch/alpha/alpha/mainbus.c 13 Feb 2020 09:38:17 -0000
> @@ -43,7 +43,7 @@ static int mbmatch(struct device *, void
>  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
>  };
>  
> Index: arch/alpha/isa/mcclock_isa.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/alpha/isa/mcclock_isa.c,v
> retrieving revision 1.8
> diff -u -p -r1.8 mcclock_isa.c
> --- arch/alpha/isa/mcclock_isa.c 2 Jan 2006 05:21:24 -0000 1.8
> +++ arch/alpha/isa/mcclock_isa.c 13 Feb 2020 09:38:17 -0000
> @@ -50,7 +50,7 @@ struct mcclock_isa_softc {
>  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,
>  };
> Index: arch/alpha/mcbus/mcbus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/alpha/mcbus/mcbus.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 mcbus.c
> --- arch/alpha/mcbus/mcbus.c 6 Aug 2014 15:15:16 -0000 1.3
> +++ arch/alpha/mcbus/mcbus.c 13 Feb 2020 09:38:17 -0000
> @@ -68,7 +68,7 @@ typedef struct {
>   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
>  };
>  
> Index: arch/alpha/mcbus/mcmem.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/alpha/mcbus/mcmem.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 mcmem.c
> --- arch/alpha/mcbus/mcmem.c 5 Dec 2012 23:20:10 -0000 1.2
> +++ arch/alpha/mcbus/mcmem.c 13 Feb 2020 09:38:17 -0000
> @@ -52,7 +52,7 @@
>  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
>  };
>  
> Index: arch/alpha/pci/apecs.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/alpha/pci/apecs.c,v
> retrieving revision 1.22
> diff -u -p -r1.22 apecs.c
> --- arch/alpha/pci/apecs.c 30 Mar 2009 21:43:13 -0000 1.22
> +++ arch/alpha/pci/apecs.c 13 Feb 2020 09:38:17 -0000
> @@ -90,7 +90,7 @@
>  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,
>  };
>  
> Index: arch/alpha/pci/cia.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/alpha/pci/cia.c,v
> retrieving revision 1.26
> diff -u -p -r1.26 cia.c
> --- arch/alpha/pci/cia.c 20 Oct 2017 12:05:01 -0000 1.26
> +++ arch/alpha/pci/cia.c 13 Feb 2020 09:38:17 -0000
> @@ -95,7 +95,7 @@
>  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,
>  };
>  
> Index: arch/alpha/pci/irongate.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/alpha/pci/irongate.c,v
> retrieving revision 1.11
> diff -u -p -r1.11 irongate.c
> --- arch/alpha/pci/irongate.c 30 Mar 2009 21:43:13 -0000 1.11
> +++ arch/alpha/pci/irongate.c 13 Feb 2020 09:38:17 -0000
> @@ -53,7 +53,7 @@
>  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,
>  };
>  
> Index: arch/alpha/pci/lca.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/alpha/pci/lca.c,v
> retrieving revision 1.23
> diff -u -p -r1.23 lca.c
> --- arch/alpha/pci/lca.c 4 Jun 2013 19:12:34 -0000 1.23
> +++ arch/alpha/pci/lca.c 13 Feb 2020 09:38:17 -0000
> @@ -89,7 +89,7 @@
>  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,
>  };
>  
> Index: arch/alpha/pci/mcpcia.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/alpha/pci/mcpcia.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 mcpcia.c
> --- arch/alpha/pci/mcpcia.c 5 Dec 2012 23:20:10 -0000 1.6
> +++ arch/alpha/pci/mcpcia.c 13 Feb 2020 09:38:17 -0000
> @@ -99,7 +99,7 @@ void mcpcia_config_cleanup (void);
>  
>  int mcpciaprint (void *, const char *);
>  
> -struct cfattach mcpcia_ca = {
> +const struct cfattach mcpcia_ca = {
>   sizeof(struct mcpcia_softc), mcpciamatch, mcpciaattach
>  };
>  
> Index: arch/alpha/pci/sio.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/alpha/pci/sio.c,v
> retrieving revision 1.40
> diff -u -p -r1.40 sio.c
> --- arch/alpha/pci/sio.c 15 Aug 2015 19:26:00 -0000 1.40
> +++ arch/alpha/pci/sio.c 13 Feb 2020 09:38:17 -0000
> @@ -79,7 +79,7 @@ struct cfdriver sio_cd = {
>  
>  int pcebmatch(struct device *, void *, void *);
>  
> -struct cfattach pceb_ca = {
> +const struct cfattach pceb_ca = {
>   sizeof(struct sio_softc), pcebmatch, sioattach,
>  };
>  
> Index: arch/alpha/pci/tsc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/alpha/pci/tsc.c,v
> retrieving revision 1.16
> diff -u -p -r1.16 tsc.c
> --- arch/alpha/pci/tsc.c 24 Dec 2014 18:46:14 -0000 1.16
> +++ arch/alpha/pci/tsc.c 13 Feb 2020 09:38:17 -0000
> @@ -56,7 +56,7 @@
>  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,
>  };
>  
> @@ -71,7 +71,7 @@ static int tscprint(void *, const char *
>  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,
>  };
>  
> Index: arch/alpha/tc/cfb.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/alpha/tc/cfb.c,v
> retrieving revision 1.24
> diff -u -p -r1.24 cfb.c
> --- arch/alpha/tc/cfb.c 15 Jan 2017 20:22:33 -0000 1.24
> +++ arch/alpha/tc/cfb.c 13 Feb 2020 09:38:17 -0000
> @@ -57,7 +57,7 @@
>  int cfbmatch(struct device *, void *, void *);
>  void cfbattach(struct device *, struct device *, void *);
>  
> -struct cfattach cfb_ca = {
> +const struct cfattach cfb_ca = {
>   sizeof(struct cfb_softc), cfbmatch, cfbattach,
>  };
>  
> Index: arch/alpha/tc/ioasic.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/alpha/tc/ioasic.c,v
> retrieving revision 1.18
> diff -u -p -r1.18 ioasic.c
> --- arch/alpha/tc/ioasic.c 11 Oct 2017 08:14:28 -0000 1.18
> +++ arch/alpha/tc/ioasic.c 13 Feb 2020 09:38:17 -0000
> @@ -81,7 +81,7 @@
>  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,
>  };
>  
> Index: arch/alpha/tc/mcclock_ioasic.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/alpha/tc/mcclock_ioasic.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 mcclock_ioasic.c
> --- arch/alpha/tc/mcclock_ioasic.c 2 May 2002 22:56:06 -0000 1.6
> +++ arch/alpha/tc/mcclock_ioasic.c 13 Feb 2020 09:38:17 -0000
> @@ -53,7 +53,7 @@ struct mcclock_ioasic_softc {
>  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,
>  };
> Index: arch/alpha/tc/sfb.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/alpha/tc/sfb.c,v
> retrieving revision 1.22
> diff -u -p -r1.22 sfb.c
> --- arch/alpha/tc/sfb.c 15 Jan 2017 20:22:33 -0000 1.22
> +++ arch/alpha/tc/sfb.c 13 Feb 2020 09:38:17 -0000
> @@ -57,7 +57,7 @@
>  int sfbmatch(struct device *, void *, void *);
>  void sfbattach(struct device *, struct device *, void *);
>  
> -struct cfattach sfb_ca = {
> +const struct cfattach sfb_ca = {
>   sizeof(struct sfb_softc), sfbmatch, sfbattach,
>  };
>  
> Index: arch/alpha/tc/tcasic.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/alpha/tc/tcasic.c,v
> retrieving revision 1.17
> diff -u -p -r1.17 tcasic.c
> --- arch/alpha/tc/tcasic.c 29 Oct 2017 08:50:43 -0000 1.17
> +++ arch/alpha/tc/tcasic.c 13 Feb 2020 09:38:17 -0000
> @@ -44,7 +44,7 @@ int tcasicmatch(struct device *, void *,
>  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,
> Index: arch/amd64/amd64/acpi_machdep.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/amd64/amd64/acpi_machdep.c,v
> retrieving revision 1.89
> diff -u -p -r1.89 acpi_machdep.c
> --- arch/amd64/amd64/acpi_machdep.c 20 Dec 2019 07:49:31 -0000 1.89
> +++ arch/amd64/amd64/acpi_machdep.c 13 Feb 2020 09:38:17 -0000
> @@ -68,7 +68,7 @@ u_int8_t *acpi_scan(struct acpi_mem_map
>  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
>  };
>  
> Index: arch/amd64/amd64/bios.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/amd64/amd64/bios.c,v
> retrieving revision 1.41
> diff -u -p -r1.41 bios.c
> --- arch/amd64/amd64/bios.c 23 Oct 2019 10:14:46 -0000 1.41
> +++ arch/amd64/amd64/bios.c 13 Feb 2020 09:38:17 -0000
> @@ -46,7 +46,7 @@ void bios_attach(struct device *, struct
>  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
>  };
>  
> Index: arch/amd64/amd64/cpu.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/amd64/amd64/cpu.c,v
> retrieving revision 1.144
> diff -u -p -r1.144 cpu.c
> --- arch/amd64/amd64/cpu.c 10 Feb 2020 03:08:58 -0000 1.144
> +++ arch/amd64/amd64/cpu.c 13 Feb 2020 09:38:17 -0000
> @@ -376,7 +376,7 @@ struct cpu_functions mp_cpu_funcs = { mp
>        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
>  };
>  
> Index: arch/amd64/amd64/ioapic.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/amd64/amd64/ioapic.c,v
> retrieving revision 1.29
> diff -u -p -r1.29 ioapic.c
> --- arch/amd64/amd64/ioapic.c 25 Aug 2018 16:09:29 -0000 1.29
> +++ arch/amd64/amd64/ioapic.c 13 Feb 2020 09:38:17 -0000
> @@ -225,7 +225,7 @@ ioapic_print_redir(struct ioapic_softc *
>   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
>  };
> Index: arch/amd64/amd64/mainbus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/amd64/amd64/mainbus.c,v
> retrieving revision 1.49
> diff -u -p -r1.49 mainbus.c
> --- arch/amd64/amd64/mainbus.c 7 Sep 2019 13:46:19 -0000 1.49
> +++ arch/amd64/amd64/mainbus.c 13 Feb 2020 09:38:17 -0000
> @@ -78,7 +78,7 @@ void replacemds(void);
>  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
>  };
>  
> Index: arch/amd64/amd64/mpbios.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/amd64/amd64/mpbios.c,v
> retrieving revision 1.29
> diff -u -p -r1.29 mpbios.c
> --- arch/amd64/amd64/mpbios.c 7 Feb 2018 06:19:54 -0000 1.29
> +++ arch/amd64/amd64/mpbios.c 13 Feb 2020 09:38:17 -0000
> @@ -184,7 +184,7 @@ int mpbios_scanned;
>  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
>  };
>  
> Index: arch/amd64/pci/aapic.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/amd64/pci/aapic.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 aapic.c
> --- arch/amd64/pci/aapic.c 14 Mar 2015 03:38:46 -0000 1.6
> +++ arch/amd64/pci/aapic.c 13 Feb 2020 09:38:17 -0000
> @@ -31,7 +31,7 @@ struct aapic_softc {
>   struct device sc_dev;
>  };
>  
> -struct cfattach aapic_ca = {
> +const struct cfattach aapic_ca = {
>   sizeof(struct aapic_softc), aapic_match, aapic_attach
>  };
>  
> Index: arch/amd64/pci/acpipci.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/amd64/pci/acpipci.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 acpipci.c
> --- arch/amd64/pci/acpipci.c 7 Sep 2019 13:46:19 -0000 1.3
> +++ arch/amd64/pci/acpipci.c 13 Feb 2020 09:38:17 -0000
> @@ -58,7 +58,7 @@ struct acpipci_softc {
>  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
>  };
>  
> Index: arch/amd64/pci/pchb.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/amd64/pci/pchb.c,v
> retrieving revision 1.44
> diff -u -p -r1.44 pchb.c
> --- arch/amd64/pci/pchb.c 4 Jan 2020 01:34:24 -0000 1.44
> +++ arch/amd64/pci/pchb.c 13 Feb 2020 09:38:17 -0000
> @@ -118,7 +118,7 @@ int pchbmatch(struct device *, void *, v
>  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
>  };
> Index: arch/amd64/pci/pcib.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/amd64/pci/pcib.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 pcib.c
> --- arch/amd64/pci/pcib.c 30 May 2013 16:15:01 -0000 1.6
> +++ arch/amd64/pci/pcib.c 13 Feb 2020 09:38:17 -0000
> @@ -49,7 +49,7 @@ void pcibattach(struct device *, struct
>  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
>  };
>  
> Index: arch/arm/arm/cpu.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/arm/arm/cpu.c,v
> retrieving revision 1.53
> diff -u -p -r1.53 cpu.c
> --- arch/arm/arm/cpu.c 12 Jan 2020 16:55:00 -0000 1.53
> +++ arch/arm/arm/cpu.c 13 Feb 2020 09:38:17 -0000
> @@ -152,7 +152,7 @@ int cpu_node;
>  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
>  };
>  
> Index: arch/arm/cortex/agtimer.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/arm/cortex/agtimer.c,v
> retrieving revision 1.9
> diff -u -p -r1.9 agtimer.c
> --- arch/arm/cortex/agtimer.c 11 Aug 2018 10:42:42 -0000 1.9
> +++ arch/arm/cortex/agtimer.c 13 Feb 2020 09:38:17 -0000
> @@ -83,7 +83,7 @@ void agtimer_setstatclockrate(int stath
>  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
>  };
>  
> Index: arch/arm/cortex/ampintc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/arm/cortex/ampintc.c,v
> retrieving revision 1.27
> diff -u -p -r1.27 ampintc.c
> --- arch/arm/cortex/ampintc.c 29 Sep 2019 10:36:52 -0000 1.27
> +++ arch/arm/cortex/ampintc.c 13 Feb 2020 09:38:17 -0000
> @@ -200,7 +200,7 @@ int ampintc_ipi_nop(void *);
>  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
>  };
>  
> @@ -832,7 +832,7 @@ struct ampintc_msi_softc {
>   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
>  };
>  
> Index: arch/arm/cortex/amptimer.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/arm/cortex/amptimer.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 amptimer.c
> --- arch/arm/cortex/amptimer.c 9 Jul 2018 09:51:43 -0000 1.6
> +++ arch/arm/cortex/amptimer.c 13 Feb 2020 09:38:17 -0000
> @@ -117,7 +117,7 @@ void *ampintc_intr_establish(int, int, i
>  
>  
>  
> -struct cfattach amptimer_ca = {
> +const struct cfattach amptimer_ca = {
>   sizeof (struct amptimer_softc), amptimer_match, amptimer_attach
>  };
>  
> Index: arch/arm/cortex/arml2cc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/arm/cortex/arml2cc.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 arml2cc.c
> --- arch/arm/cortex/arml2cc.c 22 Aug 2016 01:42:00 -0000 1.5
> +++ arch/arm/cortex/arml2cc.c 13 Feb 2020 09:38:17 -0000
> @@ -116,7 +116,7 @@ void arml2cc_cache_op(struct arml2cc_sof
>  void arml2cc_cache_sync(struct arml2cc_softc *);
>  void arml2cc_sdcache_drain_writebuf(void);
>  
> -struct cfattach armliicc_ca = {
> +const struct cfattach armliicc_ca = {
>   sizeof (struct arml2cc_softc), arml2cc_match, arml2cc_attach
>  };
>  
> Index: arch/arm/cortex/cortex.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/arm/cortex/cortex.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 cortex.c
> --- arch/arm/cortex/cortex.c 2 May 2016 08:15:55 -0000 1.5
> +++ arch/arm/cortex/cortex.c 13 Feb 2020 09:38:17 -0000
> @@ -81,7 +81,7 @@ int cortexsearch(struct device *,  void
>  
>  /* attach and device structures for the device */
>  
> -struct cfattach cortex_ca = {
> +const struct cfattach cortex_ca = {
>   sizeof(struct device), cortexmatch, cortexattach, NULL,
>   config_activate_children
>  };
> Index: arch/arm/mainbus/mainbus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/arm/mainbus/mainbus.c,v
> retrieving revision 1.21
> diff -u -p -r1.21 mainbus.c
> --- arch/arm/mainbus/mainbus.c 23 Oct 2019 09:27:43 -0000 1.21
> +++ arch/arm/mainbus/mainbus.c 13 Feb 2020 09:38:17 -0000
> @@ -50,7 +50,7 @@ struct mainbus_softc {
>   int sc_early;
>  };
>  
> -struct cfattach mainbus_ca = {
> +const struct cfattach mainbus_ca = {
>   sizeof(struct mainbus_softc), mainbus_match, mainbus_attach, NULL,
>   config_activate_children
>  };
> Index: arch/arm/simplebus/simplebus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/arm/simplebus/simplebus.c,v
> retrieving revision 1.15
> diff -u -p -r1.15 simplebus.c
> --- arch/arm/simplebus/simplebus.c 16 Apr 2019 13:16:06 -0000 1.15
> +++ arch/arm/simplebus/simplebus.c 13 Feb 2020 09:38:17 -0000
> @@ -33,7 +33,7 @@ void simplebus_attach(struct device *, s
>  void simplebus_attach_node(struct device *, int);
>  int simplebus_bs_map(void *, uint64_t, bus_size_t, int, bus_space_handle_t *);
>  
> -struct cfattach simplebus_ca = {
> +const struct cfattach simplebus_ca = {
>   sizeof(struct simplebus_softc), simplebus_match, simplebus_attach
>  };
>  
> Index: arch/arm64/arm64/acpi_machdep.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/arm64/arm64/acpi_machdep.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 acpi_machdep.c
> --- arch/arm64/arm64/acpi_machdep.c 27 Aug 2019 22:39:53 -0000 1.3
> +++ arch/arm64/arm64/acpi_machdep.c 13 Feb 2020 09:38:17 -0000
> @@ -37,7 +37,7 @@ int acpi_fdt_match(struct device *, void
>  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
>  };
>  
> Index: arch/arm64/arm64/cpu.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/arm64/arm64/cpu.c,v
> retrieving revision 1.37
> diff -u -p -r1.37 cpu.c
> --- arch/arm64/arm64/cpu.c 1 Oct 2019 03:53:26 -0000 1.37
> +++ arch/arm64/arm64/cpu.c 13 Feb 2020 09:38:17 -0000
> @@ -137,7 +137,7 @@ struct cpu_info *cpu_info_list = &cpu_in
>  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
>  };
>  
> Index: arch/arm64/dev/acpipci.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/arm64/dev/acpipci.c,v
> retrieving revision 1.13
> diff -u -p -r1.13 acpipci.c
> --- arch/arm64/dev/acpipci.c 22 Aug 2019 17:14:21 -0000 1.13
> +++ arch/arm64/dev/acpipci.c 13 Feb 2020 09:38:17 -0000
> @@ -80,7 +80,7 @@ struct acpipci_softc {
>  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
>  };
>  
> Index: arch/arm64/dev/agintc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/arm64/dev/agintc.c,v
> retrieving revision 1.22
> diff -u -p -r1.22 agintc.c
> --- arch/arm64/dev/agintc.c 2 Aug 2019 10:04:59 -0000 1.22
> +++ arch/arm64/dev/agintc.c 13 Feb 2020 09:38:17 -0000
> @@ -228,7 +228,7 @@ int agintc_ipi_nop(void *v);
>  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
>  };
>  
> @@ -1244,7 +1244,7 @@ struct agintc_msi_softc {
>   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
>  };
>  
> Index: arch/arm64/dev/agtimer.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/arm64/dev/agtimer.c,v
> retrieving revision 1.11
> diff -u -p -r1.11 agtimer.c
> --- arch/arm64/dev/agtimer.c 5 Oct 2019 11:27:02 -0000 1.11
> +++ arch/arm64/dev/agtimer.c 13 Feb 2020 09:38:17 -0000
> @@ -81,7 +81,7 @@ void agtimer_setstatclockrate(int stath
>  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
>  };
>  
> Index: arch/arm64/dev/ampintc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/arm64/dev/ampintc.c,v
> retrieving revision 1.16
> diff -u -p -r1.16 ampintc.c
> --- arch/arm64/dev/ampintc.c 22 Sep 2019 15:05:37 -0000 1.16
> +++ arch/arm64/dev/ampintc.c 13 Feb 2020 09:38:17 -0000
> @@ -195,7 +195,7 @@ int ampintc_ipi_nop(void *);
>  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
>  };
>  
> @@ -818,7 +818,7 @@ struct ampintc_msi_softc {
>   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
>  };
>  
> Index: arch/arm64/dev/apm.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/arm64/dev/apm.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 apm.c
> --- arch/arm64/dev/apm.c 31 Dec 2019 13:48:31 -0000 1.2
> +++ arch/arm64/dev/apm.c 13 Feb 2020 09:38:17 -0000
> @@ -69,7 +69,7 @@ struct apm_softc {
>  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
>  };
>  
> Index: arch/arm64/dev/bcm2836_intr.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/arm64/dev/bcm2836_intr.c,v
> retrieving revision 1.8
> diff -u -p -r1.8 bcm2836_intr.c
> --- arch/arm64/dev/bcm2836_intr.c 24 Feb 2018 12:46:45 -0000 1.8
> +++ arch/arm64/dev/bcm2836_intr.c 13 Feb 2020 09:38:17 -0000
> @@ -126,7 +126,7 @@ void bcm_intc_intr_route(void *, int ,
>  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
>  };
>  
> Index: arch/arm64/dev/efi.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/arm64/dev/efi.c,v
> retrieving revision 1.7
> diff -u -p -r1.7 efi.c
> --- arch/arm64/dev/efi.c 4 Aug 2019 09:27:09 -0000 1.7
> +++ arch/arm64/dev/efi.c 13 Feb 2020 09:38:17 -0000
> @@ -57,7 +57,7 @@ struct efi_softc {
>  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
>  };
>  
> Index: arch/arm64/dev/mainbus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/arm64/dev/mainbus.c,v
> retrieving revision 1.15
> diff -u -p -r1.15 mainbus.c
> --- arch/arm64/dev/mainbus.c 23 Oct 2019 09:27:43 -0000 1.15
> +++ arch/arm64/dev/mainbus.c 13 Feb 2020 09:38:17 -0000
> @@ -55,7 +55,7 @@ struct mainbus_softc {
>   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
>  };
> Index: arch/arm64/dev/pciecam.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/arm64/dev/pciecam.c,v
> retrieving revision 1.9
> diff -u -p -r1.9 pciecam.c
> --- arch/arm64/dev/pciecam.c 2 Jun 2019 18:40:58 -0000 1.9
> +++ arch/arm64/dev/pciecam.c 13 Feb 2020 09:38:17 -0000
> @@ -106,7 +106,7 @@ void *pciecam_intr_establish(void *, pci
>  void pciecam_intr_disestablish(void *, void *);
>  int pciecam_bs_map(bus_space_tag_t, bus_addr_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
>  };
>  
> Index: arch/arm64/dev/simplebus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/arm64/dev/simplebus.c,v
> retrieving revision 1.11
> diff -u -p -r1.11 simplebus.c
> --- arch/arm64/dev/simplebus.c 16 Apr 2019 13:15:31 -0000 1.11
> +++ arch/arm64/dev/simplebus.c 13 Feb 2020 09:38:17 -0000
> @@ -36,7 +36,7 @@ int simplebus_bs_map(bus_space_tag_t, bu
>  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
>  };
>  
> Index: arch/arm64/dev/smbios.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/arm64/dev/smbios.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 smbios.c
> --- arch/arm64/dev/smbios.c 23 Oct 2019 10:14:46 -0000 1.4
> +++ arch/arm64/dev/smbios.c 13 Feb 2020 09:38:17 -0000
> @@ -57,7 +57,7 @@ struct smbios_softc {
>  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
>  };
>  
> Index: arch/armv7/broadcom/bcm2836_intr.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/broadcom/bcm2836_intr.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 bcm2836_intr.c
> --- arch/armv7/broadcom/bcm2836_intr.c 5 Oct 2019 15:44:57 -0000 1.4
> +++ arch/armv7/broadcom/bcm2836_intr.c 13 Feb 2020 09:38:17 -0000
> @@ -120,7 +120,7 @@ void bcm_intc_intr_disestablish(void *)
>  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
>  };
>  
> Index: arch/armv7/exynos/crosec.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/exynos/crosec.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 crosec.c
> --- arch/armv7/exynos/crosec.c 6 Mar 2017 06:50:47 -0000 1.3
> +++ arch/armv7/exynos/crosec.c 13 Feb 2020 09:38:17 -0000
> @@ -42,7 +42,7 @@ int cros_ec_i2c_command(struct cros_ec_s
>   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
>  };
>  
> Index: arch/armv7/exynos/exclock.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/exynos/exclock.c,v
> retrieving revision 1.7
> diff -u -p -r1.7 exclock.c
> --- arch/armv7/exynos/exclock.c 21 May 2017 17:49:45 -0000 1.7
> +++ arch/armv7/exynos/exclock.c 13 Feb 2020 09:38:17 -0000
> @@ -96,7 +96,7 @@ unsigned int exclock_get_pll_clk(enum cl
>  unsigned int exclock_get_armclk(void);
>  unsigned int exclock_get_i2cclk(void);
>  
> -struct cfattach exclock_ca = {
> +const struct cfattach exclock_ca = {
>   sizeof (struct exclock_softc), exclock_match, exclock_attach
>  };
>  
> Index: arch/armv7/exynos/exdisplay.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/exynos/exdisplay.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 exdisplay.c
> --- arch/armv7/exynos/exdisplay.c 26 Jul 2016 22:10:10 -0000 1.4
> +++ arch/armv7/exynos/exdisplay.c 13 Feb 2020 09:38:17 -0000
> @@ -52,10 +52,10 @@ void exdisplay_attach(struct device *par
>  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
>  };
>  
> Index: arch/armv7/exynos/exdog.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/exynos/exdog.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 exdog.c
> --- arch/armv7/exynos/exdog.c 9 Mar 2017 20:07:35 -0000 1.6
> +++ arch/armv7/exynos/exdog.c 13 Feb 2020 09:38:17 -0000
> @@ -62,7 +62,7 @@ void exdog_attach(struct device *parent,
>  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
>  };
>  
> Index: arch/armv7/exynos/exdwusb.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/exynos/exdwusb.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 exdwusb.c
> --- arch/armv7/exynos/exdwusb.c 29 Aug 2019 14:19:27 -0000 1.2
> +++ arch/armv7/exynos/exdwusb.c 13 Feb 2020 09:38:17 -0000
> @@ -34,7 +34,7 @@ struct exdwusb_softc {
>  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
>  };
>  
> Index: arch/armv7/exynos/exehci.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/exynos/exehci.c,v
> retrieving revision 1.8
> diff -u -p -r1.8 exehci.c
> --- arch/armv7/exynos/exehci.c 23 Dec 2017 10:23:34 -0000 1.8
> +++ arch/armv7/exynos/exehci.c 13 Feb 2020 09:38:17 -0000
> @@ -92,7 +92,7 @@ struct exehci_softc {
>   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
>  };
> Index: arch/armv7/exynos/exgpio.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/exynos/exgpio.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 exgpio.c
> --- arch/armv7/exynos/exgpio.c 11 Mar 2017 17:06:27 -0000 1.6
> +++ arch/armv7/exynos/exgpio.c 13 Feb 2020 09:38:17 -0000
> @@ -68,7 +68,7 @@ struct exgpio_softc {
>  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
>  };
>  
> Index: arch/armv7/exynos/exiic.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/exynos/exiic.c,v
> retrieving revision 1.7
> diff -u -p -r1.7 exiic.c
> --- arch/armv7/exynos/exiic.c 13 Jan 2020 13:27:25 -0000 1.7
> +++ arch/armv7/exynos/exiic.c 13 Feb 2020 09:38:17 -0000
> @@ -101,7 +101,7 @@ int exiic_i2c_exec(void *, i2c_op_t, i2c
>   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
>  };
>  
> Index: arch/armv7/exynos/exmct.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/exynos/exmct.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 exmct.c
> --- arch/armv7/exynos/exmct.c 4 Mar 2017 18:17:24 -0000 1.5
> +++ arch/armv7/exynos/exmct.c 13 Feb 2020 09:38:17 -0000
> @@ -48,7 +48,7 @@ void exmct_attach(struct device *, struc
>  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
>  };
>  
> Index: arch/armv7/exynos/expower.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/exynos/expower.c,v
> retrieving revision 1.7
> diff -u -p -r1.7 expower.c
> --- arch/armv7/exynos/expower.c 10 Mar 2017 21:26:19 -0000 1.7
> +++ arch/armv7/exynos/expower.c 13 Feb 2020 09:38:17 -0000
> @@ -45,7 +45,7 @@ struct expower_softc {
>  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
>  };
>  
> Index: arch/armv7/exynos/exuart.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/exynos/exuart.c,v
> retrieving revision 1.17
> diff -u -p -r1.17 exuart.c
> --- arch/armv7/exynos/exuart.c 10 Jan 2020 06:45:27 -0000 1.17
> +++ arch/armv7/exynos/exuart.c 13 Feb 2020 09:38:17 -0000
> @@ -116,7 +116,7 @@ struct cfdriver exuart_cd = {
>   NULL, "exuart", DV_TTY
>  };
>  
> -struct cfattach exuart_ca = {
> +const struct cfattach exuart_ca = {
>   sizeof(struct exuart_softc), exuartprobe, exuartattach
>  };
>  
> Index: arch/armv7/exynos/tps65090.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/exynos/tps65090.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 tps65090.c
> --- arch/armv7/exynos/tps65090.c 6 Mar 2017 06:50:47 -0000 1.3
> +++ arch/armv7/exynos/tps65090.c 13 Feb 2020 09:38:17 -0000
> @@ -84,7 +84,7 @@ void tps65090_fet_disable(int);
>  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
>  };
>  
> Index: arch/armv7/imx/imxahci.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/imx/imxahci.c,v
> retrieving revision 1.11
> diff -u -p -r1.11 imxahci.c
> --- arch/armv7/imx/imxahci.c 2 Apr 2018 17:43:08 -0000 1.11
> +++ arch/armv7/imx/imxahci.c 13 Feb 2020 09:38:17 -0000
> @@ -99,7 +99,7 @@ struct imxahci_softc {
>   struct ahci_softc sc;
>  };
>  
> -struct cfattach imxahci_ca = {
> +const struct cfattach imxahci_ca = {
>   sizeof(struct imxahci_softc),
>   imxahci_match,
>   imxahci_attach,
> Index: arch/armv7/imx/imxdog.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/imx/imxdog.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 imxdog.c
> --- arch/armv7/imx/imxdog.c 5 Oct 2016 22:06:48 -0000 1.5
> +++ arch/armv7/imx/imxdog.c 13 Feb 2020 09:38:17 -0000
> @@ -54,7 +54,7 @@ int imxdog_match(struct device *, void *
>  void imxdog_attach(struct device *, struct device *, void *);
>  void imxdog_reset(void);
>  
> -struct cfattach imxdog_ca = {
> +const struct cfattach imxdog_ca = {
>   sizeof (struct imxdog_softc), imxdog_match, imxdog_attach
>  };
>  
> Index: arch/armv7/imx/imxehci.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/imx/imxehci.c,v
> retrieving revision 1.25
> diff -u -p -r1.25 imxehci.c
> --- arch/armv7/imx/imxehci.c 11 Jun 2018 09:22:50 -0000 1.25
> +++ arch/armv7/imx/imxehci.c 13 Feb 2020 09:38:17 -0000
> @@ -93,7 +93,7 @@ struct imxehci_softc {
>   uint32_t sc_unit;
>  };
>  
> -struct cfattach imxehci_ca = {
> +const struct cfattach imxehci_ca = {
>   sizeof (struct imxehci_softc), imxehci_match, imxehci_attach,
>   imxehci_detach
>  };
> Index: arch/armv7/imx/imxtemp.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/imx/imxtemp.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 imxtemp.c
> --- arch/armv7/imx/imxtemp.c 30 Mar 2018 20:31:01 -0000 1.5
> +++ arch/armv7/imx/imxtemp.c 13 Feb 2020 09:38:17 -0000
> @@ -90,7 +90,7 @@ struct imxtemp_softc {
>  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
>  };
>  
> Index: arch/armv7/marvell/mvacc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/marvell/mvacc.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 mvacc.c
> --- arch/armv7/marvell/mvacc.c 24 Mar 2017 15:22:45 -0000 1.3
> +++ arch/armv7/marvell/mvacc.c 13 Feb 2020 09:38:17 -0000
> @@ -82,7 +82,7 @@ void mvacc_attach(struct device *, stru
>  
>  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
>  };
>  
> Index: arch/armv7/marvell/mvagc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/marvell/mvagc.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 mvagc.c
> --- arch/armv7/marvell/mvagc.c 7 Oct 2016 19:10:46 -0000 1.1
> +++ arch/armv7/marvell/mvagc.c 13 Feb 2020 09:38:17 -0000
> @@ -48,7 +48,7 @@ void mvagc_attach(struct device *, stru
>  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
>  };
>  
> Index: arch/armv7/marvell/mvahci.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/marvell/mvahci.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 mvahci.c
> --- arch/armv7/marvell/mvahci.c 24 Mar 2017 20:31:58 -0000 1.1
> +++ arch/armv7/marvell/mvahci.c 13 Feb 2020 09:38:17 -0000
> @@ -57,7 +57,7 @@ int mvahci_activate(struct device *, int
>  
>  extern int ahci_intr(void *);
>  
> -struct cfattach mvahci_ca = {
> +const struct cfattach mvahci_ca = {
>   sizeof(struct ahci_softc),
>   mvahci_match,
>   mvahci_attach,
> Index: arch/armv7/marvell/mvmbus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/marvell/mvmbus.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 mvmbus.c
> --- arch/armv7/marvell/mvmbus.c 9 Jul 2018 09:24:22 -0000 1.3
> +++ arch/armv7/marvell/mvmbus.c 13 Feb 2020 09:38:17 -0000
> @@ -91,7 +91,7 @@ struct mbus_dram_info *mvmbus_dram_info;
>  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
>  };
>  
> Index: arch/armv7/marvell/mvmpic.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/marvell/mvmpic.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 mvmpic.c
> --- arch/armv7/marvell/mvmpic.c 7 Dec 2018 21:33:28 -0000 1.3
> +++ arch/armv7/marvell/mvmpic.c 13 Feb 2020 09:38:17 -0000
> @@ -81,7 +81,7 @@ void mpic_set_priority(struct mpic_sof
>  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
>  };
>  
> Index: arch/armv7/marvell/mvpcie.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/marvell/mvpcie.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 mvpcie.c
> --- arch/armv7/marvell/mvpcie.c 9 Jul 2018 09:58:40 -0000 1.1
> +++ arch/armv7/marvell/mvpcie.c 13 Feb 2020 09:38:17 -0000
> @@ -162,7 +162,7 @@ struct mvpcie_softc {
>  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
>  };
>  
> Index: arch/armv7/marvell/mvpxa.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/marvell/mvpxa.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 mvpxa.c
> --- arch/armv7/marvell/mvpxa.c 27 Aug 2017 21:27:14 -0000 1.1
> +++ arch/armv7/marvell/mvpxa.c 13 Feb 2020 09:38:17 -0000
> @@ -68,7 +68,7 @@ struct cfdriver mvpxa_cd = {
>   NULL, "mvpxa", DV_DULL
>  };
>  
> -struct cfattach mvpxa_ca = {
> +const struct cfattach mvpxa_ca = {
>   sizeof(struct mvpxa_softc), mvpxa_match, mvpxa_attach
>  };
>  
> Index: arch/armv7/marvell/mvsysctrl.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/marvell/mvsysctrl.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 mvsysctrl.c
> --- arch/armv7/marvell/mvsysctrl.c 7 Oct 2016 14:43:50 -0000 1.1
> +++ arch/armv7/marvell/mvsysctrl.c 13 Feb 2020 09:38:17 -0000
> @@ -52,7 +52,7 @@ void mvsysctrl_reset(void);
>  
>  struct mvsysctrl_softc *mvsysctrl_sc;
>  
> -struct cfattach mvsysctrl_ca = {
> +const struct cfattach mvsysctrl_ca = {
>   sizeof (struct mvsysctrl_softc), mvsysctrl_match, mvsysctrl_attach
>  };
>  
> Index: arch/armv7/marvell/mvxhci.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/marvell/mvxhci.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 mvxhci.c
> --- arch/armv7/marvell/mvxhci.c 8 May 2018 13:41:52 -0000 1.2
> +++ arch/armv7/marvell/mvxhci.c 13 Feb 2020 09:38:17 -0000
> @@ -63,7 +63,7 @@ void mvxhci_wininit(struct mvxhci_softc
>  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
>  };
>  
> Index: arch/armv7/omap/amdisplay.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/omap/amdisplay.c,v
> retrieving revision 1.11
> diff -u -p -r1.11 amdisplay.c
> --- arch/armv7/omap/amdisplay.c 25 Dec 2019 11:42:05 -0000 1.11
> +++ arch/armv7/omap/amdisplay.c 13 Feb 2020 09:38:17 -0000
> @@ -116,7 +116,7 @@ struct wsdisplay_accessops amdisplay_acc
>   .list_font = rasops_list_font,
>  };
>  
> -struct cfattach amdisplay_ca = {
> +const struct cfattach amdisplay_ca = {
>   sizeof(struct amdisplay_softc), amdisplay_match, amdisplay_attach,
>   amdisplay_detach
>  };
> Index: arch/armv7/omap/dmtimer.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/omap/dmtimer.c,v
> retrieving revision 1.8
> diff -u -p -r1.8 dmtimer.c
> --- arch/armv7/omap/dmtimer.c 6 May 2019 03:45:58 -0000 1.8
> +++ arch/armv7/omap/dmtimer.c 13 Feb 2020 09:38:17 -0000
> @@ -132,7 +132,7 @@ struct dmtimer_softc {
>   u_int32_t sc_nextstatevent;
>  };
>  
> -struct cfattach dmtimer_ca = {
> +const struct cfattach dmtimer_ca = {
>   sizeof (struct dmtimer_softc), NULL, dmtimer_attach
>  };
>  
> Index: arch/armv7/omap/edma.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/omap/edma.c,v
> retrieving revision 1.7
> diff -u -p -r1.7 edma.c
> --- arch/armv7/omap/edma.c 8 Sep 2017 05:36:51 -0000 1.7
> +++ arch/armv7/omap/edma.c 13 Feb 2020 09:38:17 -0000
> @@ -84,7 +84,7 @@ int edma_match(struct device *, void *,
>  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
>  };
>  
> Index: arch/armv7/omap/gptimer.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/omap/gptimer.c,v
> retrieving revision 1.7
> diff -u -p -r1.7 gptimer.c
> --- arch/armv7/omap/gptimer.c 6 May 2019 03:45:58 -0000 1.7
> +++ arch/armv7/omap/gptimer.c 13 Feb 2020 09:38:17 -0000
> @@ -128,7 +128,7 @@ u_int32_t ticks_err_cnt;
>  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
>  };
>  
> Index: arch/armv7/omap/if_cpsw.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/omap/if_cpsw.c,v
> retrieving revision 1.44
> diff -u -p -r1.44 if_cpsw.c
> --- arch/armv7/omap/if_cpsw.c 24 Dec 2018 08:45:57 -0000 1.44
> +++ arch/armv7/omap/if_cpsw.c 13 Feb 2020 09:38:17 -0000
> @@ -192,7 +192,7 @@ int cpsw_miscintr(void *);
>  
>  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
> Index: arch/armv7/omap/intc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/omap/intc.c,v
> retrieving revision 1.9
> diff -u -p -r1.9 intc.c
> --- arch/armv7/omap/intc.c 5 Oct 2019 15:44:57 -0000 1.9
> +++ arch/armv7/omap/intc.c 13 Feb 2020 09:38:17 -0000
> @@ -111,7 +111,7 @@ void intc_calc_mask(void);
>  void *intc_intr_establish_fdt(void *, int *, int, int (*)(void *),
>      void *, char *);
>  
> -struct cfattach intc_ca = {
> +const struct cfattach intc_ca = {
>   sizeof (struct device), intc_match, intc_attach
>  };
>  
> Index: arch/armv7/omap/nxphdmi.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/omap/nxphdmi.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 nxphdmi.c
> --- arch/armv7/omap/nxphdmi.c 6 May 2019 03:45:58 -0000 1.6
> +++ arch/armv7/omap/nxphdmi.c 13 Feb 2020 09:38:17 -0000
> @@ -286,7 +286,7 @@ int nxphdmi_init_encoder(struct nxphdmi_
>  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
>  };
>  
> Index: arch/armv7/omap/omap.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/omap/omap.c,v
> retrieving revision 1.21
> diff -u -p -r1.21 omap.c
> --- arch/armv7/omap/omap.c 1 Mar 2017 04:36:45 -0000 1.21
> +++ arch/armv7/omap/omap.c 13 Feb 2020 09:38:17 -0000
> @@ -30,7 +30,7 @@ void omap3_init();
>  void omap4_init();
>  void am335x_init();
>  
> -struct cfattach omap_ca = {
> +const struct cfattach omap_ca = {
>   sizeof(struct armv7_softc), omap_match, armv7_attach
>  };
>  
> Index: arch/armv7/omap/omapid.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/omap/omapid.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 omapid.c
> --- arch/armv7/omap/omapid.c 8 Oct 2016 05:55:03 -0000 1.3
> +++ arch/armv7/omap/omapid.c 13 Feb 2020 09:38:17 -0000
> @@ -52,7 +52,7 @@ struct omapid_softc *omapid_sc;
>  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
>  };
>  
> Index: arch/armv7/omap/omdisplay.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/omap/omdisplay.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 omdisplay.c
> --- arch/armv7/omap/omdisplay.c 6 May 2019 03:45:58 -0000 1.6
> +++ arch/armv7/omap/omdisplay.c 13 Feb 2020 09:38:17 -0000
> @@ -455,7 +455,7 @@ void omdisplay_stop(struct omdisplay_sof
>  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
>  };
> Index: arch/armv7/omap/omdog.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/omap/omdog.c,v
> retrieving revision 1.8
> diff -u -p -r1.8 omdog.c
> --- arch/armv7/omap/omdog.c 27 Nov 2017 06:29:41 -0000 1.8
> +++ arch/armv7/omap/omdog.c 13 Feb 2020 09:38:17 -0000
> @@ -71,7 +71,7 @@ void omdog_sync(struct omdog_softc *);
>  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
>  };
> Index: arch/armv7/omap/omehci.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/omap/omehci.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 omehci.c
> --- arch/armv7/omap/omehci.c 11 Aug 2016 01:53:18 -0000 1.4
> +++ arch/armv7/omap/omehci.c 13 Feb 2020 09:38:17 -0000
> @@ -101,7 +101,7 @@ void omehci_phy_reset(uint32_t on, uint3
>  void omehci_uhh_init(struct omehci_softc *sc);
>  void omehci_v4_early_init(void);
>  
> -struct cfattach omehci_ca = {
> +const struct cfattach omehci_ca = {
>   sizeof (struct omehci_softc), omehci_match, omehci_attach,
>   omehci_detach, omehci_activate
>  };
> Index: arch/armv7/omap/omgpio.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/omap/omgpio.c,v
> retrieving revision 1.10
> diff -u -p -r1.10 omgpio.c
> --- arch/armv7/omap/omgpio.c 12 Aug 2016 03:22:41 -0000 1.10
> +++ arch/armv7/omap/omgpio.c 13 Feb 2020 09:38:17 -0000
> @@ -201,7 +201,7 @@ int omgpio_irq_dummy(void *);
>  int omgpio_pin_dir_read(struct omgpio_softc *, unsigned int);
>  void omgpio_pin_dir_write(struct omgpio_softc *, unsigned int, unsigned int);
>  
> -struct cfattach omgpio_ca = {
> +const struct cfattach omgpio_ca = {
>   sizeof (struct omgpio_softc), omgpio_match, omgpio_attach
>  };
>  
> Index: arch/armv7/omap/ommmc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/omap/ommmc.c,v
> retrieving revision 1.32
> diff -u -p -r1.32 ommmc.c
> --- arch/armv7/omap/ommmc.c 13 Jan 2020 13:30:42 -0000 1.32
> +++ arch/armv7/omap/ommmc.c 13 Feb 2020 09:38:17 -0000
> @@ -280,7 +280,7 @@ struct cfdriver ommmc_cd = {
>   NULL, "ommmc", DV_DULL
>  };
>  
> -struct cfattach ommmc_ca = {
> +const struct cfattach ommmc_ca = {
>   sizeof(struct ommmc_softc), ommmc_match, ommmc_attach
>  };
>  
> Index: arch/armv7/omap/omohci.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/omap/omohci.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 omohci.c
> --- arch/armv7/omap/omohci.c 19 May 2014 13:11:31 -0000 1.3
> +++ arch/armv7/omap/omohci.c 13 Feb 2020 09:38:17 -0000
> @@ -109,7 +109,7 @@ struct omohci_softc {
>  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
>  };
> Index: arch/armv7/omap/omusbtll.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/omap/omusbtll.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 omusbtll.c
> --- arch/armv7/omap/omusbtll.c 6 May 2019 03:45:58 -0000 1.3
> +++ arch/armv7/omap/omusbtll.c 13 Feb 2020 09:38:17 -0000
> @@ -93,7 +93,7 @@ struct omusbtll_softc {
>  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
>  };
>  
> Index: arch/armv7/omap/omwugen.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/omap/omwugen.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 omwugen.c
> --- arch/armv7/omap/omwugen.c 15 Sep 2016 21:55:51 -0000 1.1
> +++ arch/armv7/omap/omwugen.c 13 Feb 2020 09:38:17 -0000
> @@ -31,7 +31,7 @@ struct omwugen_softc {
>  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
>  };
>  
> Index: arch/armv7/omap/prcm.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/omap/prcm.c,v
> retrieving revision 1.13
> diff -u -p -r1.13 prcm.c
> --- arch/armv7/omap/prcm.c 8 Sep 2017 05:36:51 -0000 1.13
> +++ arch/armv7/omap/prcm.c 13 Feb 2020 09:38:17 -0000
> @@ -109,7 +109,7 @@ void prcm_v4_enablemodule(struct prcm_so
>  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
>  };
>  
> Index: arch/armv7/omap/sitara_cm.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/omap/sitara_cm.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 sitara_cm.c
> --- arch/armv7/omap/sitara_cm.c 8 Sep 2017 05:36:51 -0000 1.5
> +++ arch/armv7/omap/sitara_cm.c 13 Feb 2020 09:38:17 -0000
> @@ -73,7 +73,7 @@ struct sitara_cm_softc {
>   bus_space_handle_t sc_ioh;
>  };
>  
> -struct cfattach sitaracm_ca = {
> +const struct cfattach sitaracm_ca = {
>   sizeof (struct sitara_cm_softc), NULL, sitara_cm_attach
>  };
>  
> Index: arch/armv7/omap/ti_iic.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/omap/ti_iic.c,v
> retrieving revision 1.12
> diff -u -p -r1.12 ti_iic.c
> --- arch/armv7/omap/ti_iic.c 13 Jan 2020 13:32:17 -0000 1.12
> +++ arch/armv7/omap/ti_iic.c 13 Feb 2020 09:38:17 -0000
> @@ -142,7 +142,7 @@ int ti_iic_wait(struct ti_iic_softc *, u
>  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
>  };
>  
> Index: arch/armv7/sunxi/sxiahci.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/sunxi/sxiahci.c,v
> retrieving revision 1.15
> diff -u -p -r1.15 sxiahci.c
> --- arch/armv7/sunxi/sxiahci.c 19 Aug 2019 07:27:11 -0000 1.15
> +++ arch/armv7/sunxi/sxiahci.c 13 Feb 2020 09:38:17 -0000
> @@ -70,7 +70,7 @@ struct sxiahci_softc {
>  
>  };
>  
> -struct cfattach sxiahci_ca = {
> +const struct cfattach sxiahci_ca = {
>   sizeof(struct sxiahci_softc),
>   sxiahci_match,
>   sxiahci_attach,
> Index: arch/armv7/sunxi/sxie.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/sunxi/sxie.c,v
> retrieving revision 1.28
> diff -u -p -r1.28 sxie.c
> --- arch/armv7/sunxi/sxie.c 12 Sep 2019 03:17:12 -0000 1.28
> +++ arch/armv7/sunxi/sxie.c 13 Feb 2020 09:38:17 -0000
> @@ -190,7 +190,7 @@ void sxie_miibus_statchg(struct device *
>  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
>  };
>  
> Index: arch/armv7/sunxi/sxiintc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/sunxi/sxiintc.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 sxiintc.c
> --- arch/armv7/sunxi/sxiintc.c 5 Oct 2019 15:44:57 -0000 1.6
> +++ arch/armv7/sunxi/sxiintc.c 13 Feb 2020 09:38:17 -0000
> @@ -152,7 +152,7 @@ void sxiintc_calc_masks(void);
>  void *sxiintc_intr_establish_fdt(void *, int *, int, int (*)(void *),
>      void *, char *);
>  
> -struct cfattach sxiintc_ca = {
> +const struct cfattach sxiintc_ca = {
>   sizeof (struct device), sxiintc_match, sxiintc_attach
>  };
>  
> Index: arch/armv7/sunxi/sxitimer.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/sunxi/sxitimer.c,v
> retrieving revision 1.13
> diff -u -p -r1.13 sxitimer.c
> --- arch/armv7/sunxi/sxitimer.c 6 May 2019 03:49:53 -0000 1.13
> +++ arch/armv7/sunxi/sxitimer.c 13 Feb 2020 09:38:17 -0000
> @@ -118,7 +118,7 @@ struct sxitimer_softc {
>   struct device sc_dev;
>  };
>  
> -struct cfattach sxitimer_ca = {
> +const struct cfattach sxitimer_ca = {
>   sizeof (struct sxitimer_softc), sxitimer_match, sxitimer_attach
>  };
>  
> Index: arch/armv7/vexpress/pciecam.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/vexpress/pciecam.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 pciecam.c
> --- arch/armv7/vexpress/pciecam.c 9 Jul 2018 09:54:01 -0000 1.1
> +++ arch/armv7/vexpress/pciecam.c 13 Feb 2020 09:38:17 -0000
> @@ -106,7 +106,7 @@ void *pciecam_intr_establish(void *, pci
>  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
>  };
>  
> Index: arch/armv7/vexpress/sysreg.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/armv7/vexpress/sysreg.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 sysreg.c
> --- arch/armv7/vexpress/sysreg.c 6 May 2019 03:50:48 -0000 1.4
> +++ arch/armv7/vexpress/sysreg.c 13 Feb 2020 09:38:17 -0000
> @@ -59,7 +59,7 @@ void sysconf_function(struct sysreg_soft
>  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
>  };
>  
> Index: arch/hppa/dev/astro.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/dev/astro.c,v
> retrieving revision 1.17
> diff -u -p -r1.17 astro.c
> --- arch/hppa/dev/astro.c 16 Nov 2014 12:30:57 -0000 1.17
> +++ arch/hppa/dev/astro.c 13 Feb 2020 09:38:17 -0000
> @@ -156,7 +156,7 @@ struct iommu_map_state {
>  int astro_match(struct device *, void *, void *);
>  void astro_attach(struct device *, struct device *, void *);
>  
> -struct cfattach astro_ca = {
> +const struct cfattach astro_ca = {
>   sizeof(struct astro_softc), astro_match, astro_attach
>  };
>  
> Index: arch/hppa/dev/com_dino.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/dev/com_dino.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 com_dino.c
> --- arch/hppa/dev/com_dino.c 15 Jul 2007 19:25:49 -0000 1.4
> +++ arch/hppa/dev/com_dino.c 13 Feb 2020 09:38:17 -0000
> @@ -61,7 +61,7 @@ struct com_dino_regs {
>  int com_dino_match(struct device *, void *, void *);
>  void com_dino_attach(struct device *, struct device *, void *);
>  
> -struct cfattach com_dino_ca = {
> +const struct cfattach com_dino_ca = {
>   sizeof(struct com_softc), com_dino_match, com_dino_attach
>  };
>  
> Index: arch/hppa/dev/com_ssio.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/dev/com_ssio.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 com_ssio.c
> --- arch/hppa/dev/com_ssio.c 24 Jun 2007 16:28:39 -0000 1.2
> +++ arch/hppa/dev/com_ssio.c 13 Feb 2020 09:38:17 -0000
> @@ -34,7 +34,7 @@
>  int com_ssio_match(struct device *, void *, void *);
>  void com_ssio_attach(struct device *, struct device *, void *);
>  
> -struct cfattach com_ssio_ca = {
> +const struct cfattach com_ssio_ca = {
>   sizeof(struct com_softc), com_ssio_match, com_ssio_attach
>  };
>  
> Index: arch/hppa/dev/cpu.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/dev/cpu.c,v
> retrieving revision 1.41
> diff -u -p -r1.41 cpu.c
> --- arch/hppa/dev/cpu.c 19 Jan 2014 12:45:35 -0000 1.41
> +++ arch/hppa/dev/cpu.c 13 Feb 2020 09:38:17 -0000
> @@ -55,7 +55,7 @@ static volatile int start_secondary_cpu;
>  int cpumatch(struct device *, void *, void *);
>  void cpuattach(struct device *, struct device *, void *);
>  
> -struct cfattach cpu_ca = {
> +const struct cfattach cpu_ca = {
>   sizeof(struct cpu_softc), cpumatch, cpuattach
>  };
>  
> Index: arch/hppa/dev/dino.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/dev/dino.c,v
> retrieving revision 1.32
> diff -u -p -r1.32 dino.c
> --- arch/hppa/dev/dino.c 14 May 2018 13:54:39 -0000 1.32
> +++ arch/hppa/dev/dino.c 13 Feb 2020 09:38:17 -0000
> @@ -126,7 +126,7 @@ int dinomatch(struct device *, void *, v
>  void dinoattach(struct device *, struct device *, void *);
>  int dino_intr(void *);
>  
> -struct cfattach dino_ca = {
> +const struct cfattach dino_ca = {
>   sizeof(struct dino_softc), dinomatch, dinoattach
>  };
>  
> Index: arch/hppa/dev/elroy.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/dev/elroy.c,v
> retrieving revision 1.11
> diff -u -p -r1.11 elroy.c
> --- arch/hppa/dev/elroy.c 25 Feb 2012 17:08:49 -0000 1.11
> +++ arch/hppa/dev/elroy.c 13 Feb 2020 09:38:17 -0000
> @@ -49,7 +49,7 @@ int elroy_match(struct device *, void *,
>  void elroy_attach(struct device *, struct device *, void *);
>  int elroy_intr(void *);
>  
> -struct cfattach elroy_ca = {
> +const struct cfattach elroy_ca = {
>   sizeof(struct elroy_softc), elroy_match, elroy_attach
>  };
>  
> Index: arch/hppa/dev/gecko.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/dev/gecko.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 gecko.c
> --- arch/hppa/dev/gecko.c 27 Apr 2008 14:39:51 -0000 1.1
> +++ arch/hppa/dev/gecko.c 13 Feb 2020 09:38:17 -0000
> @@ -39,7 +39,7 @@ struct gecko_softc {
>  int gecko_match(struct device *, void *, void *);
>  void gecko_attach(struct device *, struct device *, void *);
>  
> -struct cfattach gecko_ca = {
> +const struct cfattach gecko_ca = {
>   sizeof(struct gecko_softc), gecko_match, gecko_attach
>  };
>  
> Index: arch/hppa/dev/lcd.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/dev/lcd.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 lcd.c
> --- arch/hppa/dev/lcd.c 11 Dec 2015 16:07:01 -0000 1.4
> +++ arch/hppa/dev/lcd.c 13 Feb 2020 09:38:17 -0000
> @@ -48,7 +48,7 @@ struct lcd_softc {
>  int lcd_match(struct device *, void *, void *);
>  void lcd_attach(struct device *, struct device *, void *);
>  
> -struct cfattach lcd_ca = {
> +const struct cfattach lcd_ca = {
>   sizeof(struct lcd_softc), lcd_match, lcd_attach
>  };
>  
> Index: arch/hppa/dev/lpt_ssio.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/dev/lpt_ssio.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 lpt_ssio.c
> --- arch/hppa/dev/lpt_ssio.c 20 Jun 2007 18:22:15 -0000 1.1
> +++ arch/hppa/dev/lpt_ssio.c 13 Feb 2020 09:38:17 -0000
> @@ -30,7 +30,7 @@
>  int lpt_ssio_match(struct device *, void *, void *);
>  void lpt_ssio_attach(struct device *, struct device *, void *);
>  
> -struct cfattach lpt_ssio_ca = {
> +const struct cfattach lpt_ssio_ca = {
>   sizeof(struct lpt_softc), lpt_ssio_match, lpt_ssio_attach
>  };
>  
> Index: arch/hppa/dev/mongoose.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/dev/mongoose.c,v
> retrieving revision 1.21
> diff -u -p -r1.21 mongoose.c
> --- arch/hppa/dev/mongoose.c 24 May 2010 15:04:53 -0000 1.21
> +++ arch/hppa/dev/mongoose.c 13 Feb 2020 09:38:17 -0000
> @@ -50,7 +50,7 @@
>  void mgattach_gedoens(struct device *, struct device *, void *);
>  int mgmatch_gedoens(struct device *, void *, void *);
>  
> -struct cfattach mg_gedoens_ca = {
> +const struct cfattach mg_gedoens_ca = {
>   sizeof(struct mongoose_softc), mgmatch_gedoens, mgattach_gedoens
>  };
>  
> Index: arch/hppa/dev/pdc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/dev/pdc.c,v
> retrieving revision 1.40
> diff -u -p -r1.40 pdc.c
> --- arch/hppa/dev/pdc.c 19 Feb 2018 08:59:52 -0000 1.40
> +++ arch/hppa/dev/pdc.c 13 Feb 2020 09:38:17 -0000
> @@ -63,7 +63,7 @@ struct consdev pdccons = { NULL, NULL, p
>  int pdcmatch(struct device *, void *, void *);
>  void pdcattach(struct device *, struct device *, void *);
>  
> -struct cfattach pdc_ca = {
> +const struct cfattach pdc_ca = {
>   sizeof(pdcsoftc_t), pdcmatch, pdcattach
>  };
>  
> Index: arch/hppa/dev/phantomas.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/dev/phantomas.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 phantomas.c
> --- arch/hppa/dev/phantomas.c 29 Apr 2010 13:48:29 -0000 1.5
> +++ arch/hppa/dev/phantomas.c 13 Feb 2020 09:38:17 -0000
> @@ -48,7 +48,7 @@ struct phantomas_softc {
>  int phantomasmatch(struct device *, void *, void *);
>  void phantomasattach(struct device *, struct device *, void *);
>  
> -struct cfattach phantomas_ca = {
> +const struct cfattach phantomas_ca = {
>   sizeof(struct phantomas_softc), phantomasmatch, phantomasattach
>  };
>  
> Index: arch/hppa/dev/power.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/dev/power.c,v
> retrieving revision 1.10
> diff -u -p -r1.10 power.c
> --- arch/hppa/dev/power.c 12 Oct 2019 15:53:24 -0000 1.10
> +++ arch/hppa/dev/power.c 13 Feb 2020 09:38:17 -0000
> @@ -55,7 +55,7 @@ struct power_softc {
>  int powermatch(struct device *, void *, void *);
>  void powerattach(struct device *, struct device *, void *);
>  
> -struct cfattach power_ca = {
> +const struct cfattach power_ca = {
>   sizeof(struct power_softc), powermatch, powerattach
>  };
>  
> Index: arch/hppa/dev/siop_sgc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/dev/siop_sgc.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 siop_sgc.c
> --- arch/hppa/dev/siop_sgc.c 5 Aug 2007 19:09:52 -0000 1.1
> +++ arch/hppa/dev/siop_sgc.c 13 Feb 2020 09:38:17 -0000
> @@ -54,7 +54,7 @@ struct siop_sgc_softc {
>   struct hppa_bus_space_tag sc_bustag;
>  };
>  
> -struct cfattach siop_gedoens_ca = {
> +const struct cfattach siop_gedoens_ca = {
>   sizeof(struct siop_sgc_softc), siop_sgc_match, siop_sgc_attach
>  };
>  
> Index: arch/hppa/dev/ssio.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/dev/ssio.c,v
> retrieving revision 1.7
> diff -u -p -r1.7 ssio.c
> --- arch/hppa/dev/ssio.c 8 Mar 2009 22:19:04 -0000 1.7
> +++ arch/hppa/dev/ssio.c 13 Feb 2020 09:38:17 -0000
> @@ -114,7 +114,7 @@ struct ssio_softc {
>   void *sc_ih;
>  };
>  
> -struct cfattach ssio_ca = {
> +const struct cfattach ssio_ca = {
>   sizeof(struct ssio_softc), ssio_match, ssio_attach
>  };
>  
> Index: arch/hppa/dev/sti_sgc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/dev/sti_sgc.c,v
> retrieving revision 1.40
> diff -u -p -r1.40 sti_sgc.c
> --- arch/hppa/dev/sti_sgc.c 30 Aug 2014 14:42:05 -0000 1.40
> +++ arch/hppa/dev/sti_sgc.c 13 Feb 2020 09:38:17 -0000
> @@ -61,7 +61,7 @@ int sti_sgc_probe(struct device *, void
>  void sti_sgc_attach(struct device *, struct device *, void *);
>  paddr_t sti_sgc_getrom(int, struct confargs *);
>  
> -struct cfattach sti_gedoens_ca = {
> +const struct cfattach sti_gedoens_ca = {
>   sizeof(struct sti_softc), sti_sgc_probe, sti_sgc_attach
>  };
>  
> Index: arch/hppa/dev/uturn.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/dev/uturn.c,v
> retrieving revision 1.7
> diff -u -p -r1.7 uturn.c
> --- arch/hppa/dev/uturn.c 29 Apr 2010 13:48:29 -0000 1.7
> +++ arch/hppa/dev/uturn.c 13 Feb 2020 09:38:17 -0000
> @@ -54,7 +54,7 @@ struct uturn_softc {
>  int uturnmatch(struct device *, void *, void *);
>  void uturnattach(struct device *, struct device *, void *);
>  
> -struct cfattach uturn_ca = {
> +const struct cfattach uturn_ca = {
>   sizeof(struct uturn_softc), uturnmatch, uturnattach
>  };
>  
> Index: arch/hppa/gsc/com_gsc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/gsc/com_gsc.c,v
> retrieving revision 1.21
> diff -u -p -r1.21 com_gsc.c
> --- arch/hppa/gsc/com_gsc.c 15 Jul 2007 19:25:49 -0000 1.21
> +++ arch/hppa/gsc/com_gsc.c 13 Feb 2020 09:38:17 -0000
> @@ -51,7 +51,7 @@ struct com_gsc_regs {
>  int com_gsc_probe(struct device *, void *, void *);
>  void com_gsc_attach(struct device *, struct device *, void *);
>  
> -struct cfattach com_gsc_ca = {
> +const struct cfattach com_gsc_ca = {
>   sizeof(struct com_softc), com_gsc_probe, com_gsc_attach
>  };
>  
> Index: arch/hppa/gsc/fdc_gsc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/gsc/fdc_gsc.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 fdc_gsc.c
> --- arch/hppa/gsc/fdc_gsc.c 7 Apr 2004 18:24:19 -0000 1.5
> +++ arch/hppa/gsc/fdc_gsc.c 13 Feb 2020 09:38:17 -0000
> @@ -45,7 +45,7 @@
>  int fdc_gsc_probe(struct device *, void *, void *);
>  void fdc_gsc_attach(struct device *, struct device *, void *);
>  
> -struct cfattach fdc_gsc_ca = {
> +const struct cfattach fdc_gsc_ca = {
>   sizeof(struct fdc_softc), fdc_gsc_probe, fdc_gsc_attach
>  };
>  
> Index: arch/hppa/gsc/gsckbc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/gsc/gsckbc.c,v
> retrieving revision 1.20
> diff -u -p -r1.20 gsckbc.c
> --- arch/hppa/gsc/gsckbc.c 12 Oct 2019 15:53:24 -0000 1.20
> +++ arch/hppa/gsc/gsckbc.c 13 Feb 2020 09:38:17 -0000
> @@ -102,7 +102,7 @@ struct gsckbc_softc {
>   int sc_type;
>  };
>  
> -struct cfattach gsckbc_ca = {
> +const struct cfattach gsckbc_ca = {
>   sizeof(struct gsckbc_softc), gsckbc_match, gsckbc_attach
>  };
>  
> Index: arch/hppa/gsc/harmony.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/gsc/harmony.c,v
> retrieving revision 1.34
> diff -u -p -r1.34 harmony.c
> --- arch/hppa/gsc/harmony.c 28 Apr 2018 15:44:59 -0000 1.34
> +++ arch/hppa/gsc/harmony.c 13 Feb 2020 09:38:17 -0000
> @@ -1160,6 +1160,6 @@ struct cfdriver harmony_cd = {
>   NULL, "harmony", DV_DULL
>  };
>  
> -struct cfattach harmony_ca = {
> +const struct cfattach harmony_ca = {
>   sizeof(struct harmony_softc), harmony_match, harmony_attach
>  };
> Index: arch/hppa/gsc/hil_gsc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/gsc/hil_gsc.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 hil_gsc.c
> --- arch/hppa/gsc/hil_gsc.c 22 Dec 2005 07:09:52 -0000 1.5
> +++ arch/hppa/gsc/hil_gsc.c 13 Feb 2020 09:38:17 -0000
> @@ -51,7 +51,7 @@ struct hil_gsc_softc {
>   int sc_hil_console;
>  };
>  
> -struct cfattach hil_gsc_ca = {
> +const struct cfattach hil_gsc_ca = {
>   sizeof(struct hil_gsc_softc), hil_gsc_match, hil_gsc_attach
>  };
>  
> Index: arch/hppa/gsc/if_ie_gsc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/gsc/if_ie_gsc.c,v
> retrieving revision 1.29
> diff -u -p -r1.29 if_ie_gsc.c
> --- arch/hppa/gsc/if_ie_gsc.c 24 Nov 2015 17:11:38 -0000 1.29
> +++ arch/hppa/gsc/if_ie_gsc.c 13 Feb 2020 09:38:17 -0000
> @@ -70,7 +70,7 @@ struct ie_gsc_regs {
>  int ie_gsc_probe(struct device *, void *, void *);
>  void ie_gsc_attach(struct device *, struct device *, void *);
>  
> -struct cfattach ie_gsc_ca = {
> +const struct cfattach ie_gsc_ca = {
>   sizeof(struct ie_softc), ie_gsc_probe, ie_gsc_attach
>  };
>  
> Index: arch/hppa/gsc/lpt_gsc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/gsc/lpt_gsc.c,v
> retrieving revision 1.12
> diff -u -p -r1.12 lpt_gsc.c
> --- arch/hppa/gsc/lpt_gsc.c 16 Sep 2011 17:20:07 -0000 1.12
> +++ arch/hppa/gsc/lpt_gsc.c 13 Feb 2020 09:38:17 -0000
> @@ -71,7 +71,7 @@
>  int lpt_gsc_probe(struct device *, void *, void *);
>  void lpt_gsc_attach(struct device *, struct device *, void *);
>  
> -struct cfattach lpt_gsc_ca = {
> +const struct cfattach lpt_gsc_ca = {
>   sizeof(struct lpt_softc), lpt_gsc_probe, lpt_gsc_attach
>  };
>  
> Index: arch/hppa/gsc/mongoose_gsc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/gsc/mongoose_gsc.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 mongoose_gsc.c
> --- arch/hppa/gsc/mongoose_gsc.c 30 Oct 2004 10:26:32 -0000 1.1
> +++ arch/hppa/gsc/mongoose_gsc.c 13 Feb 2020 09:38:17 -0000
> @@ -45,7 +45,7 @@
>  void mgattach_gsc(struct device *, struct device *, void *);
>  int mgmatch_gsc(struct device *, void *, void *);
>  
> -struct cfattach mg_gsc_ca = {
> +const struct cfattach mg_gsc_ca = {
>   sizeof(struct mongoose_softc), mgmatch_gsc, mgattach_gsc
>  };
>  
> Index: arch/hppa/gsc/oosiop_gsc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/gsc/oosiop_gsc.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 oosiop_gsc.c
> --- arch/hppa/gsc/oosiop_gsc.c 20 Apr 2010 20:21:54 -0000 1.3
> +++ arch/hppa/gsc/oosiop_gsc.c 13 Feb 2020 09:38:17 -0000
> @@ -82,7 +82,7 @@ int oosiop_gsc_match(struct device *, vo
>  void oosiop_gsc_attach(struct device *, struct device *, void *);
>  int oosiop_gsc_intr(void *);
>  
> -struct cfattach oosiop_gsc_ca = {
> +const struct cfattach oosiop_gsc_ca = {
>   sizeof(struct oosiop_softc), oosiop_gsc_match, oosiop_gsc_attach
>  };
>  
> Index: arch/hppa/gsc/osiop_gsc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/gsc/osiop_gsc.c,v
> retrieving revision 1.12
> diff -u -p -r1.12 osiop_gsc.c
> --- arch/hppa/gsc/osiop_gsc.c 13 Dec 2005 23:13:45 -0000 1.12
> +++ arch/hppa/gsc/osiop_gsc.c 13 Feb 2020 09:38:17 -0000
> @@ -83,7 +83,7 @@ int osiop_gsc_match(struct device *, voi
>  void osiop_gsc_attach(struct device *, struct device *, void *);
>  int osiop_gsc_intr(void *);
>  
> -struct cfattach osiop_gsc_ca = {
> +const struct cfattach osiop_gsc_ca = {
>   sizeof(struct osiop_softc), osiop_gsc_match, osiop_gsc_attach
>  };
>  
> Index: arch/hppa/gsc/siop_gsc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/gsc/siop_gsc.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 siop_gsc.c
> --- arch/hppa/gsc/siop_gsc.c 23 Aug 2007 21:01:22 -0000 1.4
> +++ arch/hppa/gsc/siop_gsc.c 13 Feb 2020 09:38:17 -0000
> @@ -54,7 +54,7 @@ struct siop_gsc_softc {
>   struct hppa_bus_space_tag sc_bustag;
>  };
>  
> -struct cfattach siop_gsc_ca = {
> +const struct cfattach siop_gsc_ca = {
>   sizeof(struct siop_gsc_softc), siop_gsc_match, siop_gsc_attach
>  };
>  
> Index: arch/hppa/hppa/mainbus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/hppa/mainbus.c,v
> retrieving revision 1.88
> diff -u -p -r1.88 mainbus.c
> --- arch/hppa/hppa/mainbus.c 14 May 2018 13:54:39 -0000 1.88
> +++ arch/hppa/hppa/mainbus.c 13 Feb 2020 09:38:17 -0000
> @@ -57,7 +57,7 @@ struct mainbus_softc {
>  int mbmatch(struct device *, void *, void *);
>  void mbattach(struct device *, struct device *, void *);
>  
> -struct cfattach mainbus_ca = {
> +const struct cfattach mainbus_ca = {
>   sizeof(struct mainbus_softc), mbmatch, mbattach
>  };
>  
> Index: arch/hppa/hppa/mem.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/hppa/hppa/mem.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 mem.c
> --- arch/hppa/hppa/mem.c 30 Dec 2017 20:46:59 -0000 1.5
> +++ arch/hppa/hppa/mem.c 13 Feb 2020 09:38:17 -0000
> @@ -144,7 +144,7 @@ struct mem_softc {
>  int memmatch(struct device *, void *, void *);
>  void memattach(struct device *, struct device *, void *);
>  
> -struct cfattach mem_ca = {
> +const struct cfattach mem_ca = {
>   sizeof(struct mem_softc), memmatch, memattach
>  };
>  
> Index: arch/i386/i386/acpi_machdep.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/i386/acpi_machdep.c,v
> retrieving revision 1.72
> diff -u -p -r1.72 acpi_machdep.c
> --- arch/i386/i386/acpi_machdep.c 20 Dec 2019 07:55:30 -0000 1.72
> +++ arch/i386/i386/acpi_machdep.c 13 Feb 2020 09:38:17 -0000
> @@ -78,7 +78,7 @@ u_int8_t *acpi_scan(struct acpi_mem_map
>  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
>  };
>  
> Index: arch/i386/i386/amdmsr.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/i386/amdmsr.c,v
> retrieving revision 1.10
> diff -u -p -r1.10 amdmsr.c
> --- arch/i386/i386/amdmsr.c 19 Feb 2018 08:59:52 -0000 1.10
> +++ arch/i386/i386/amdmsr.c 13 Feb 2020 09:38:17 -0000
> @@ -57,7 +57,7 @@ struct cfdriver amdmsr_cd = {
>  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
>  };
>  
> Index: arch/i386/i386/apm.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/i386/apm.c,v
> retrieving revision 1.121
> diff -u -p -r1.121 apm.c
> --- arch/i386/i386/apm.c 31 Dec 2019 13:48:31 -0000 1.121
> +++ arch/i386/i386/apm.c 13 Feb 2020 09:38:17 -0000
> @@ -96,7 +96,7 @@ struct apm_softc {
>  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
>  };
>  
> Index: arch/i386/i386/bios.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/i386/bios.c,v
> retrieving revision 1.124
> diff -u -p -r1.124 bios.c
> --- arch/i386/i386/bios.c 23 Oct 2019 10:14:46 -0000 1.124
> +++ arch/i386/i386/bios.c 13 Feb 2020 09:38:17 -0000
> @@ -92,7 +92,7 @@ void biosattach(struct device *, struct
>  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
>  };
> Index: arch/i386/i386/cpu.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/i386/cpu.c,v
> retrieving revision 1.99
> diff -u -p -r1.99 cpu.c
> --- arch/i386/i386/cpu.c 10 Feb 2020 03:08:58 -0000 1.99
> +++ arch/i386/i386/cpu.c 13 Feb 2020 09:38:17 -0000
> @@ -180,7 +180,7 @@ struct cpu_softc {
>   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
>  };
>  
> Index: arch/i386/i386/esm.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/i386/esm.c,v
> retrieving revision 1.61
> diff -u -p -r1.61 esm.c
> --- arch/i386/i386/esm.c 12 Oct 2019 15:56:17 -0000 1.61
> +++ arch/i386/i386/esm.c 13 Feb 2020 09:38:17 -0000
> @@ -124,7 +124,7 @@ struct esm_softc {
>   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
>  };
> Index: arch/i386/i386/ioapic.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/i386/ioapic.c,v
> retrieving revision 1.41
> diff -u -p -r1.41 ioapic.c
> --- arch/i386/i386/ioapic.c 25 Aug 2018 16:09:29 -0000 1.41
> +++ arch/i386/i386/ioapic.c 13 Feb 2020 09:38:17 -0000
> @@ -236,7 +236,7 @@ ioapic_print_redir(struct ioapic_softc *
>   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
>  };
> Index: arch/i386/i386/mainbus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/i386/mainbus.c,v
> retrieving revision 1.59
> diff -u -p -r1.59 mainbus.c
> --- arch/i386/i386/mainbus.c 18 Jan 2019 01:34:50 -0000 1.59
> +++ arch/i386/i386/mainbus.c 13 Feb 2020 09:38:17 -0000
> @@ -84,7 +84,7 @@
>  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
>  };
> Index: arch/i386/i386/mpbios.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/i386/mpbios.c,v
> retrieving revision 1.41
> diff -u -p -r1.41 mpbios.c
> --- arch/i386/i386/mpbios.c 7 Feb 2018 06:19:54 -0000 1.41
> +++ arch/i386/i386/mpbios.c 13 Feb 2020 09:38:17 -0000
> @@ -197,7 +197,7 @@ int mp_verbose = 0;
>  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
>  };
>  
> Index: arch/i386/isa/ahc_isa.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/isa/ahc_isa.c,v
> retrieving revision 1.18
> diff -u -p -r1.18 ahc_isa.c
> --- arch/i386/isa/ahc_isa.c 29 Mar 2009 21:53:52 -0000 1.18
> +++ arch/i386/isa/ahc_isa.c 13 Feb 2020 09:38:17 -0000
> @@ -120,7 +120,7 @@ int ahc_isa_probe(struct device *, void
>  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
>  };
>  
> Index: arch/i386/isa/joy_isa.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/isa/joy_isa.c,v
> retrieving revision 1.7
> diff -u -p -r1.7 joy_isa.c
> --- arch/i386/isa/joy_isa.c 1 Aug 2007 13:18:18 -0000 1.7
> +++ arch/i386/isa/joy_isa.c 13 Feb 2020 09:38:17 -0000
> @@ -52,7 +52,7 @@
>  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
>  };
>  
> Index: arch/i386/isa/joy_isapnp.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/isa/joy_isapnp.c,v
> retrieving revision 1.7
> diff -u -p -r1.7 joy_isapnp.c
> --- arch/i386/isa/joy_isapnp.c 1 Aug 2007 13:18:18 -0000 1.7
> +++ arch/i386/isa/joy_isapnp.c 13 Feb 2020 09:38:17 -0000
> @@ -52,7 +52,7 @@
>  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
>  };
>  
> Index: arch/i386/isa/lms.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/isa/lms.c,v
> retrieving revision 1.21
> diff -u -p -r1.21 lms.c
> --- arch/i386/isa/lms.c 5 Jun 2016 20:02:36 -0000 1.21
> +++ arch/i386/isa/lms.c 13 Feb 2020 09:38:17 -0000
> @@ -61,7 +61,7 @@ int lmsprobe(struct device *, void *, vo
>  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
>  };
>  
> Index: arch/i386/isa/mms.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/isa/mms.c,v
> retrieving revision 1.20
> diff -u -p -r1.20 mms.c
> --- arch/i386/isa/mms.c 5 Jun 2016 20:02:36 -0000 1.20
> +++ arch/i386/isa/mms.c 13 Feb 2020 09:38:17 -0000
> @@ -58,7 +58,7 @@ int mmsprobe(struct device *, void *, vo
>  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
>  };
>  
> Index: arch/i386/isa/npx.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/isa/npx.c,v
> retrieving revision 1.70
> diff -u -p -r1.70 npx.c
> --- arch/i386/isa/npx.c 30 Jul 2018 14:19:12 -0000 1.70
> +++ arch/i386/isa/npx.c 13 Feb 2020 09:38:17 -0000
> @@ -114,7 +114,7 @@ struct npx_softc {
>  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
>  };
>  
> Index: arch/i386/pci/elan520.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/pci/elan520.c,v
> retrieving revision 1.22
> diff -u -p -r1.22 elan520.c
> --- arch/i386/pci/elan520.c 30 Jul 2018 14:19:12 -0000 1.22
> +++ arch/i386/pci/elan520.c 13 Feb 2020 09:38:17 -0000
> @@ -86,7 +86,7 @@ void elansc_gpio_pin_ctl(void *, int, in
>  
>  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
>  };
> Index: arch/i386/pci/geodesc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/pci/geodesc.c,v
> retrieving revision 1.14
> diff -u -p -r1.14 geodesc.c
> --- arch/i386/pci/geodesc.c 5 Jan 2020 01:07:58 -0000 1.14
> +++ arch/i386/pci/geodesc.c 13 Feb 2020 09:38:17 -0000
> @@ -48,7 +48,7 @@ void sc1100_sysreset(void);
>  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
>  };
> Index: arch/i386/pci/glxsb.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/pci/glxsb.c,v
> retrieving revision 1.35
> diff -u -p -r1.35 glxsb.c
> --- arch/i386/pci/glxsb.c 28 Apr 2018 15:44:59 -0000 1.35
> +++ arch/i386/pci/glxsb.c 13 Feb 2020 09:38:17 -0000
> @@ -177,7 +177,7 @@ void glxsb_attach(struct device *, struc
>  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
>  };
> Index: arch/i386/pci/gscpcib.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/pci/gscpcib.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 gscpcib.c
> --- arch/i386/pci/gscpcib.c 29 Mar 2009 21:53:52 -0000 1.6
> +++ arch/i386/pci/gscpcib.c 13 Feb 2020 09:38:17 -0000
> @@ -57,7 +57,7 @@ void gscpcib_gpio_pin_ctl(void *, int, i
>  /* 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
> Index: arch/i386/pci/gscpm.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/pci/gscpm.c,v
> retrieving revision 1.9
> diff -u -p -r1.9 gscpm.c
> --- arch/i386/pci/gscpm.c 16 Aug 2012 18:42:04 -0000 1.9
> +++ arch/i386/pci/gscpm.c 13 Feb 2020 09:38:17 -0000
> @@ -58,7 +58,7 @@ struct timecounter gscpm_timecounter = {
>   1000 /* quality */
>  };
>  
> -struct cfattach gscpm_ca = {
> +const struct cfattach gscpm_ca = {
>   sizeof (struct gscpm_softc),
>   gscpm_match,
>   gscpm_attach
> Index: arch/i386/pci/ichpcib.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/pci/ichpcib.c,v
> retrieving revision 1.28
> diff -u -p -r1.28 ichpcib.c
> --- arch/i386/pci/ichpcib.c 14 Sep 2014 14:17:23 -0000 1.28
> +++ arch/i386/pci/ichpcib.c 13 Feb 2020 09:38:17 -0000
> @@ -66,7 +66,7 @@ struct timecounter ichpcib_timecounter =
>   1000 /* quality */
>  };
>  
> -struct cfattach ichpcib_ca = {
> +const struct cfattach ichpcib_ca = {
>   sizeof(struct ichpcib_softc), ichpcib_match, ichpcib_attach
>  };
>  
> Index: arch/i386/pci/pchb.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/pci/pchb.c,v
> retrieving revision 1.91
> diff -u -p -r1.91 pchb.c
> --- arch/i386/pci/pchb.c 4 Jan 2020 01:34:24 -0000 1.91
> +++ arch/i386/pci/pchb.c 13 Feb 2020 09:38:17 -0000
> @@ -131,7 +131,7 @@ int pchbmatch(struct device *, void *, v
>  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
>  };
> Index: arch/i386/pci/pcib.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/pci/pcib.c,v
> retrieving revision 1.24
> diff -u -p -r1.24 pcib.c
> --- arch/i386/pci/pcib.c 30 May 2013 16:15:01 -0000 1.24
> +++ arch/i386/pci/pcib.c 13 Feb 2020 09:38:17 -0000
> @@ -53,7 +53,7 @@ void pcibattach(struct device *, struct
>  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
>  };
>  
> Index: arch/i386/pci/pcibios.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/pci/pcibios.c,v
> retrieving revision 1.48
> diff -u -p -r1.48 pcibios.c
> --- arch/i386/pci/pcibios.c 8 Sep 2015 08:33:26 -0000 1.48
> +++ arch/i386/pci/pcibios.c 13 Feb 2020 09:38:17 -0000
> @@ -134,7 +134,7 @@ struct cfdriver pcibios_cd = {
>  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
>  };
>  
> Index: arch/landisk/dev/obio.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/landisk/dev/obio.c,v
> retrieving revision 1.9
> diff -u -p -r1.9 obio.c
> --- arch/landisk/dev/obio.c 16 Nov 2014 12:30:57 -0000 1.9
> +++ arch/landisk/dev/obio.c 13 Feb 2020 09:38:17 -0000
> @@ -52,7 +52,7 @@ void obio_attach(struct device *, struct
>  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
>  };
>  
> Index: arch/landisk/dev/power.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/landisk/dev/power.c,v
> retrieving revision 1.8
> diff -u -p -r1.8 power.c
> --- arch/landisk/dev/power.c 8 Sep 2017 05:36:52 -0000 1.8
> +++ arch/landisk/dev/power.c 13 Feb 2020 09:38:17 -0000
> @@ -41,7 +41,7 @@ int power_match(struct device *, void *,
>  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
> Index: arch/landisk/dev/wdc_obio.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/landisk/dev/wdc_obio.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 wdc_obio.c
> --- arch/landisk/dev/wdc_obio.c 9 May 2011 22:33:53 -0000 1.4
> +++ arch/landisk/dev/wdc_obio.c 13 Feb 2020 09:38:17 -0000
> @@ -54,7 +54,7 @@ struct wdc_obio_softc {
>  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
>  };
>  
> Index: arch/landisk/landisk/mainbus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/landisk/landisk/mainbus.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 mainbus.c
> --- arch/landisk/landisk/mainbus.c 21 Apr 2010 12:39:39 -0000 1.5
> +++ arch/landisk/landisk/mainbus.c 13 Feb 2020 09:38:17 -0000
> @@ -42,7 +42,7 @@
>  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
>  };
>  
> Index: arch/loongson/dev/apm.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/loongson/dev/apm.c,v
> retrieving revision 1.33
> diff -u -p -r1.33 apm.c
> --- arch/loongson/dev/apm.c 31 Dec 2019 13:48:31 -0000 1.33
> +++ arch/loongson/dev/apm.c 13 Feb 2020 09:38:17 -0000
> @@ -73,7 +73,7 @@ struct apm_softc {
>  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
>  };
>  
> Index: arch/loongson/dev/gdiumiic.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/loongson/dev/gdiumiic.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 gdiumiic.c
> --- arch/loongson/dev/gdiumiic.c 19 Apr 2013 23:44:34 -0000 1.6
> +++ arch/loongson/dev/gdiumiic.c 13 Feb 2020 09:38:17 -0000
> @@ -78,7 +78,7 @@ int gdiumiic_bustype(struct gpio_attach
>  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,
> Index: arch/loongson/dev/glxclk.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/loongson/dev/glxclk.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 glxclk.c
> --- arch/loongson/dev/glxclk.c 19 Jul 2015 21:11:47 -0000 1.5
> +++ arch/loongson/dev/glxclk.c 13 Feb 2020 09:38:17 -0000
> @@ -50,7 +50,7 @@ int glxclk_intr(void *);
>  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,
>  };
>  
> Index: arch/loongson/dev/mcclock_isa.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/loongson/dev/mcclock_isa.c,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 mcclock_isa.c
> --- arch/loongson/dev/mcclock_isa.c 25 Dec 2009 21:04:32 -0000 1.1.1.1
> +++ arch/loongson/dev/mcclock_isa.c 13 Feb 2020 09:38:17 -0000
> @@ -50,7 +50,7 @@ struct mcclock_isa_softc {
>  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,
>  };
> Index: arch/loongson/dev/ohci_voyager.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/loongson/dev/ohci_voyager.c,v
> retrieving revision 1.7
> diff -u -p -r1.7 ohci_voyager.c
> --- arch/loongson/dev/ohci_voyager.c 7 Jan 2019 03:41:06 -0000 1.7
> +++ arch/loongson/dev/ohci_voyager.c 13 Feb 2020 09:38:17 -0000
> @@ -72,7 +72,7 @@ struct ohci_voyager_softc {
>   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
>  };
> Index: arch/luna88k/cbus/i82365_cbus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/luna88k/cbus/i82365_cbus.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 i82365_cbus.c
> --- arch/luna88k/cbus/i82365_cbus.c 30 Jun 2019 00:23:22 -0000 1.6
> +++ arch/luna88k/cbus/i82365_cbus.c 13 Feb 2020 09:38:17 -0000
> @@ -112,7 +112,7 @@ struct luna88k_bus_space_tag pcic_cbus_m
>   .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
>  };
>  
> Index: arch/luna88k/cbus/if_ne_cbus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/luna88k/cbus/if_ne_cbus.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 if_ne_cbus.c
> --- arch/luna88k/cbus/if_ne_cbus.c 30 Dec 2019 12:16:12 -0000 1.1
> +++ arch/luna88k/cbus/if_ne_cbus.c 13 Feb 2020 09:38:17 -0000
> @@ -104,7 +104,7 @@ struct ne_cbus_softc {
>   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
>  };
>  
> Index: arch/luna88k/cbus/necsb.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/luna88k/cbus/necsb.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 necsb.c
> --- arch/luna88k/cbus/necsb.c 16 Mar 2017 18:13:43 -0000 1.4
> +++ arch/luna88k/cbus/necsb.c 13 Feb 2020 09:38:17 -0000
> @@ -53,7 +53,7 @@
>  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
>  };
>  
> Index: arch/luna88k/dev/spc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/luna88k/dev/spc.c,v
> retrieving revision 1.11
> diff -u -p -r1.11 spc.c
> --- arch/luna88k/dev/spc.c 5 Feb 2020 16:29:29 -0000 1.11
> +++ arch/luna88k/dev/spc.c 13 Feb 2020 09:38:17 -0000
> @@ -51,7 +51,7 @@
>  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
>  };
>  
> Index: arch/luna88k/dev/timekeeper.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/luna88k/dev/timekeeper.c,v
> retrieving revision 1.10
> diff -u -p -r1.10 timekeeper.c
> --- arch/luna88k/dev/timekeeper.c 3 Nov 2017 06:54:06 -0000 1.10
> +++ arch/luna88k/dev/timekeeper.c 13 Feb 2020 09:38:17 -0000
> @@ -64,7 +64,7 @@ struct timekeeper_softc {
>  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
>  };
>  
> Index: arch/macppc/dev/abtn.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/dev/abtn.c,v
> retrieving revision 1.17
> diff -u -p -r1.17 abtn.c
> --- arch/macppc/dev/abtn.c 27 Jan 2015 09:45:51 -0000 1.17
> +++ arch/macppc/dev/abtn.c 13 Feb 2020 09:38:17 -0000
> @@ -65,7 +65,7 @@ extern int wskbd_set_mixervolume(long, l
>  #endif
>  #endif
>  
> -struct cfattach abtn_ca = {
> +const struct cfattach abtn_ca = {
>   sizeof(struct abtn_softc), abtn_match, abtn_attach
>  };
>  struct cfdriver abtn_cd = {
> Index: arch/macppc/dev/adb.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/dev/adb.c,v
> retrieving revision 1.42
> diff -u -p -r1.42 adb.c
> --- arch/macppc/dev/adb.c 3 Sep 2019 17:51:52 -0000 1.42
> +++ arch/macppc/dev/adb.c 13 Feb 2020 09:38:17 -0000
> @@ -1553,7 +1553,7 @@ adb_restart(void)
>  int adbmatch(struct device *, void *, void *);
>  void adbattach(struct device *, struct device *, void *);
>  
> -struct cfattach adb_ca = {
> +const struct cfattach adb_ca = {
>   sizeof(struct adb_softc), adbmatch, adbattach
>  };
>  
> Index: arch/macppc/dev/aoa.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/dev/aoa.c,v
> retrieving revision 1.9
> diff -u -p -r1.9 aoa.c
> --- arch/macppc/dev/aoa.c 19 Sep 2016 06:46:43 -0000 1.9
> +++ arch/macppc/dev/aoa.c 13 Feb 2020 09:38:17 -0000
> @@ -57,7 +57,7 @@ void aoa_attach(struct device *, struct
>  void aoa_defer(struct device *);
>  void aoa_set_volume(struct aoa_softc *, int, int);
>  
> -struct cfattach aoa_ca = {
> +const struct cfattach aoa_ca = {
>   sizeof(struct aoa_softc), aoa_match, aoa_attach
>  };
>  
> Index: arch/macppc/dev/apm.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/dev/apm.c,v
> retrieving revision 1.20
> diff -u -p -r1.20 apm.c
> --- arch/macppc/dev/apm.c 31 Dec 2019 13:48:31 -0000 1.20
> +++ arch/macppc/dev/apm.c 13 Feb 2020 09:38:17 -0000
> @@ -68,7 +68,7 @@ struct apm_softc {
>  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
>  };
>  
> Index: arch/macppc/dev/asms.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/dev/asms.c,v
> retrieving revision 1.7
> diff -u -p -r1.7 asms.c
> --- arch/macppc/dev/asms.c 25 Apr 2008 16:37:44 -0000 1.7
> +++ arch/macppc/dev/asms.c 13 Feb 2020 09:38:17 -0000
> @@ -69,7 +69,7 @@ int asms_match(struct device *, void *,
>  void asms_attach(struct device *, struct device *, void *);
>  void asms_refresh(void *);
>  
> -struct cfattach asms_ca = {
> +const struct cfattach asms_ca = {
>   sizeof(struct asms_softc), asms_match, asms_attach
>  };
>  
> Index: arch/macppc/dev/awacs.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/dev/awacs.c,v
> retrieving revision 1.34
> diff -u -p -r1.34 awacs.c
> --- arch/macppc/dev/awacs.c 19 Sep 2016 06:46:43 -0000 1.34
> +++ arch/macppc/dev/awacs.c 13 Feb 2020 09:38:17 -0000
> @@ -118,7 +118,7 @@ void awacs_set_speaker_volume(struct awa
>  void awacs_set_ext_volume(struct awacs_softc *, int, int);
>  void awacs_set_rate(struct awacs_softc *, struct audio_params *);
>  
> -struct cfattach awacs_ca = {
> +const struct cfattach awacs_ca = {
>   sizeof(struct awacs_softc), awacs_match, awacs_attach
>  };
>  
> Index: arch/macppc/dev/daca.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/dev/daca.c,v
> retrieving revision 1.10
> diff -u -p -r1.10 daca.c
> --- arch/macppc/dev/daca.c 19 Sep 2016 06:46:43 -0000 1.10
> +++ arch/macppc/dev/daca.c 13 Feb 2020 09:38:17 -0000
> @@ -63,7 +63,7 @@ void daca_defer(struct device *);
>  void daca_init(struct daca_softc *);
>  void daca_set_volume(struct daca_softc *, int, int);
>  
> -struct cfattach daca_ca = {
> +const struct cfattach daca_ca = {
>   sizeof(struct daca_softc), daca_match, daca_attach
>  };
>  
> Index: arch/macppc/dev/dfs.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/dev/dfs.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 dfs.c
> --- arch/macppc/dev/dfs.c 8 Jul 2014 13:06:58 -0000 1.3
> +++ arch/macppc/dev/dfs.c 13 Feb 2020 09:38:17 -0000
> @@ -39,7 +39,7 @@ void dfs_attach(struct device *, struct
>  void dfs_setperf(int);
>  void dfs_scale_frequency(u_int);
>  
> -struct cfattach dfs_ca = {
> +const struct cfattach dfs_ca = {
>   sizeof(struct dfs_softc), dfs_match, dfs_attach
>  };
>  
> Index: arch/macppc/dev/if_bm.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/dev/if_bm.c,v
> retrieving revision 1.42
> diff -u -p -r1.42 if_bm.c
> --- arch/macppc/dev/if_bm.c 8 Mar 2017 12:02:41 -0000 1.42
> +++ arch/macppc/dev/if_bm.c 13 Feb 2020 09:38:17 -0000
> @@ -123,7 +123,7 @@ void bmac_mii_tick(void *);
>  u_int32_t bmac_mbo_read(struct device *);
>  void bmac_mbo_write(struct device *, u_int32_t);
>  
> -struct cfattach bm_ca = {
> +const struct cfattach bm_ca = {
>   sizeof(struct bmac_softc), bmac_match, bmac_attach
>  };
>  
> Index: arch/macppc/dev/if_wi_obio.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/dev/if_wi_obio.c,v
> retrieving revision 1.19
> diff -u -p -r1.19 if_wi_obio.c
> --- arch/macppc/dev/if_wi_obio.c 24 Nov 2015 17:11:38 -0000 1.19
> +++ arch/macppc/dev/if_wi_obio.c 13 Feb 2020 09:38:17 -0000
> @@ -82,7 +82,7 @@ struct wi_obio_softc {
>   u_int keywest;
>  };
>  
> -struct cfattach wi_obio_ca = {
> +const struct cfattach wi_obio_ca = {
>   sizeof (struct wi_obio_softc), wi_obio_match, wi_obio_attach,
>   wi_obio_detach, wi_obio_activate
>  };
> Index: arch/macppc/dev/kiic.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/dev/kiic.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 kiic.c
> --- arch/macppc/dev/kiic.c 9 Oct 2013 17:53:29 -0000 1.4
> +++ arch/macppc/dev/kiic.c 13 Feb 2020 09:38:17 -0000
> @@ -56,10 +56,10 @@ void kiic_i2c_release_bus(void *, int);
>  int kiic_i2c_exec(void *, i2c_op_t, i2c_addr_t, const void *, size_t,
>      void *, size_t, int);
>  
> -struct cfattach kiic_ca = {
> +const struct cfattach kiic_ca = {
>   sizeof(struct kiic_softc), kiic_match, kiic_attach
>  };
> -struct cfattach kiic_memc_ca = {
> +const struct cfattach kiic_memc_ca = {
>   sizeof(struct kiic_softc), kiic_match, kiic_attach
>  };
>  
> Index: arch/macppc/dev/macgpio.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/dev/macgpio.c,v
> retrieving revision 1.9
> diff -u -p -r1.9 macgpio.c
> --- arch/macppc/dev/macgpio.c 8 Sep 2017 05:36:52 -0000 1.9
> +++ arch/macppc/dev/macgpio.c 13 Feb 2020 09:38:17 -0000
> @@ -58,11 +58,11 @@ struct gpio_softc {
>   u_int8_t *sc_port;
>  };
>  
> -struct cfattach macgpio_ca = {
> +const struct cfattach macgpio_ca = {
>   sizeof(struct gpio_softc), macgpio_match, macgpio_attach
>  };
>  
> -struct cfattach macgpio_gpio_ca = {
> +const struct cfattach macgpio_gpio_ca = {
>   sizeof(struct gpio_softc), macgpio_gpio_match, macgpio_gpio_attach
>  };
>  
> Index: arch/macppc/dev/macintr.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/dev/macintr.c,v
> retrieving revision 1.55
> diff -u -p -r1.55 macintr.c
> --- arch/macppc/dev/macintr.c 3 Sep 2019 17:51:52 -0000 1.55
> +++ arch/macppc/dev/macintr.c 13 Feb 2020 09:38:17 -0000
> @@ -86,7 +86,7 @@ void mac_ext_intr(void);
>  void macintr_collect_preconf_intr(void);
>  void macintr_setipl(int ipl);
>  
> -struct cfattach macintr_ca = {
> +const struct cfattach macintr_ca = {
>   sizeof(struct macintr_softc),
>   macintr_match,
>   macintr_attach
> Index: arch/macppc/dev/mediabay.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/dev/mediabay.c,v
> retrieving revision 1.7
> diff -u -p -r1.7 mediabay.c
> --- arch/macppc/dev/mediabay.c 8 Oct 2019 13:21:38 -0000 1.7
> +++ arch/macppc/dev/mediabay.c 13 Feb 2020 09:38:17 -0000
> @@ -60,7 +60,7 @@ int mediabay_intr(void *);
>  void mediabay_create_kthread(void *);
>  void mediabay_kthread(void *);
>  
> -struct cfattach mediabay_ca = {
> +const struct cfattach mediabay_ca = {
>   sizeof(struct mediabay_softc), mediabay_match, mediabay_attach
>  };
>  struct cfdriver mediabay_cd = {
> Index: arch/macppc/dev/onyx.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/dev/onyx.c,v
> retrieving revision 1.12
> diff -u -p -r1.12 onyx.c
> --- arch/macppc/dev/onyx.c 19 Sep 2016 06:46:43 -0000 1.12
> +++ arch/macppc/dev/onyx.c 13 Feb 2020 09:38:17 -0000
> @@ -72,7 +72,7 @@ void onyx_attach(struct device *, struct
>  void onyx_defer(struct device *);
>  void onyx_set_volume(struct onyx_softc *, int, int);
>  
> -struct cfattach onyx_ca = {
> +const struct cfattach onyx_ca = {
>   sizeof(struct onyx_softc), onyx_match, onyx_attach
>  };
>  
> Index: arch/macppc/dev/pgs.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/dev/pgs.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 pgs.c
> --- arch/macppc/dev/pgs.c 8 Sep 2017 05:36:52 -0000 1.5
> +++ arch/macppc/dev/pgs.c 13 Feb 2020 09:38:17 -0000
> @@ -41,7 +41,7 @@ void pgs_attach(struct device *, struct
>  int pgs_match(struct device *, void *, void *);
>  int pgs_intr(void *);
>  
> -struct cfattach pgs_ca = {
> +const struct cfattach pgs_ca = {
>   sizeof(struct pgs_softc), pgs_match, pgs_attach
>  };
>  
> Index: arch/macppc/dev/piic.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/dev/piic.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 piic.c
> --- arch/macppc/dev/piic.c 16 Jun 2011 10:44:33 -0000 1.3
> +++ arch/macppc/dev/piic.c 13 Feb 2020 09:38:17 -0000
> @@ -39,7 +39,7 @@ struct piic_softc {
>  int     piic_match(struct device *, void *, void *);
>  void    piic_attach(struct device *, struct device *, void *);
>  
> -struct cfattach piic_ca = {
> +const struct cfattach piic_ca = {
>   sizeof(struct piic_softc), piic_match, piic_attach
>  };
>  
> Index: arch/macppc/dev/smu.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/dev/smu.c,v
> retrieving revision 1.34
> diff -u -p -r1.34 smu.c
> --- arch/macppc/dev/smu.c 8 Oct 2019 13:21:38 -0000 1.34
> +++ arch/macppc/dev/smu.c 13 Feb 2020 09:38:17 -0000
> @@ -103,7 +103,7 @@ struct smu_softc {
>   struct i2c_controller sc_i2c_tag;
>  };
>  
> -struct cfattach smu_ca = {
> +const struct cfattach smu_ca = {
>          sizeof(struct smu_softc), smu_match, smu_attach
>  };
>  
> Index: arch/macppc/dev/snapper.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/dev/snapper.c,v
> retrieving revision 1.37
> diff -u -p -r1.37 snapper.c
> --- arch/macppc/dev/snapper.c 19 Sep 2016 06:46:43 -0000 1.37
> +++ arch/macppc/dev/snapper.c 13 Feb 2020 09:38:17 -0000
> @@ -70,7 +70,7 @@ void snapper_set_input(struct snapper_so
>  int tas3004_write(struct snapper_softc *, u_int, const void *);
>  int tas3004_init(struct snapper_softc *);
>  
> -struct cfattach snapper_ca = {
> +const struct cfattach snapper_ca = {
>   sizeof(struct snapper_softc), snapper_match, snapper_attach
>  };
>  struct cfdriver snapper_cd = {
> Index: arch/macppc/dev/sysbutton.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/dev/sysbutton.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 sysbutton.c
> --- arch/macppc/dev/sysbutton.c 8 Sep 2017 05:36:52 -0000 1.6
> +++ arch/macppc/dev/sysbutton.c 13 Feb 2020 09:38:17 -0000
> @@ -36,7 +36,7 @@ int sysbutton_match(struct device *, voi
>  void sysbutton_attach(struct device *, struct device *, void *);
>  int sysbutton_intr(void *);
>  
> -struct cfattach sysbutton_ca = {
> +const struct cfattach sysbutton_ca = {
>   sizeof(struct sysbutton_softc), sysbutton_match,
>   sysbutton_attach
>  };
> Index: arch/macppc/dev/tumbler.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/dev/tumbler.c,v
> retrieving revision 1.9
> diff -u -p -r1.9 tumbler.c
> --- arch/macppc/dev/tumbler.c 19 Sep 2016 06:46:43 -0000 1.9
> +++ arch/macppc/dev/tumbler.c 13 Feb 2020 09:38:17 -0000
> @@ -68,7 +68,7 @@ void tumbler_set_treble(struct tumbler_s
>  int tas3001_write(struct tumbler_softc *, u_int, const void *);
>  int tas3001_init(struct tumbler_softc *);
>  
> -struct cfattach tumbler_ca = {
> +const struct cfattach tumbler_ca = {
>   sizeof(struct tumbler_softc), tumbler_match, tumbler_attach
>  };
>  struct cfdriver tumbler_cd = {
> Index: arch/macppc/dev/wdc_obio.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/dev/wdc_obio.c,v
> retrieving revision 1.30
> diff -u -p -r1.30 wdc_obio.c
> --- arch/macppc/dev/wdc_obio.c 30 May 2013 16:15:01 -0000 1.30
> +++ arch/macppc/dev/wdc_obio.c 13 Feb 2020 09:38:17 -0000
> @@ -90,7 +90,7 @@ int wdc_obio_probe(struct device *, void
>  void wdc_obio_attach(struct device *, struct device *, void *);
>  int wdc_obio_detach(struct device *, int);
>  
> -struct cfattach wdc_obio_ca = {
> +const struct cfattach wdc_obio_ca = {
>   sizeof(struct wdc_obio_softc), wdc_obio_probe, wdc_obio_attach,
>   wdc_obio_detach
>  };
> Index: arch/macppc/dev/xlights.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/dev/xlights.c,v
> retrieving revision 1.10
> diff -u -p -r1.10 xlights.c
> --- arch/macppc/dev/xlights.c 10 Jan 2020 04:13:31 -0000 1.10
> +++ arch/macppc/dev/xlights.c 13 Feb 2020 09:38:17 -0000
> @@ -56,7 +56,7 @@ void xlights_deferred(void *);
>  void xlights_theosDOT(void *);
>  void xlights_timeout(void *);
>  
> -struct cfattach xlights_ca = {
> +const struct cfattach xlights_ca = {
>   sizeof(struct xlights_softc), xlights_match,
>   xlights_attach
>  };
> Index: arch/macppc/dev/zs.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/dev/zs.c,v
> retrieving revision 1.30
> diff -u -p -r1.30 zs.c
> --- arch/macppc/dev/zs.c 3 Sep 2019 04:48:00 -0000 1.30
> +++ arch/macppc/dev/zs.c 13 Feb 2020 09:38:17 -0000
> @@ -151,7 +151,7 @@ int zs_print(void *, const char *name);
>  int  zs_enable (struct zs_chanstate *);
>  void zs_disable (struct zs_chanstate *);
>  
> -struct cfattach zs_ca = {
> +const struct cfattach zs_ca = {
>   sizeof(struct zsc_softc), zs_match, zs_attach
>  };
>  
> Index: arch/macppc/macppc/cpu.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/macppc/cpu.c,v
> retrieving revision 1.82
> diff -u -p -r1.82 cpu.c
> --- arch/macppc/macppc/cpu.c 4 Jun 2015 18:01:44 -0000 1.82
> +++ arch/macppc/macppc/cpu.c 13 Feb 2020 09:38:17 -0000
> @@ -75,7 +75,7 @@ char machine[] = MACHINE; /* cpu archite
>  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
>  };
>  
> Index: arch/macppc/macppc/mainbus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/macppc/mainbus.c,v
> retrieving revision 1.25
> diff -u -p -r1.25 mainbus.c
> --- arch/macppc/macppc/mainbus.c 6 Sep 2015 16:46:53 -0000 1.25
> +++ arch/macppc/macppc/mainbus.c 13 Feb 2020 09:38:17 -0000
> @@ -40,7 +40,7 @@ static int mbmatch(struct device *, void
>  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
>  };
>  struct cfdriver mainbus_cd = {
> Index: arch/macppc/macppc/mem.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/macppc/mem.c,v
> retrieving revision 1.27
> diff -u -p -r1.27 mem.c
> --- arch/macppc/macppc/mem.c 19 Feb 2018 08:59:52 -0000 1.27
> +++ arch/macppc/macppc/mem.c 13 Feb 2020 09:38:17 -0000
> @@ -93,7 +93,7 @@ struct cfdriver mem_cd = {
>   NULL, "mem", DV_DULL
>  };
>  
> -struct cfattach mem_ca = {
> +const struct cfattach mem_ca = {
>   sizeof(struct mem_softc), mem_match, mem_attach
>  };
>  
> Index: arch/macppc/pci/ht.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/pci/ht.c,v
> retrieving revision 1.18
> diff -u -p -r1.18 ht.c
> --- arch/macppc/pci/ht.c 30 Aug 2015 09:48:39 -0000 1.18
> +++ arch/macppc/pci/ht.c 13 Feb 2020 09:38:17 -0000
> @@ -50,7 +50,7 @@ struct ht_softc {
>   bus_space_handle_t sc_config0_ioh;
>  };
>  
> -struct cfattach ht_ca = {
> +const struct cfattach ht_ca = {
>   sizeof(struct ht_softc), ht_match, ht_attach
>  };
>  
> Index: arch/macppc/pci/kauaiata.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/pci/kauaiata.c,v
> retrieving revision 1.10
> diff -u -p -r1.10 kauaiata.c
> --- arch/macppc/pci/kauaiata.c 25 Apr 2008 14:51:35 -0000 1.10
> +++ arch/macppc/pci/kauaiata.c 13 Feb 2020 09:38:17 -0000
> @@ -57,7 +57,7 @@ void kauaiataattach(struct device *paren
>  int kauaiata_print(void *aux, const char *dev);
>  
>  
> -struct cfattach kauaiata_ca = {
> +const struct cfattach kauaiata_ca = {
>   sizeof(struct kauaiata_softc), kauaiatamatch, kauaiataattach,
>  };
>  
> Index: arch/macppc/pci/macobio.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/pci/macobio.c,v
> retrieving revision 1.22
> diff -u -p -r1.22 macobio.c
> --- arch/macppc/pci/macobio.c 8 Sep 2017 05:36:52 -0000 1.22
> +++ arch/macppc/pci/macobio.c 13 Feb 2020 09:38:17 -0000
> @@ -63,7 +63,7 @@ struct cfdriver macobio_cd = {
>  };
>  
>  
> -struct cfattach macobio_ca = {
> +const struct cfattach macobio_ca = {
>   sizeof(struct macobio_softc), macobio_match, macobio_attach
>  };
>  
> Index: arch/macppc/pci/mpcpcibus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/pci/mpcpcibus.c,v
> retrieving revision 1.47
> diff -u -p -r1.47 mpcpcibus.c
> --- arch/macppc/pci/mpcpcibus.c 3 Jun 2015 08:41:43 -0000 1.47
> +++ arch/macppc/pci/mpcpcibus.c 13 Feb 2020 09:38:17 -0000
> @@ -69,7 +69,7 @@ struct pcibr_softc {
>   char sc_memex_name[32];
>  };
>  
> -struct cfattach mpcpcibr_ca = {
> +const struct cfattach mpcpcibr_ca = {
>          sizeof(struct pcibr_softc), mpcpcibrmatch, mpcpcibrattach,
>  };
>  
> Index: arch/macppc/pci/pchb.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/macppc/pci/pchb.c,v
> retrieving revision 1.15
> diff -u -p -r1.15 pchb.c
> --- arch/macppc/pci/pchb.c 8 Sep 2017 05:36:52 -0000 1.15
> +++ arch/macppc/pci/pchb.c 13 Feb 2020 09:38:17 -0000
> @@ -48,7 +48,7 @@
>  int pchbmatch(struct device *, void *, void *);
>  void pchbattach(struct device *, struct device *, void *);
>  
> -struct cfattach pchb_ca = {
> +const struct cfattach pchb_ca = {
>   sizeof(struct device), pchbmatch, pchbattach
>  };
>  
> Index: arch/mips64/mips64/clock.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/mips64/mips64/clock.c,v
> retrieving revision 1.41
> diff -u -p -r1.41 clock.c
> --- arch/mips64/mips64/clock.c 6 Mar 2016 19:42:27 -0000 1.41
> +++ arch/mips64/mips64/clock.c 13 Feb 2020 09:38:17 -0000
> @@ -56,7 +56,7 @@ struct cfdriver clock_cd = {
>   NULL, "clock", DV_DULL
>  };
>  
> -struct cfattach clock_ca = {
> +const struct cfattach clock_ca = {
>   sizeof(struct device), clockmatch, clockattach
>  };
>  
> Index: arch/mips64/mips64/cpu.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/mips64/mips64/cpu.c,v
> retrieving revision 1.73
> diff -u -p -r1.73 cpu.c
> --- arch/mips64/mips64/cpu.c 6 May 2019 12:57:56 -0000 1.73
> +++ arch/mips64/mips64/cpu.c 13 Feb 2020 09:38:17 -0000
> @@ -58,7 +58,7 @@ void (*cpu_idle_cycle_func)(void) = cpu_
>  vaddr_t cache_valias_mask;
>  int cpu_has_userlocal;
>  
> -struct cfattach cpu_ca = {
> +const struct cfattach cpu_ca = {
>   sizeof(struct device), cpumatch, cpuattach
>  };
>  struct cfdriver cpu_cd = {
> Index: arch/octeon/dev/amdcf.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/octeon/dev/amdcf.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 amdcf.c
> --- arch/octeon/dev/amdcf.c 30 May 2018 14:53:56 -0000 1.6
> +++ arch/octeon/dev/amdcf.c 13 Feb 2020 09:38:17 -0000
> @@ -173,7 +173,7 @@ int amdcf_match(struct device *, void *,
>  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
>  };
>  
> Index: arch/octeon/dev/cn30xxgmx.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/octeon/dev/cn30xxgmx.c,v
> retrieving revision 1.43
> diff -u -p -r1.43 cn30xxgmx.c
> --- arch/octeon/dev/cn30xxgmx.c 28 Sep 2019 22:20:25 -0000 1.43
> +++ arch/octeon/dev/cn30xxgmx.c 13 Feb 2020 09:38:17 -0000
> @@ -149,7 +149,7 @@ struct cn30xxgmx_port_ops *cn30xxgmx_por
>   [GMX_SPI42_PORT] = &cn30xxgmx_port_ops_spi42
>  };
>  
> -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};
> Index: arch/octeon/dev/cn30xxuart.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/octeon/dev/cn30xxuart.c,v
> retrieving revision 1.12
> diff -u -p -r1.12 cn30xxuart.c
> --- arch/octeon/dev/cn30xxuart.c 28 Sep 2019 22:20:25 -0000 1.12
> +++ arch/octeon/dev/cn30xxuart.c 13 Feb 2020 09:38:17 -0000
> @@ -54,7 +54,7 @@ int cn30xxuart_probe(struct device *, vo
>  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
>  };
>  
> Index: arch/octeon/dev/octcf.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/octeon/dev/octcf.c,v
> retrieving revision 1.32
> diff -u -p -r1.32 octcf.c
> --- arch/octeon/dev/octcf.c 30 May 2018 14:53:56 -0000 1.32
> +++ arch/octeon/dev/octcf.c 13 Feb 2020 09:38:17 -0000
> @@ -125,7 +125,7 @@ int octcfdetach(struct device *, int);
>  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
>  };
> Index: arch/octeon/dev/octeon_iobus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/octeon/dev/octeon_iobus.c,v
> retrieving revision 1.25
> diff -u -p -r1.25 octeon_iobus.c
> --- arch/octeon/dev/octeon_iobus.c 15 Sep 2019 07:15:14 -0000 1.25
> +++ arch/octeon/dev/octeon_iobus.c 13 Feb 2020 09:38:17 -0000
> @@ -89,7 +89,7 @@ void iobus_write_raw_8(bus_space_tag_t,
>  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
>  };
>  
> Index: arch/octeon/dev/octrng.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/octeon/dev/octrng.c,v
> retrieving revision 1.7
> diff -u -p -r1.7 octrng.c
> --- arch/octeon/dev/octrng.c 28 Apr 2018 15:44:59 -0000 1.7
> +++ arch/octeon/dev/octrng.c 13 Feb 2020 09:38:17 -0000
> @@ -59,7 +59,7 @@ struct octrng_softc {
>   bus_space_handle_t sc_ioh;
>  };
>  
> -struct cfattach octrng_ca = {
> +const struct cfattach octrng_ca = {
>   sizeof(struct octrng_softc), octrng_match, octrng_attach
>  };
>  
> Index: arch/octeon/dev/octrtc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/octeon/dev/octrtc.c,v
> retrieving revision 1.11
> diff -u -p -r1.11 octrtc.c
> --- arch/octeon/dev/octrtc.c 20 Nov 2017 15:20:03 -0000 1.11
> +++ arch/octeon/dev/octrtc.c 13 Feb 2020 09:38:17 -0000
> @@ -51,7 +51,7 @@ void octrtc_settime(void *, struct tod_t
>  int octrtc_write(uint8_t);
>  
>  
> -struct cfattach octrtc_ca = {
> +const struct cfattach octrtc_ca = {
>   sizeof(struct device), octrtc_match, octrtc_attach,
>  };
>  
> Index: arch/sgi/dev/com_ioc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sgi/dev/com_ioc.c,v
> retrieving revision 1.9
> diff -u -p -r1.9 com_ioc.c
> --- arch/sgi/dev/com_ioc.c 3 Oct 2012 22:46:09 -0000 1.9
> +++ arch/sgi/dev/com_ioc.c 13 Feb 2020 09:38:17 -0000
> @@ -44,7 +44,7 @@
>  int com_ioc_probe(struct device *, void *, void *);
>  void com_ioc_attach(struct device *, struct device *, void *);
>  
> -struct cfattach com_ioc_ca = {
> +const struct cfattach com_ioc_ca = {
>   sizeof(struct com_softc), com_ioc_probe, com_ioc_attach
>  };
>  
> Index: arch/sgi/dev/com_iof.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sgi/dev/com_iof.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 com_iof.c
> --- arch/sgi/dev/com_iof.c 16 Oct 2009 00:15:46 -0000 1.5
> +++ arch/sgi/dev/com_iof.c 13 Feb 2020 09:38:17 -0000
> @@ -43,7 +43,7 @@
>  int com_iof_probe(struct device *, void *, void *);
>  void com_iof_attach(struct device *, struct device *, void *);
>  
> -struct cfattach com_iof_ca = {
> +const struct cfattach com_iof_ca = {
>   sizeof(struct com_softc), com_iof_probe, com_iof_attach
>  };
>  
> Index: arch/sgi/dev/dsrtc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sgi/dev/dsrtc.c,v
> retrieving revision 1.13
> diff -u -p -r1.13 dsrtc.c
> --- arch/sgi/dev/dsrtc.c 21 Jan 2016 06:28:56 -0000 1.13
> +++ arch/sgi/dev/dsrtc.c 13 Feb 2020 09:38:17 -0000
> @@ -66,15 +66,15 @@ struct cfdriver dsrtc_cd = {
>   NULL, "dsrtc", DV_DULL
>  };
>  
> -struct cfattach dsrtc_macebus_ca = {
> +const struct cfattach dsrtc_macebus_ca = {
>   sizeof(struct dsrtc_softc), dsrtc_match, dsrtc_attach_macebus
>  };
>  
> -struct cfattach dsrtc_ioc_ca = {
> +const struct cfattach dsrtc_ioc_ca = {
>   sizeof(struct dsrtc_softc), dsrtc_match, dsrtc_attach_ioc
>  };
>  
> -struct cfattach dsrtc_iof_ca = {
> +const struct cfattach dsrtc_iof_ca = {
>   sizeof(struct dsrtc_softc), dsrtc_match, dsrtc_attach_ioc
>  };
>  
> Index: arch/sgi/dev/gbe.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sgi/dev/gbe.c,v
> retrieving revision 1.21
> diff -u -p -r1.21 gbe.c
> --- arch/sgi/dev/gbe.c 21 Oct 2013 10:36:16 -0000 1.21
> +++ arch/sgi/dev/gbe.c 13 Feb 2020 09:38:17 -0000
> @@ -173,7 +173,7 @@ int gbe_match(struct device *, void *, v
>  void gbe_attach(struct device *, struct device *, void *);
>  int gbe_activate(struct device *, int);
>  
> -struct cfattach gbe_ca = {
> +const struct cfattach gbe_ca = {
>   sizeof (struct gbe_softc), gbe_match, gbe_attach,
>   NULL, gbe_activate
>  };
> Index: arch/sgi/dev/if_iec.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sgi/dev/if_iec.c,v
> retrieving revision 1.26
> diff -u -p -r1.26 if_iec.c
> --- arch/sgi/dev/if_iec.c 19 Jul 2017 12:23:16 -0000 1.26
> +++ arch/sgi/dev/if_iec.c 13 Feb 2020 09:38:17 -0000
> @@ -267,7 +267,7 @@ struct cfdriver iec_cd = {
>  int iec_match(struct device *, void *, void *);
>  void iec_attach(struct device *, struct device *, void *);
>  
> -struct cfattach iec_ca = {
> +const struct cfattach iec_ca = {
>   sizeof(struct iec_softc), iec_match, iec_attach
>  };
>  
> Index: arch/sgi/dev/if_mec.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sgi/dev/if_mec.c,v
> retrieving revision 1.40
> diff -u -p -r1.40 if_mec.c
> --- arch/sgi/dev/if_mec.c 10 Dec 2018 05:42:34 -0000 1.40
> +++ arch/sgi/dev/if_mec.c 13 Feb 2020 09:38:17 -0000
> @@ -312,7 +312,7 @@ struct cfdriver mec_cd = {
>  int mec_match(struct device *, void *, void *);
>  void mec_attach(struct device *, struct device *, void *);
>  
> -struct cfattach mec_ca = {
> +const struct cfattach mec_ca = {
>   sizeof(struct mec_softc), mec_match, mec_attach
>  };
>  
> Index: arch/sgi/dev/iockbc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sgi/dev/iockbc.c,v
> retrieving revision 1.12
> diff -u -p -r1.12 iockbc.c
> --- arch/sgi/dev/iockbc.c 17 Oct 2019 13:42:15 -0000 1.12
> +++ arch/sgi/dev/iockbc.c 13 Feb 2020 09:38:17 -0000
> @@ -114,12 +114,12 @@ void iockbc_ioc_attach(struct device *,
>  void iockbc_iof_attach(struct device *, struct device *, void *);
>  
>  #if NIOCKBC_IOC > 0
> -struct cfattach iockbc_ioc_ca = {
> +const struct cfattach iockbc_ioc_ca = {
>   sizeof(struct iockbc_softc), iockbc_match, iockbc_ioc_attach
>  };
>  #endif
>  #if NIOCKBC_IOF > 0
> -struct cfattach iockbc_iof_ca = {
> +const struct cfattach iockbc_iof_ca = {
>   sizeof(struct iockbc_softc), iockbc_match, iockbc_iof_attach
>  };
>  #endif
> Index: arch/sgi/dev/mavb.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sgi/dev/mavb.c,v
> retrieving revision 1.21
> diff -u -p -r1.21 mavb.c
> --- arch/sgi/dev/mavb.c 3 Dec 2018 13:46:30 -0000 1.21
> +++ arch/sgi/dev/mavb.c 13 Feb 2020 09:38:17 -0000
> @@ -150,7 +150,7 @@ void ad1843_dump_regs(struct mavb_softc
>  int mavb_match(struct device *, void *, void *);
>  void mavb_attach(struct device *, struct device *, void *);
>  
> -struct cfattach mavb_ca = {
> +const struct cfattach mavb_ca = {
>   sizeof(struct mavb_softc), mavb_match, mavb_attach
>  };
>  
> Index: arch/sgi/dev/mkbc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sgi/dev/mkbc.c,v
> retrieving revision 1.15
> diff -u -p -r1.15 mkbc.c
> --- arch/sgi/dev/mkbc.c 17 Oct 2019 13:42:15 -0000 1.15
> +++ arch/sgi/dev/mkbc.c 13 Feb 2020 09:38:17 -0000
> @@ -104,7 +104,7 @@ struct mkbc_softc {
>  int mkbc_match(struct device *, void *, void *);
>  void mkbc_attach(struct device *, struct device *, void *);
>  
> -struct cfattach mkbc_ca = {
> +const struct cfattach mkbc_ca = {
>   sizeof(struct mkbc_softc), mkbc_match, mkbc_attach
>  };
>  
> Index: arch/sgi/dev/owmac.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sgi/dev/owmac.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 owmac.c
> --- arch/sgi/dev/owmac.c 15 Jan 2019 18:33:30 -0000 1.3
> +++ arch/sgi/dev/owmac.c 13 Feb 2020 09:38:17 -0000
> @@ -39,7 +39,7 @@
>  int owmac_match(struct device *, void *, void *);
>  void owmac_attach(struct device *, struct device *, void *);
>  
> -struct cfattach owmac_ca = {
> +const struct cfattach owmac_ca = {
>   sizeof(struct owmac_softc), owmac_match, owmac_attach,
>  };
>  
> Index: arch/sgi/dev/owserial.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sgi/dev/owserial.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 owserial.c
> --- arch/sgi/dev/owserial.c 19 Apr 2009 18:33:53 -0000 1.2
> +++ arch/sgi/dev/owserial.c 13 Feb 2020 09:38:17 -0000
> @@ -38,7 +38,7 @@
>  int owserial_match(struct device *, void *, void *);
>  void owserial_attach(struct device *, struct device *, void *);
>  
> -struct cfattach owserial_ca = {
> +const struct cfattach owserial_ca = {
>   sizeof(struct owserial_softc), owserial_match, owserial_attach,
>  };
>  
> Index: arch/sgi/dev/power.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sgi/dev/power.c,v
> retrieving revision 1.16
> diff -u -p -r1.16 power.c
> --- arch/sgi/dev/power.c 3 Dec 2018 13:46:30 -0000 1.16
> +++ arch/sgi/dev/power.c 13 Feb 2020 09:38:17 -0000
> @@ -47,7 +47,7 @@ struct cfdriver power_cd = {
>  void power_macebus_attach(struct device *, struct device *, void *);
>  int power_macebus_match(struct device *, void *, void *);
>  
> -struct cfattach power_macebus_ca = {
> +const struct cfattach power_macebus_ca = {
>   sizeof(struct device), power_macebus_match, power_macebus_attach
>  };
>  
> @@ -81,7 +81,7 @@ void power_mainbus_attach(struct device
>  int power_mainbus_match(struct device *, void *, void *);
>  int power_mainbus_intr(void *);
>  
> -struct cfattach power_mainbus_ca = {
> +const struct cfattach power_mainbus_ca = {
>   sizeof(struct device), power_mainbus_match, power_mainbus_attach
>  };
>  
> Index: arch/sgi/dev/spdmem_mainbus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sgi/dev/spdmem_mainbus.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 spdmem_mainbus.c
> --- arch/sgi/dev/spdmem_mainbus.c 8 Sep 2015 10:21:50 -0000 1.3
> +++ arch/sgi/dev/spdmem_mainbus.c 13 Feb 2020 09:38:17 -0000
> @@ -43,7 +43,7 @@ int spdmem_mainbus_match(struct device *
>  void spdmem_mainbus_attach(struct device *, struct device *, void *);
>  uint8_t spdmem_mainbus_read(struct spdmem_softc *, uint8_t);
>  
> -struct cfattach spdmem_mainbus_ca = {
> +const struct cfattach spdmem_mainbus_ca = {
>   sizeof(struct spdmem_mainbus_softc),
>   spdmem_mainbus_match, spdmem_mainbus_attach
>  };
> Index: arch/sgi/hpc/zs.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sgi/hpc/zs.c,v
> retrieving revision 1.16
> diff -u -p -r1.16 zs.c
> --- arch/sgi/hpc/zs.c 30 Dec 2017 20:46:59 -0000 1.16
> +++ arch/sgi/hpc/zs.c 13 Feb 2020 09:38:17 -0000
> @@ -158,7 +158,7 @@ struct cfdriver zs_cd = {
>   NULL, "zs", DV_TTY
>  };
>  
> -struct cfattach zs_hpc_ca = {
> +const struct cfattach zs_hpc_ca = {
>   sizeof(struct zsc_softc), zs_hpc_match, zs_hpc_attach
>  };
>  
> Index: arch/sgi/localbus/com_lbus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sgi/localbus/com_lbus.c,v
> retrieving revision 1.13
> diff -u -p -r1.13 com_lbus.c
> --- arch/sgi/localbus/com_lbus.c 3 Dec 2018 13:46:30 -0000 1.13
> +++ arch/sgi/localbus/com_lbus.c 13 Feb 2020 09:38:17 -0000
> @@ -43,7 +43,7 @@
>  int com_macebus_probe(struct device *, void *, void *);
>  void com_macebus_attach(struct device *, struct device *, void *);
>  
> -struct cfattach com_macebus_ca = {
> +const struct cfattach com_macebus_ca = {
>   sizeof(struct com_softc), com_macebus_probe, com_macebus_attach
>  };
>  
> Index: arch/sgi/localbus/macebus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sgi/localbus/macebus.c,v
> retrieving revision 1.69
> diff -u -p -r1.69 macebus.c
> --- arch/sgi/localbus/macebus.c 3 Dec 2018 13:50:02 -0000 1.69
> +++ arch/sgi/localbus/macebus.c 13 Feb 2020 09:38:17 -0000
> @@ -101,7 +101,7 @@ void mace_space_barrier(bus_space_tag_t
>  
>  bus_addr_t macebus_pa_to_device(paddr_t, int);
>  
> -struct cfattach macebus_ca = {
> +const struct cfattach macebus_ca = {
>   sizeof(struct device), macebusmatch, macebusattach
>  };
>  
> Index: arch/sgi/pci/ioc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sgi/pci/ioc.c,v
> retrieving revision 1.40
> diff -u -p -r1.40 ioc.c
> --- arch/sgi/pci/ioc.c 2 Jan 2016 05:49:35 -0000 1.40
> +++ arch/sgi/pci/ioc.c 13 Feb 2020 09:38:17 -0000
> @@ -83,7 +83,7 @@ struct ioc_softc {
>   int sc_attach_flags;
>  };
>  
> -struct cfattach ioc_ca = {
> +const struct cfattach ioc_ca = {
>   sizeof(struct ioc_softc), ioc_match, ioc_attach,
>  };
>  
> Index: arch/sgi/pci/iof.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sgi/pci/iof.c,v
> retrieving revision 1.9
> diff -u -p -r1.9 iof.c
> --- arch/sgi/pci/iof.c 19 May 2014 21:18:42 -0000 1.9
> +++ arch/sgi/pci/iof.c 13 Feb 2020 09:38:17 -0000
> @@ -67,7 +67,7 @@ struct iof_softc {
>   struct iof_intr *sc_intr[IOC4_NDEVS];
>  };
>  
> -struct cfattach iof_ca = {
> +const struct cfattach iof_ca = {
>   sizeof(struct iof_softc), iof_match, iof_attach,
>  };
>  
> Index: arch/sgi/pci/macepcibridge.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sgi/pci/macepcibridge.c,v
> retrieving revision 1.49
> diff -u -p -r1.49 macepcibridge.c
> --- arch/sgi/pci/macepcibridge.c 3 Dec 2018 13:46:30 -0000 1.49
> +++ arch/sgi/pci/macepcibridge.c 13 Feb 2020 09:38:17 -0000
> @@ -112,7 +112,7 @@ void mace_pcibr_configure(struct mace_pc
>  void mace_pcibr_device_fixup(struct mace_pcibr_softc *, int, int);
>  int mace_pcibr_errintr(void *);
>  
> -struct cfattach macepcibr_ca = {
> +const struct cfattach macepcibr_ca = {
>   sizeof(struct mace_pcibr_softc), mace_pcibrmatch, mace_pcibrattach,
>  };
>  
> Index: arch/sh/dev/scif.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sh/dev/scif.c,v
> retrieving revision 1.19
> diff -u -p -r1.19 scif.c
> --- arch/sh/dev/scif.c 19 Feb 2018 08:59:52 -0000 1.19
> +++ arch/sh/dev/scif.c 13 Feb 2020 09:38:17 -0000
> @@ -225,7 +225,7 @@ unsigned int scifcn_speed = 9600;
>  
>  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
>  };
>  
> Index: arch/sh/dev/shb.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sh/dev/shb.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 shb.c
> --- arch/sh/dev/shb.c 26 Jun 2008 05:42:12 -0000 1.2
> +++ arch/sh/dev/shb.c 13 Feb 2020 09:38:17 -0000
> @@ -38,7 +38,7 @@ void shb_attach(struct device *, struct
>  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
>  };
>  
> Index: arch/sh/dev/shpcic.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sh/dev/shpcic.c,v
> retrieving revision 1.13
> diff -u -p -r1.13 shpcic.c
> --- arch/sh/dev/shpcic.c 22 Jun 2017 11:34:51 -0000 1.13
> +++ arch/sh/dev/shpcic.c 13 Feb 2020 09:38:17 -0000
> @@ -68,7 +68,7 @@ static const struct shpcic_product {
>  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
>  };
>  
> Index: arch/sh/sh/cpu.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sh/sh/cpu.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 cpu.c
> --- arch/sh/sh/cpu.c 7 Jul 2019 14:41:55 -0000 1.4
> +++ arch/sh/sh/cpu.c 13 Feb 2020 09:38:17 -0000
> @@ -40,7 +40,7 @@
>  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
>  };
>  
> Index: arch/sparc64/dev/auxio.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/auxio.c,v
> retrieving revision 1.8
> diff -u -p -r1.8 auxio.c
> --- arch/sparc64/dev/auxio.c 5 Dec 2019 12:46:54 -0000 1.8
> +++ arch/sparc64/dev/auxio.c 13 Feb 2020 09:38:17 -0000
> @@ -58,11 +58,11 @@ int auxio_sbus_match(struct device *, vo
>  void auxio_sbus_attach(struct device *, struct device *, void *);
>  void auxio_attach_common(struct auxio_softc *);
>  
> -struct cfattach auxio_ebus_ca = {
> +const struct cfattach auxio_ebus_ca = {
>   sizeof(struct auxio_softc), auxio_ebus_match, auxio_ebus_attach
>  };
>  
> -struct cfattach auxio_sbus_ca = {
> +const struct cfattach auxio_sbus_ca = {
>   sizeof(struct auxio_softc), auxio_sbus_match, auxio_sbus_attach
>  };
>  
> Index: arch/sparc64/dev/bbc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/bbc.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 bbc.c
> --- arch/sparc64/dev/bbc.c 14 Dec 2008 17:10:44 -0000 1.3
> +++ arch/sparc64/dev/bbc.c 13 Feb 2020 09:38:17 -0000
> @@ -55,7 +55,7 @@ struct bbc_softc {
>  int bbc_match(struct device *, void *, void *);
>  void bbc_attach(struct device *, struct device *, void *);
>  
> -struct cfattach bbc_ca = {
> +const struct cfattach bbc_ca = {
>   sizeof(struct bbc_softc), bbc_match, bbc_attach
>  };
>  
> Index: arch/sparc64/dev/beep.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/beep.c,v
> retrieving revision 1.9
> diff -u -p -r1.9 beep.c
> --- arch/sparc64/dev/beep.c 22 Jun 2019 20:30:42 -0000 1.9
> +++ arch/sparc64/dev/beep.c 13 Feb 2020 09:38:17 -0000
> @@ -78,7 +78,7 @@ int beep_match(struct device *, void *,
>  void beep_attach(struct device *, struct device *, void *);
>  void beep_setfreq(struct beep_softc *, int);
>  
> -struct cfattach beep_ca = {
> +const struct cfattach beep_ca = {
>   sizeof(struct beep_softc), beep_match, beep_attach
>  };
>  
> Index: arch/sparc64/dev/beeper.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/beeper.c,v
> retrieving revision 1.13
> diff -u -p -r1.13 beeper.c
> --- arch/sparc64/dev/beeper.c 22 Jun 2019 20:30:42 -0000 1.13
> +++ arch/sparc64/dev/beeper.c 13 Feb 2020 09:38:17 -0000
> @@ -68,7 +68,7 @@ struct beeper_softc {
>  int beeper_match(struct device *, void *, void *);
>  void beeper_attach(struct device *, struct device *, void *);
>  
> -struct cfattach beeper_ca = {
> +const struct cfattach beeper_ca = {
>   sizeof(struct beeper_softc), beeper_match, beeper_attach
>  };
>  
> Index: arch/sparc64/dev/cbus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/cbus.c,v
> retrieving revision 1.16
> diff -u -p -r1.16 cbus.c
> --- arch/sparc64/dev/cbus.c 20 Dec 2016 13:40:50 -0000 1.16
> +++ arch/sparc64/dev/cbus.c 13 Feb 2020 09:38:17 -0000
> @@ -43,7 +43,7 @@ int cbus_match(struct device *, void *,
>  void cbus_attach(struct device *, struct device *, void *);
>  int cbus_print(void *, const char *);
>  
> -struct cfattach cbus_ca = {
> +const struct cfattach cbus_ca = {
>   sizeof(struct cbus_softc), cbus_match, cbus_attach
>  };
>  
> Index: arch/sparc64/dev/ce4231.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/ce4231.c,v
> retrieving revision 1.36
> diff -u -p -r1.36 ce4231.c
> --- arch/sparc64/dev/ce4231.c 27 Dec 2018 11:06:38 -0000 1.36
> +++ arch/sparc64/dev/ce4231.c 13 Feb 2020 09:38:17 -0000
> @@ -175,7 +175,7 @@ struct audio_hw_if ce4231_sa_hw_if = {
>   ce4231_trigger_input
>  };
>  
> -struct cfattach audioce_ca = {
> +const struct cfattach audioce_ca = {
>   sizeof (struct ce4231_softc), ce4231_match, ce4231_attach
>  };
>  
> Index: arch/sparc64/dev/central.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/central.c,v
> retrieving revision 1.10
> diff -u -p -r1.10 central.c
> --- arch/sparc64/dev/central.c 8 Sep 2017 05:36:52 -0000 1.10
> +++ arch/sparc64/dev/central.c 13 Feb 2020 09:38:17 -0000
> @@ -198,7 +198,7 @@ _central_bus_map(bus_space_tag_t t, bus_
>   return (EINVAL);
>  }
>  
> -struct cfattach central_ca = {
> +const struct cfattach central_ca = {
>   sizeof(struct central_softc), central_match, central_attach
>  };
>  
> Index: arch/sparc64/dev/clkbrd.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/clkbrd.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 clkbrd.c
> --- arch/sparc64/dev/clkbrd.c 20 Jan 2008 16:41:17 -0000 1.6
> +++ arch/sparc64/dev/clkbrd.c 13 Feb 2020 09:38:17 -0000
> @@ -48,7 +48,7 @@ void clkbrd_attach(struct device *, stru
>  void clkbrd_led_blink(void *, int);
>  void clkbrd_refresh(void *);
>  
> -struct cfattach clkbrd_ca = {
> +const struct cfattach clkbrd_ca = {
>   sizeof(struct clkbrd_softc), clkbrd_match, clkbrd_attach
>  };
>  
> Index: arch/sparc64/dev/cmp.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/cmp.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 cmp.c
> --- arch/sparc64/dev/cmp.c 11 Jul 2008 13:47:20 -0000 1.2
> +++ arch/sparc64/dev/cmp.c 13 Feb 2020 09:38:17 -0000
> @@ -25,7 +25,7 @@
>  int cmp_match(struct device *, void *, void *);
>  void cmp_attach(struct device *, struct device *, void *);
>  
> -struct cfattach cmp_ca = {
> +const struct cfattach cmp_ca = {
>   sizeof(struct device), cmp_match, cmp_attach
>  };
>  
> Index: arch/sparc64/dev/com_ebus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/com_ebus.c,v
> retrieving revision 1.23
> diff -u -p -r1.23 com_ebus.c
> --- arch/sparc64/dev/com_ebus.c 5 Dec 2019 12:46:54 -0000 1.23
> +++ arch/sparc64/dev/com_ebus.c 13 Feb 2020 09:38:17 -0000
> @@ -53,7 +53,7 @@ int com_ebus_match(struct device *, void
>  void com_ebus_attach(struct device *, struct device *, void *);
>  int com_ebus_speed(struct ebus_attach_args *);
>  
> -struct cfattach com_ebus_ca = {
> +const struct cfattach com_ebus_ca = {
>   sizeof(struct com_softc), com_ebus_match, com_ebus_attach
>  };
>  
> Index: arch/sparc64/dev/comkbd_ebus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/comkbd_ebus.c,v
> retrieving revision 1.23
> diff -u -p -r1.23 comkbd_ebus.c
> --- arch/sparc64/dev/comkbd_ebus.c 27 Dec 2018 11:06:38 -0000 1.23
> +++ arch/sparc64/dev/comkbd_ebus.c 13 Feb 2020 09:38:17 -0000
> @@ -103,7 +103,7 @@ void comkbd_putc(struct comkbd_softc *,
>  int comkbd_intr(void *);
>  void comkbd_soft(void *);
>  
> -struct cfattach comkbd_ca = {
> +const struct cfattach comkbd_ca = {
>   sizeof(struct comkbd_softc), comkbd_match, comkbd_attach
>  };
>  
> Index: arch/sparc64/dev/core.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/core.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 core.c
> --- arch/sparc64/dev/core.c 11 Jul 2008 14:23:53 -0000 1.1
> +++ arch/sparc64/dev/core.c 13 Feb 2020 09:38:17 -0000
> @@ -25,7 +25,7 @@
>  int core_match(struct device *, void *, void *);
>  void core_attach(struct device *, struct device *, void *);
>  
> -struct cfattach core_ca = {
> +const struct cfattach core_ca = {
>   sizeof(struct device), core_match, core_attach
>  };
>  
> Index: arch/sparc64/dev/creator.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/creator.c,v
> retrieving revision 1.51
> diff -u -p -r1.51 creator.c
> --- arch/sparc64/dev/creator.c 8 Sep 2017 05:36:52 -0000 1.51
> +++ arch/sparc64/dev/creator.c 13 Feb 2020 09:38:17 -0000
> @@ -77,7 +77,7 @@ struct cfdriver creator_cd = {
>   NULL, "creator", DV_DULL
>  };
>  
> -struct cfattach creator_ca = {
> +const struct cfattach creator_ca = {
>   sizeof(struct creator_softc), creator_match, creator_attach
>  };
>  
> Index: arch/sparc64/dev/ebus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/ebus.c,v
> retrieving revision 1.25
> diff -u -p -r1.25 ebus.c
> --- arch/sparc64/dev/ebus.c 5 Dec 2019 12:46:54 -0000 1.25
> +++ arch/sparc64/dev/ebus.c 13 Feb 2020 09:38:17 -0000
> @@ -78,7 +78,7 @@ int ebus_debug = 0x0;
>  int ebus_match(struct device *, void *, void *);
>  void ebus_attach(struct device *, struct device *, void *);
>  
> -struct cfattach ebus_ca = {
> +const struct cfattach ebus_ca = {
>   sizeof(struct ebus_softc), ebus_match, ebus_attach
>  };
>  
> Index: arch/sparc64/dev/ebus_mainbus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/ebus_mainbus.c,v
> retrieving revision 1.10
> diff -u -p -r1.10 ebus_mainbus.c
> --- arch/sparc64/dev/ebus_mainbus.c 23 Aug 2016 03:28:01 -0000 1.10
> +++ arch/sparc64/dev/ebus_mainbus.c 13 Feb 2020 09:38:17 -0000
> @@ -56,7 +56,7 @@ extern struct cfdriver pyro_cd;
>  int ebus_mainbus_match(struct device *, void *, void *);
>  void ebus_mainbus_attach(struct device *, struct device *, void *);
>  
> -struct cfattach ebus_mainbus_ca = {
> +const struct cfattach ebus_mainbus_ca = {
>   sizeof(struct ebus_softc), ebus_mainbus_match, ebus_mainbus_attach
>  };
>  
> Index: arch/sparc64/dev/environ.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/environ.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 environ.c
> --- arch/sparc64/dev/environ.c 18 Jan 2008 20:12:38 -0000 1.1
> +++ arch/sparc64/dev/environ.c 13 Feb 2020 09:38:17 -0000
> @@ -45,7 +45,7 @@ int environ_match(struct device *, void
>  void environ_attach(struct device *, struct device *, void *);
>  void environ_refresh(void *);
>  
> -struct cfattach environ_ca = {
> +const struct cfattach environ_ca = {
>   sizeof(struct environ_softc), environ_match, environ_attach
>  };
>  
> Index: arch/sparc64/dev/fd.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/fd.c,v
> retrieving revision 1.50
> diff -u -p -r1.50 fd.c
> --- arch/sparc64/dev/fd.c 27 Dec 2018 11:06:38 -0000 1.50
> +++ arch/sparc64/dev/fd.c 13 Feb 2020 09:38:17 -0000
> @@ -218,11 +218,11 @@ void fdcattach_ebus(struct device *, str
>  
>  int fdcattach(struct fdc_softc *, int);
>  
> -struct cfattach fdc_sbus_ca = {
> +const struct cfattach fdc_sbus_ca = {
>   sizeof(struct fdc_softc), fdcmatch_sbus, fdcattach_sbus
>  };
>  
> -struct cfattach fdc_ebus_ca = {
> +const struct cfattach fdc_ebus_ca = {
>   sizeof(struct fdc_softc), fdcmatch_ebus, fdcattach_ebus
>  };
>  
> @@ -276,7 +276,7 @@ int fdmatch(struct device *, void *, voi
>  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), fdmatch, fdattach,
>   NULL, fdactivate
>  };
> Index: arch/sparc64/dev/fhc_central.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/fhc_central.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 fhc_central.c
> --- arch/sparc64/dev/fhc_central.c 8 Sep 2017 05:36:52 -0000 1.6
> +++ arch/sparc64/dev/fhc_central.c 13 Feb 2020 09:38:17 -0000
> @@ -44,7 +44,7 @@
>  int fhc_central_match(struct device *, void *, void *);
>  void fhc_central_attach(struct device *, struct device *, void *);
>  
> -struct cfattach fhc_central_ca = {
> +const struct cfattach fhc_central_ca = {
>   sizeof(struct fhc_softc), fhc_central_match, fhc_central_attach
>  };
>  
> Index: arch/sparc64/dev/fhc_mainbus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/fhc_mainbus.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 fhc_mainbus.c
> --- arch/sparc64/dev/fhc_mainbus.c 8 Sep 2017 05:36:52 -0000 1.5
> +++ arch/sparc64/dev/fhc_mainbus.c 13 Feb 2020 09:38:17 -0000
> @@ -42,7 +42,7 @@
>  int fhc_mainbus_match(struct device *, void *, void *);
>  void fhc_mainbus_attach(struct device *, struct device *, void *);
>  
> -struct cfattach fhc_mainbus_ca = {
> +const struct cfattach fhc_mainbus_ca = {
>   sizeof(struct fhc_softc), fhc_mainbus_match, fhc_mainbus_attach
>  };
>  
> Index: arch/sparc64/dev/gfb.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/gfb.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 gfb.c
> --- arch/sparc64/dev/gfb.c 20 Oct 2013 20:07:27 -0000 1.2
> +++ arch/sparc64/dev/gfb.c 13 Feb 2020 09:38:17 -0000
> @@ -50,7 +50,7 @@ struct cfdriver gfb_cd = {
>   NULL, "gfb", DV_DULL
>  };
>  
> -struct cfattach gfb_ca = {
> +const struct cfattach gfb_ca = {
>   sizeof(struct gfb_softc), gfb_match, gfb_attach
>  };
>  
> Index: arch/sparc64/dev/gfxp.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/gfxp.c,v
> retrieving revision 1.13
> diff -u -p -r1.13 gfxp.c
> --- arch/sparc64/dev/gfxp.c 20 Oct 2013 20:07:27 -0000 1.13
> +++ arch/sparc64/dev/gfxp.c 13 Feb 2020 09:38:17 -0000
> @@ -134,7 +134,7 @@ struct wsdisplay_accessops gfxp_accessop
>  int gfxp_match(struct device *, void *, void *);
>  void gfxp_attach(struct device *, struct device *, void *);
>  
> -struct cfattach gfxp_ca = {
> +const struct cfattach gfxp_ca = {
>   sizeof(struct gfxp_softc), gfxp_match, gfxp_attach
>  };
>  
> Index: arch/sparc64/dev/ifb.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/ifb.c,v
> retrieving revision 1.22
> diff -u -p -r1.22 ifb.c
> --- arch/sparc64/dev/ifb.c 20 Oct 2013 20:07:27 -0000 1.22
> +++ arch/sparc64/dev/ifb.c 13 Feb 2020 09:38:17 -0000
> @@ -300,7 +300,7 @@ struct wsdisplay_accessops ifb_accessops
>  int ifbmatch(struct device *, void *, void *);
>  void ifbattach(struct device *, struct device *, void *);
>  
> -struct cfattach ifb_ca = {
> +const struct cfattach ifb_ca = {
>   sizeof (struct ifb_softc), ifbmatch, ifbattach
>  };
>  
> Index: arch/sparc64/dev/led.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/led.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 led.c
> --- arch/sparc64/dev/led.c 21 Jun 2019 08:12:35 -0000 1.2
> +++ arch/sparc64/dev/led.c 13 Feb 2020 09:38:17 -0000
> @@ -68,7 +68,7 @@ struct led_softc {
>  int led_match(struct device *, void *, void *);
>  void led_attach(struct device *, struct device *, void *);
>  
> -struct cfattach led_ca = {
> +const struct cfattach led_ca = {
>   sizeof(struct led_softc), led_match, led_attach
>  };
>  
> Index: arch/sparc64/dev/lom.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/lom.c,v
> retrieving revision 1.27
> diff -u -p -r1.27 lom.c
> --- arch/sparc64/dev/lom.c 12 Oct 2019 15:55:31 -0000 1.27
> +++ arch/sparc64/dev/lom.c 13 Feb 2020 09:38:17 -0000
> @@ -181,7 +181,7 @@ int lom_match(struct device *, void *, v
>  void lom_attach(struct device *, struct device *, void *);
>  int lom_activate(struct device *, int);
>  
> -struct cfattach lom_ca = {
> +const struct cfattach lom_ca = {
>   sizeof(struct lom_softc), lom_match, lom_attach,
>   NULL, lom_activate
>  };
> Index: arch/sparc64/dev/lpt_ebus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/lpt_ebus.c,v
> retrieving revision 1.10
> diff -u -p -r1.10 lpt_ebus.c
> --- arch/sparc64/dev/lpt_ebus.c 5 Dec 2019 12:46:54 -0000 1.10
> +++ arch/sparc64/dev/lpt_ebus.c 13 Feb 2020 09:38:17 -0000
> @@ -51,7 +51,7 @@ struct lpt_ebus_softc {
>  int lpt_ebus_match(struct device *, void *, void *);
>  void lpt_ebus_attach(struct device *, struct device *, void *);
>  
> -struct cfattach lpt_ebus_ca = {
> +const struct cfattach lpt_ebus_ca = {
>   sizeof(struct lpt_ebus_softc), lpt_ebus_match, lpt_ebus_attach
>  };
>  
> Index: arch/sparc64/dev/machfb.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/machfb.c,v
> retrieving revision 1.10
> diff -u -p -r1.10 machfb.c
> --- arch/sparc64/dev/machfb.c 28 Jul 2014 15:00:27 -0000 1.10
> +++ arch/sparc64/dev/machfb.c 13 Feb 2020 09:38:17 -0000
> @@ -201,7 +201,7 @@ struct wsdisplay_accessops machfb_access
>  int machfb_match(struct device *, void *, void *);
>  void machfb_attach(struct device *, struct device *, void *);
>  
> -struct cfattach machfb_ca = {
> +const struct cfattach machfb_ca = {
>   sizeof(struct machfb_softc), machfb_match, machfb_attach
>  };
>  
> Index: arch/sparc64/dev/mgiic.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/mgiic.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 mgiic.c
> --- arch/sparc64/dev/mgiic.c 7 May 2015 00:00:52 -0000 1.3
> +++ arch/sparc64/dev/mgiic.c 13 Feb 2020 09:38:17 -0000
> @@ -82,7 +82,7 @@ struct cfdriver mgiic_cd = {
>          NULL, "mgiic", DV_DULL
>  };
>  
> -struct cfattach mgiic_ca = {
> +const struct cfattach mgiic_ca = {
>          sizeof(struct mgiic_softc), mgiic_match, mgiic_attach
>  };
>  
> Index: arch/sparc64/dev/pcf8591_envctrl.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/pcf8591_envctrl.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 pcf8591_envctrl.c
> --- arch/sparc64/dev/pcf8591_envctrl.c 25 Oct 2007 21:17:20 -0000 1.6
> +++ arch/sparc64/dev/pcf8591_envctrl.c 13 Feb 2020 09:38:17 -0000
> @@ -59,7 +59,7 @@ int ecadc_match(struct device *, void *,
>  void ecadc_attach(struct device *, struct device *, void *);
>  void ecadc_refresh(void *);
>  
> -struct cfattach ecadc_ca = {
> +const struct cfattach ecadc_ca = {
>   sizeof(struct ecadc_softc), ecadc_match, ecadc_attach
>  };
>  
> Index: arch/sparc64/dev/pcf8591_ofw.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/pcf8591_ofw.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 pcf8591_ofw.c
> --- arch/sparc64/dev/pcf8591_ofw.c 22 Oct 2007 20:53:10 -0000 1.5
> +++ arch/sparc64/dev/pcf8591_ofw.c 13 Feb 2020 09:38:17 -0000
> @@ -45,7 +45,7 @@ int pcfadc_match(struct device *, void *
>  void pcfadc_attach(struct device *, struct device *, void *);
>  void pcfadc_refresh(void *);
>  
> -struct cfattach pcfadc_ca = {
> +const struct cfattach pcfadc_ca = {
>   sizeof(struct pcfadc_softc), pcfadc_match, pcfadc_attach
>  };
>  
> Index: arch/sparc64/dev/pcfiic_ebus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/pcfiic_ebus.c,v
> retrieving revision 1.13
> diff -u -p -r1.13 pcfiic_ebus.c
> --- arch/sparc64/dev/pcfiic_ebus.c 8 Jun 2008 03:07:40 -0000 1.13
> +++ arch/sparc64/dev/pcfiic_ebus.c 13 Feb 2020 09:38:17 -0000
> @@ -50,7 +50,7 @@ struct pcfiic_ebus_softc {
>   void *esc_ih;
>  };
>  
> -struct cfattach pcfiic_ebus_ca = {
> +const struct cfattach pcfiic_ebus_ca = {
>   sizeof(struct pcfiic_ebus_softc), pcfiic_ebus_match, pcfiic_ebus_attach
>  };
>  
> Index: arch/sparc64/dev/pckbc_ebus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/pckbc_ebus.c,v
> retrieving revision 1.14
> diff -u -p -r1.14 pckbc_ebus.c
> --- arch/sparc64/dev/pckbc_ebus.c 8 Sep 2017 05:36:52 -0000 1.14
> +++ arch/sparc64/dev/pckbc_ebus.c 13 Feb 2020 09:38:17 -0000
> @@ -65,7 +65,7 @@ struct pckbc_ebus_softc {
>  int pckbc_ebus_match(struct device *, void *, void *);
>  void pckbc_ebus_attach(struct device *, struct device *, void *);
>  
> -struct cfattach pckbc_ebus_ca = {
> +const struct cfattach pckbc_ebus_ca = {
>   sizeof(struct pckbc_ebus_softc), pckbc_ebus_match, pckbc_ebus_attach
>  };
>  
> Index: arch/sparc64/dev/pcons.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/pcons.c,v
> retrieving revision 1.24
> diff -u -p -r1.24 pcons.c
> --- arch/sparc64/dev/pcons.c 19 Feb 2018 08:59:52 -0000 1.24
> +++ arch/sparc64/dev/pcons.c 13 Feb 2020 09:38:17 -0000
> @@ -130,7 +130,7 @@ int cn_get_magic(char *magic, int len);
>  int pconsmatch(struct device *, void *, void *);
>  void pconsattach(struct device *, struct device *, void *);
>  
> -struct cfattach pcons_ca = {
> +const struct cfattach pcons_ca = {
>   sizeof(struct pconssoftc), pconsmatch, pconsattach
>  };
>  
> Index: arch/sparc64/dev/pmc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/pmc.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 pmc.c
> --- arch/sparc64/dev/pmc.c 10 Dec 2014 12:27:57 -0000 1.4
> +++ arch/sparc64/dev/pmc.c 13 Feb 2020 09:38:17 -0000
> @@ -53,7 +53,7 @@ void pmc_attach(struct device *, struct
>  int pmc_activate(struct device *, int);
>  int pmc_wdog_cb(void *, int);
>  
> -struct cfattach pmc_ca = {
> +const struct cfattach pmc_ca = {
>   sizeof(struct pmc_softc), pmc_match, pmc_attach, NULL, pmc_activate
>  };
>  
> Index: arch/sparc64/dev/power.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/power.c,v
> retrieving revision 1.8
> diff -u -p -r1.8 power.c
> --- arch/sparc64/dev/power.c 8 Sep 2017 05:36:52 -0000 1.8
> +++ arch/sparc64/dev/power.c 13 Feb 2020 09:38:17 -0000
> @@ -62,7 +62,7 @@ int power_match(struct device *, void *,
>  void power_attach(struct device *, struct device *, void *);
>  int power_intr(void *);
>  
> -struct cfattach power_ca = {
> +const struct cfattach power_ca = {
>   sizeof(struct power_softc), power_match, power_attach
>  };
>  
> Index: arch/sparc64/dev/ppm.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/ppm.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 ppm.c
> --- arch/sparc64/dev/ppm.c 8 Sep 2017 05:36:52 -0000 1.2
> +++ arch/sparc64/dev/ppm.c 13 Feb 2020 09:38:17 -0000
> @@ -58,7 +58,7 @@ struct ppm_softc {
>  int ppm_match(struct device *, void *, void *);
>  void ppm_attach(struct device *, struct device *, void *);
>  
> -struct cfattach ppm_ca = {
> +const struct cfattach ppm_ca = {
>   sizeof(struct ppm_softc), ppm_match, ppm_attach
>  };
>  
> Index: arch/sparc64/dev/prtc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/prtc.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 prtc.c
> --- arch/sparc64/dev/prtc.c 29 Aug 2018 02:03:12 -0000 1.5
> +++ arch/sparc64/dev/prtc.c 13 Feb 2020 09:38:17 -0000
> @@ -44,7 +44,7 @@ struct prtc_softc {
>  int prtc_match(struct device *, void *, void *);
>  void prtc_attach(struct device *, struct device *, void *);
>  
> -struct cfattach prtc_ca = {
> +const struct cfattach prtc_ca = {
>   sizeof(struct prtc_softc), prtc_match, prtc_attach
>  };
>  
> Index: arch/sparc64/dev/psycho.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/psycho.c,v
> retrieving revision 1.76
> diff -u -p -r1.76 psycho.c
> --- arch/sparc64/dev/psycho.c 25 Jun 2019 22:30:56 -0000 1.76
> +++ arch/sparc64/dev/psycho.c 13 Feb 2020 09:38:17 -0000
> @@ -138,7 +138,7 @@ void psycho_attach(struct device *, stru
>  int psycho_print(void *aux, const char *p);
>  
>  
> -struct cfattach psycho_ca = {
> +const struct cfattach psycho_ca = {
>          sizeof(struct psycho_softc), psycho_match, psycho_attach
>  };
>  
> Index: arch/sparc64/dev/radeonfb.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/radeonfb.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 radeonfb.c
> --- arch/sparc64/dev/radeonfb.c 20 Oct 2013 20:07:27 -0000 1.5
> +++ arch/sparc64/dev/radeonfb.c 13 Feb 2020 09:38:17 -0000
> @@ -128,7 +128,7 @@ struct wsdisplay_accessops radeonfb_acce
>  int radeonfb_match(struct device *, void *, void *);
>  void radeonfb_attach(struct device *, struct device *, void *);
>  
> -struct cfattach radeonfb_ca = {
> +const struct cfattach radeonfb_ca = {
>   sizeof(struct radeonfb_softc), radeonfb_match, radeonfb_attach
>  };
>  
> Index: arch/sparc64/dev/raptor.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/raptor.c,v
> retrieving revision 1.8
> diff -u -p -r1.8 raptor.c
> --- arch/sparc64/dev/raptor.c 20 Oct 2013 20:07:27 -0000 1.8
> +++ arch/sparc64/dev/raptor.c 13 Feb 2020 09:38:17 -0000
> @@ -140,7 +140,7 @@ struct wsdisplay_accessops raptor_access
>  int raptor_match(struct device *, void *, void *);
>  void raptor_attach(struct device *, struct device *, void *);
>  
> -struct cfattach raptor_ca = {
> +const struct cfattach raptor_ca = {
>   sizeof(struct raptor_softc), raptor_match, raptor_attach
>  };
>  
> Index: arch/sparc64/dev/rtc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/rtc.c,v
> retrieving revision 1.10
> diff -u -p -r1.10 rtc.c
> --- arch/sparc64/dev/rtc.c 11 Jul 2014 08:18:31 -0000 1.10
> +++ arch/sparc64/dev/rtc.c 13 Feb 2020 09:38:17 -0000
> @@ -102,7 +102,7 @@ struct rtc_softc {
>  int rtc_match(struct device *, void *, void *);
>  void rtc_attach(struct device *, struct device *, void *);
>  
> -struct cfattach rtc_ca = {
> +const struct cfattach rtc_ca = {
>   sizeof(struct rtc_softc), rtc_match, rtc_attach
>  };
>  
> Index: arch/sparc64/dev/sab.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/sab.c,v
> retrieving revision 1.37
> diff -u -p -r1.37 sab.c
> --- arch/sparc64/dev/sab.c 12 Oct 2019 15:55:31 -0000 1.37
> +++ arch/sparc64/dev/sab.c 13 Feb 2020 09:38:17 -0000
> @@ -159,7 +159,7 @@ void sabtty_cnputc(struct sabtty_softc *
>  int sabtty_cngetc(struct sabtty_softc *);
>  void sabtty_abort(struct sabtty_softc *);
>  
> -struct cfattach sab_ca = {
> +const struct cfattach sab_ca = {
>   sizeof(struct sab_softc), sab_match, sab_attach
>  };
>  
> @@ -167,7 +167,7 @@ struct cfdriver sab_cd = {
>   NULL, "sab", DV_DULL
>  };
>  
> -struct cfattach sabtty_ca = {
> +const struct cfattach sabtty_ca = {
>   sizeof(struct sabtty_softc), sabtty_match, sabtty_attach,
>   NULL, sabtty_activate
>  };
> Index: arch/sparc64/dev/sbbc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/sbbc.c,v
> retrieving revision 1.13
> diff -u -p -r1.13 sbbc.c
> --- arch/sparc64/dev/sbbc.c 19 Feb 2018 08:59:52 -0000 1.13
> +++ arch/sparc64/dev/sbbc.c 13 Feb 2020 09:38:17 -0000
> @@ -143,7 +143,7 @@ struct sbbc_softc *sbbc_cons_output;
>  int sbbc_match(struct device *, void *, void *);
>  void sbbc_attach(struct device *, struct device *, void *);
>  
> -struct cfattach sbbc_ca = {
> +const struct cfattach sbbc_ca = {
>   sizeof(struct sbbc_softc), sbbc_match, sbbc_attach
>  };
>  
> Index: arch/sparc64/dev/sbus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/sbus.c,v
> retrieving revision 1.45
> diff -u -p -r1.45 sbus.c
> --- arch/sparc64/dev/sbus.c 25 Jun 2019 22:30:56 -0000 1.45
> +++ arch/sparc64/dev/sbus.c 13 Feb 2020 09:38:17 -0000
> @@ -158,11 +158,11 @@ void sbus_xbox_attach(struct device *, s
>  int sbus_mb_match(struct device *, void *, void *);
>  int sbus_xbox_match(struct device *, void *, void *);
>  
> -struct cfattach sbus_mb_ca = {
> +const struct cfattach sbus_mb_ca = {
>   sizeof(struct sbus_softc), sbus_mb_match, sbus_mb_attach
>  };
>  
> -struct cfattach sbus_xbox_ca = {
> +const struct cfattach sbus_xbox_ca = {
>   sizeof(struct sbus_softc), sbus_xbox_match, sbus_xbox_attach
>  };
>  
> Index: arch/sparc64/dev/ssm.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/ssm.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 ssm.c
> --- arch/sparc64/dev/ssm.c 12 Jul 2014 18:44:43 -0000 1.2
> +++ arch/sparc64/dev/ssm.c 13 Feb 2020 09:38:17 -0000
> @@ -26,7 +26,7 @@
>  int ssm_match(struct device *, void *, void *);
>  void ssm_attach(struct device *, struct device *, void *);
>  
> -struct cfattach ssm_ca = {
> +const struct cfattach ssm_ca = {
>   sizeof(struct device), ssm_match, ssm_attach
>  };
>  
> Index: arch/sparc64/dev/stp_sbus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/stp_sbus.c,v
> retrieving revision 1.10
> diff -u -p -r1.10 stp_sbus.c
> --- arch/sparc64/dev/stp_sbus.c 26 Jun 2008 05:42:13 -0000 1.10
> +++ arch/sparc64/dev/stp_sbus.c 13 Feb 2020 09:38:17 -0000
> @@ -64,7 +64,7 @@ struct stp4020_sbus_softc {
>  int stpmatch(struct device *, void *, void *);
>  void stpattach(struct device *, struct device *, void *);
>  
> -struct cfattach stp_sbus_ca = {
> +const struct cfattach stp_sbus_ca = {
>   sizeof(struct stp4020_sbus_softc), stpmatch, stpattach
>  };
>  
> Index: arch/sparc64/dev/tda.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/tda.c,v
> retrieving revision 1.8
> diff -u -p -r1.8 tda.c
> --- arch/sparc64/dev/tda.c 7 Mar 2016 13:21:51 -0000 1.8
> +++ arch/sparc64/dev/tda.c 13 Feb 2020 09:38:17 -0000
> @@ -66,7 +66,7 @@ void tda_attach(struct device *, struct
>  void tda_setspeed(struct tda_softc *);
>  void tda_adjust(void *);
>  
> -struct cfattach tda_ca = {
> +const struct cfattach tda_ca = {
>   sizeof(struct tda_softc), tda_match, tda_attach
>  };
>  
> Index: arch/sparc64/dev/upa.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/upa.c,v
> retrieving revision 1.10
> diff -u -p -r1.10 upa.c
> --- arch/sparc64/dev/upa.c 8 Sep 2017 05:36:52 -0000 1.10
> +++ arch/sparc64/dev/upa.c 13 Feb 2020 09:38:17 -0000
> @@ -63,7 +63,7 @@ struct upa_softc {
>  int upa_match(struct device *, void *, void *);
>  void upa_attach(struct device *, struct device *, void *);
>  
> -struct cfattach upa_ca = {
> +const struct cfattach upa_ca = {
>   sizeof(struct upa_softc), upa_match, upa_attach
>  };
>  
> Index: arch/sparc64/dev/uperf_ebus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/uperf_ebus.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 uperf_ebus.c
> --- arch/sparc64/dev/uperf_ebus.c 8 Sep 2017 05:36:52 -0000 1.6
> +++ arch/sparc64/dev/uperf_ebus.c 13 Feb 2020 09:38:17 -0000
> @@ -63,7 +63,7 @@ struct uperf_ebus_softc {
>  int uperf_ebus_match(struct device *, void *, void *);
>  void uperf_ebus_attach(struct device *, struct device *, void *);
>  
> -struct cfattach uperf_ebus_ca = {
> +const struct cfattach uperf_ebus_ca = {
>   sizeof(struct uperf_ebus_softc), uperf_ebus_match, uperf_ebus_attach
>  };
>  
> Index: arch/sparc64/dev/vbus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/vbus.c,v
> retrieving revision 1.11
> diff -u -p -r1.11 vbus.c
> --- arch/sparc64/dev/vbus.c 27 Jun 2018 11:38:59 -0000 1.11
> +++ arch/sparc64/dev/vbus.c 13 Feb 2020 09:38:17 -0000
> @@ -42,7 +42,7 @@ int vbus_match(struct device *, void *,
>  void vbus_attach(struct device *, struct device *, void *);
>  int vbus_print(void *, const char *);
>  
> -struct cfattach vbus_ca = {
> +const struct cfattach vbus_ca = {
>   sizeof(struct vbus_softc), vbus_match, vbus_attach
>  };
>  
> Index: arch/sparc64/dev/vcc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/vcc.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 vcc.c
> --- arch/sparc64/dev/vcc.c 10 May 2009 12:24:04 -0000 1.1
> +++ arch/sparc64/dev/vcc.c 13 Feb 2020 09:38:17 -0000
> @@ -42,7 +42,7 @@ struct vcc_softc {
>  int vcc_match(struct device *, void *, void *);
>  void vcc_attach(struct device *, struct device *, void *);
>  
> -struct cfattach vcc_ca = {
> +const struct cfattach vcc_ca = {
>   sizeof(struct vcc_softc), vcc_match, vcc_attach
>  };
>  
> Index: arch/sparc64/dev/vcctty.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/vcctty.c,v
> retrieving revision 1.14
> diff -u -p -r1.14 vcctty.c
> --- arch/sparc64/dev/vcctty.c 19 Feb 2018 08:59:52 -0000 1.14
> +++ arch/sparc64/dev/vcctty.c 13 Feb 2020 09:38:17 -0000
> @@ -71,7 +71,7 @@ struct vcctty_softc {
>  int vcctty_match(struct device *, void *, void *);
>  void vcctty_attach(struct device *, struct device *, void *);
>  
> -struct cfattach vcctty_ca = {
> +const struct cfattach vcctty_ca = {
>   sizeof(struct vcctty_softc), vcctty_match, vcctty_attach
>  };
>  
> Index: arch/sparc64/dev/vcons.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/vcons.c,v
> retrieving revision 1.17
> diff -u -p -r1.17 vcons.c
> --- arch/sparc64/dev/vcons.c 27 Jun 2018 11:38:59 -0000 1.17
> +++ arch/sparc64/dev/vcons.c 13 Feb 2020 09:38:17 -0000
> @@ -47,7 +47,7 @@ struct vcons_softc {
>  int vcons_match(struct device *, void *, void *);
>  void vcons_attach(struct device *, struct device *, void *);
>  
> -struct cfattach vcons_ca = {
> +const struct cfattach vcons_ca = {
>   sizeof(struct vcons_softc), vcons_match, vcons_attach
>  };
>  
> Index: arch/sparc64/dev/vds.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/vds.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 vds.c
> --- arch/sparc64/dev/vds.c 31 Dec 2009 11:58:41 -0000 1.1
> +++ arch/sparc64/dev/vds.c 13 Feb 2020 09:38:17 -0000
> @@ -42,7 +42,7 @@ struct vds_softc {
>  int vds_match(struct device *, void *, void *);
>  void vds_attach(struct device *, struct device *, void *);
>  
> -struct cfattach vds_ca = {
> +const struct cfattach vds_ca = {
>   sizeof(struct vds_softc), vds_match, vds_attach
>  };
>  
> Index: arch/sparc64/dev/vdsk.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/vdsk.c,v
> retrieving revision 1.52
> diff -u -p -r1.52 vdsk.c
> --- arch/sparc64/dev/vdsk.c 5 Feb 2020 16:29:29 -0000 1.52
> +++ arch/sparc64/dev/vdsk.c 13 Feb 2020 09:38:17 -0000
> @@ -171,7 +171,7 @@ struct vdsk_softc {
>  int vdsk_match(struct device *, void *, void *);
>  void vdsk_attach(struct device *, struct device *, void *);
>  
> -struct cfattach vdsk_ca = {
> +const struct cfattach vdsk_ca = {
>   sizeof(struct vdsk_softc), vdsk_match, vdsk_attach
>  };
>  
> Index: arch/sparc64/dev/vdsp.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/vdsp.c,v
> retrieving revision 1.47
> diff -u -p -r1.47 vdsp.c
> --- arch/sparc64/dev/vdsp.c 16 Jan 2020 13:03:28 -0000 1.47
> +++ arch/sparc64/dev/vdsp.c 13 Feb 2020 09:38:17 -0000
> @@ -267,7 +267,7 @@ struct vdsp_softc {
>  int vdsp_match(struct device *, void *, void *);
>  void vdsp_attach(struct device *, struct device *, void *);
>  
> -struct cfattach vdsp_ca = {
> +const struct cfattach vdsp_ca = {
>   sizeof(struct vdsp_softc), vdsp_match, vdsp_attach
>  };
>  
> Index: arch/sparc64/dev/vgafb.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/vgafb.c,v
> retrieving revision 1.66
> diff -u -p -r1.66 vgafb.c
> --- arch/sparc64/dev/vgafb.c 27 Dec 2018 11:06:38 -0000 1.66
> +++ arch/sparc64/dev/vgafb.c 13 Feb 2020 09:38:17 -0000
> @@ -91,7 +91,7 @@ struct wsdisplay_accessops vgafb_accesso
>  int vgafbmatch(struct device *, void *, void *);
>  void vgafbattach(struct device *, struct device *, void *);
>  
> -struct cfattach vgafb_ca = {
> +const struct cfattach vgafb_ca = {
>   sizeof (struct vgafb_softc), vgafbmatch, vgafbattach
>  };
>  
> Index: arch/sparc64/dev/vldc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/vldc.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 vldc.c
> --- arch/sparc64/dev/vldc.c 17 Mar 2012 20:07:18 -0000 1.1
> +++ arch/sparc64/dev/vldc.c 13 Feb 2020 09:38:17 -0000
> @@ -42,7 +42,7 @@ struct vldc_softc {
>  int vldc_match(struct device *, void *, void *);
>  void vldc_attach(struct device *, struct device *, void *);
>  
> -struct cfattach vldc_ca = {
> +const struct cfattach vldc_ca = {
>   sizeof(struct vldc_softc), vldc_match, vldc_attach
>  };
>  
> Index: arch/sparc64/dev/vldcp.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/vldcp.c,v
> retrieving revision 1.19
> diff -u -p -r1.19 vldcp.c
> --- arch/sparc64/dev/vldcp.c 19 Dec 2019 12:04:38 -0000 1.19
> +++ arch/sparc64/dev/vldcp.c 13 Feb 2020 09:38:17 -0000
> @@ -71,7 +71,7 @@ struct vldcp_softc {
>  int vldcp_match(struct device *, void *, void *);
>  void vldcp_attach(struct device *, struct device *, void *);
>  
> -struct cfattach vldcp_ca = {
> +const struct cfattach vldcp_ca = {
>   sizeof(struct vldcp_softc), vldcp_match, vldcp_attach
>  };
>  
> Index: arch/sparc64/dev/vnet.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/vnet.c,v
> retrieving revision 1.60
> diff -u -p -r1.60 vnet.c
> --- arch/sparc64/dev/vnet.c 27 Jan 2018 13:44:03 -0000 1.60
> +++ arch/sparc64/dev/vnet.c 13 Feb 2020 09:38:17 -0000
> @@ -184,7 +184,7 @@ struct vnet_softc {
>  int vnet_match(struct device *, void *, void *);
>  void vnet_attach(struct device *, struct device *, void *);
>  
> -struct cfattach vnet_ca = {
> +const struct cfattach vnet_ca = {
>   sizeof(struct vnet_softc), vnet_match, vnet_attach
>  };
>  
> Index: arch/sparc64/dev/vrng.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/vrng.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 vrng.c
> --- arch/sparc64/dev/vrng.c 28 Apr 2018 15:44:59 -0000 1.5
> +++ arch/sparc64/dev/vrng.c 13 Feb 2020 09:38:17 -0000
> @@ -54,7 +54,7 @@ struct vrng_softc {
>  int vrng_match(struct device *, void *, void *);
>  void vrng_attach(struct device *, struct device *, void *);
>  
> -struct cfattach vrng_ca = {
> +const struct cfattach vrng_ca = {
>   sizeof(struct vrng_softc), vrng_match, vrng_attach
>  };
>  
> Index: arch/sparc64/dev/vrtc.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/vrtc.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 vrtc.c
> --- arch/sparc64/dev/vrtc.c 8 Mar 2008 19:19:43 -0000 1.1
> +++ arch/sparc64/dev/vrtc.c 13 Feb 2020 09:38:17 -0000
> @@ -32,7 +32,7 @@ extern todr_chip_handle_t todr_handle;
>  int vrtc_match(struct device *, void *, void *);
>  void vrtc_attach(struct device *, struct device *, void *);
>  
> -struct cfattach vrtc_ca = {
> +const struct cfattach vrtc_ca = {
>   sizeof(struct device), vrtc_match, vrtc_attach
>  };
>  
> Index: arch/sparc64/dev/vsw.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/vsw.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 vsw.c
> --- arch/sparc64/dev/vsw.c 16 May 2009 10:53:06 -0000 1.1
> +++ arch/sparc64/dev/vsw.c 13 Feb 2020 09:38:17 -0000
> @@ -42,7 +42,7 @@ struct vsw_softc {
>  int vsw_match(struct device *, void *, void *);
>  void vsw_attach(struct device *, struct device *, void *);
>  
> -struct cfattach vsw_ca = {
> +const struct cfattach vsw_ca = {
>   sizeof(struct vsw_softc), vsw_match, vsw_attach
>  };
>  
> Index: arch/sparc64/dev/wbsd_ebus.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/wbsd_ebus.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 wbsd_ebus.c
> --- arch/sparc64/dev/wbsd_ebus.c 3 Oct 2009 19:56:14 -0000 1.1
> +++ arch/sparc64/dev/wbsd_ebus.c 13 Feb 2020 09:38:17 -0000
> @@ -34,7 +34,7 @@
>  int wbsd_ebus_match(struct device *, void *, void *);
>  void wbsd_ebus_attach(struct device *, struct device *, void *);
>  
> -struct cfattach wbsd_ebus_ca = {
> +const struct cfattach wbsd_ebus_ca = {
>   sizeof(struct wb_softc), wbsd_ebus_match, wbsd_ebus_attach
>  };
>  
> Index: arch/sparc64/dev/z8530kbd.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/z8530kbd.c,v
> retrieving revision 1.29
> diff -u -p -r1.29 z8530kbd.c
> --- arch/sparc64/dev/z8530kbd.c 27 Dec 2018 11:06:38 -0000 1.29
> +++ arch/sparc64/dev/z8530kbd.c 13 Feb 2020 09:38:17 -0000
> @@ -201,7 +201,7 @@ struct zskbd_softc {
>  static int zskbd_match(struct device *, void *, void *);
>  static void zskbd_attach(struct device *, struct device *, void *);
>  
> -struct cfattach zskbd_ca = {
> +const struct cfattach zskbd_ca = {
>   sizeof(struct zskbd_softc), zskbd_match, zskbd_attach
>  };
>  
> Index: arch/sparc64/dev/zs.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/dev/zs.c,v
> retrieving revision 1.31
> diff -u -p -r1.31 zs.c
> --- arch/sparc64/dev/zs.c 27 Dec 2018 11:06:38 -0000 1.31
> +++ arch/sparc64/dev/zs.c 13 Feb 2020 09:38:17 -0000
> @@ -146,11 +146,11 @@ static void zs_attach_fhc(struct device
>  static void zs_attach(struct zsc_softc *, struct zsdevice *, int);
>  static int  zs_print(void *, const char *name);
>  
> -struct cfattach zs_sbus_ca = {
> +const struct cfattach zs_sbus_ca = {
>   sizeof(struct zsc_softc), zs_match_sbus, zs_attach_sbus
>  };
>  
> -struct cfattach zs_fhc_ca = {
> +const struct cfattach zs_fhc_ca = {
>   sizeof(struct zsc_softc), zs_match_fhc, zs_attach_fhc
>  };
>  
> Index: arch/sparc64/sparc64/autoconf.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/sparc64/autoconf.c,v
> retrieving revision 1.134
> diff -u -p -r1.134 autoconf.c
> --- arch/sparc64/sparc64/autoconf.c 4 Jan 2020 23:43:54 -0000 1.134
> +++ arch/sparc64/sparc64/autoconf.c 13 Feb 2020 09:38:17 -0000
> @@ -1140,7 +1140,7 @@ extern bus_space_tag_t mainbus_space_tag
>   }
>  }
>  
> -struct cfattach mainbus_ca = {
> +const struct cfattach mainbus_ca = {
>   sizeof(struct device), mainbus_match, mainbus_attach
>  };
>  
> Index: arch/sparc64/sparc64/clock.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/sparc64/clock.c,v
> retrieving revision 1.59
> diff -u -p -r1.59 clock.c
> --- arch/sparc64/sparc64/clock.c 30 Apr 2017 16:45:45 -0000 1.59
> +++ arch/sparc64/sparc64/clock.c 13 Feb 2020 09:38:17 -0000
> @@ -157,15 +157,15 @@ static int clockmatch_fhc(struct device
>  static void clockattach_fhc(struct device *, struct device *, void *);
>  static void clockattach(int, bus_space_tag_t, bus_space_handle_t);
>  
> -struct cfattach clock_sbus_ca = {
> +const struct cfattach clock_sbus_ca = {
>   sizeof(struct device), clockmatch_sbus, clockattach_sbus
>  };
>  
> -struct cfattach clock_ebus_ca = {
> +const struct cfattach clock_ebus_ca = {
>   sizeof(struct device), clockmatch_ebus, clockattach_ebus
>  };
>  
> -struct cfattach clock_fhc_ca = {
> +const struct cfattach clock_fhc_ca = {
>   sizeof(struct device), clockmatch_fhc, clockattach_fhc
>  };
>  
> @@ -178,7 +178,7 @@ static void timerattach(struct device *,
>  
>  struct timerreg_4u timerreg_4u; /* XXX - need more cleanup */
>  
> -struct cfattach timer_ca = {
> +const struct cfattach timer_ca = {
>   sizeof(struct device), timermatch, timerattach
>  };
>  
> Index: arch/sparc64/sparc64/cpu.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/sparc64/sparc64/cpu.c,v
> retrieving revision 1.69
> diff -u -p -r1.69 cpu.c
> --- arch/sparc64/sparc64/cpu.c 11 Dec 2017 00:15:50 -0000 1.69
> +++ arch/sparc64/sparc64/cpu.c 13 Feb 2020 09:38:17 -0000
> @@ -94,7 +94,7 @@ char cpu_model[100];
>  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
>  };
>  
> Index: dev/ipmi.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/ipmi.c,v
> retrieving revision 1.108
> diff -u -p -r1.108 ipmi.c
> --- dev/ipmi.c 11 Jan 2020 18:51:54 -0000 1.108
> +++ dev/ipmi.c 13 Feb 2020 09:37:16 -0000
> @@ -1840,7 +1840,7 @@ void ipmi_smbios_probe(struct smbios_ipm
>  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
>  };
> Index: dev/midi.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/midi.c,v
> retrieving revision 1.45
> diff -u -p -r1.45 midi.c
> --- dev/midi.c 31 Dec 2019 13:48:31 -0000 1.45
> +++ dev/midi.c 13 Feb 2020 09:37:16 -0000
> @@ -54,7 +54,7 @@ void midi_out_do(struct midi_softc *);
>  void midi_attach(struct midi_softc *, struct device *);
>  
>  
> -struct cfattach midi_ca = {
> +const struct cfattach midi_ca = {
>   sizeof(struct midi_softc), midiprobe, midiattach, mididetach
>  };
>  
> Index: dev/radio.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/radio.c,v
> retrieving revision 1.11
> diff -u -p -r1.11 radio.c
> --- dev/radio.c 22 Sep 2016 00:47:19 -0000 1.11
> +++ dev/radio.c 13 Feb 2020 09:37:16 -0000
> @@ -48,7 +48,7 @@ int radiodetach(struct device *, int);
>  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
>  };
> Index: dev/rd.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/rd.c,v
> retrieving revision 1.13
> diff -u -p -r1.13 rd.c
> --- dev/rd.c 30 Dec 2017 23:08:29 -0000 1.13
> +++ dev/rd.c 13 Feb 2020 09:37:16 -0000
> @@ -56,7 +56,7 @@ struct rd_softc {
>   struct disk sc_dk;
>  };
>  
> -struct cfattach rd_ca = {
> +const struct cfattach rd_ca = {
>   sizeof(struct rd_softc),
>   rd_match,
>   rd_attach,
> Index: dev/softraid.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/softraid.c,v
> retrieving revision 1.397
> diff -u -p -r1.397 softraid.c
> --- dev/softraid.c 25 Jan 2020 21:48:42 -0000 1.397
> +++ dev/softraid.c 13 Feb 2020 09:37:16 -0000
> @@ -83,7 +83,7 @@ void sr_attach(struct device *, struct
>  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,
>  };
>  
> Index: dev/video.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/video.c,v
> retrieving revision 1.43
> diff -u -p -r1.43 video.c
> --- dev/video.c 16 Jan 2020 09:59:26 -0000 1.43
> +++ dev/video.c 13 Feb 2020 09:37:16 -0000
> @@ -69,7 +69,7 @@ int videoprint(void *, const char *);
>  
>  void video_intr(void *);
>  
> -struct cfattach video_ca = {
> +const struct cfattach video_ca = {
>   sizeof(struct video_softc), videoprobe, videoattach,
>   videodetach, videoactivate
>  };
> Index: dev/vscsi.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/vscsi.c,v
> retrieving revision 1.47
> diff -u -p -r1.47 vscsi.c
> --- dev/vscsi.c 5 Feb 2020 16:29:29 -0000 1.47
> +++ dev/vscsi.c 13 Feb 2020 09:37:16 -0000
> @@ -79,7 +79,7 @@ struct vscsi_softc {
>  #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
> Index: dev/acpi/acpiac.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpiac.c,v
> retrieving revision 1.31
> diff -u -p -r1.31 acpiac.c
> --- dev/acpi/acpiac.c 1 Jul 2018 19:40:49 -0000 1.31
> +++ dev/acpi/acpiac.c 13 Feb 2020 09:37:16 -0000
> @@ -38,7 +38,7 @@ int  acpiac_notify(struct aml_node *, in
>  void acpiac_refresh(void *);
>  int acpiac_getsta(struct acpiac_softc *);
>  
> -struct cfattach acpiac_ca = {
> +const struct cfattach acpiac_ca = {
>   sizeof(struct acpiac_softc), acpiac_match, acpiac_attach
>  };
>  
> Index: dev/acpi/acpiasus.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpiasus.c,v
> retrieving revision 1.19
> diff -u -p -r1.19 acpiasus.c
> --- dev/acpi/acpiasus.c 1 Jul 2018 19:40:49 -0000 1.19
> +++ dev/acpi/acpiasus.c 13 Feb 2020 09:37:16 -0000
> @@ -86,7 +86,7 @@ int acpiasus_activate(struct device *, i
>  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
>  };
> Index: dev/acpi/acpibat.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpibat.c,v
> retrieving revision 1.67
> diff -u -p -r1.67 acpibat.c
> --- dev/acpi/acpibat.c 1 Jul 2018 19:40:49 -0000 1.67
> +++ dev/acpi/acpibat.c 13 Feb 2020 09:37:16 -0000
> @@ -32,7 +32,7 @@
>  int acpibat_match(struct device *, void *, void *);
>  void acpibat_attach(struct device *, struct device *, void *);
>  
> -struct cfattach acpibat_ca = {
> +const struct cfattach acpibat_ca = {
>   sizeof(struct acpibat_softc), acpibat_match, acpibat_attach
>  };
>  
> Index: dev/acpi/acpibtn.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpibtn.c,v
> retrieving revision 1.47
> diff -u -p -r1.47 acpibtn.c
> --- dev/acpi/acpibtn.c 20 Jan 2019 02:45:44 -0000 1.47
> +++ dev/acpi/acpibtn.c 13 Feb 2020 09:37:16 -0000
> @@ -65,7 +65,7 @@ struct acpi_lid {
>  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
>  };
> Index: dev/acpi/acpicbkbd.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpicbkbd.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 acpicbkbd.c
> --- dev/acpi/acpicbkbd.c 27 Jul 2016 02:26:26 -0000 1.2
> +++ dev/acpi/acpicbkbd.c 13 Feb 2020 09:37:16 -0000
> @@ -52,7 +52,7 @@ void acpicbkbd_write_backlight(void *, i
>  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,
> Index: dev/acpi/acpicmos.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpicmos.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 acpicmos.c
> --- dev/acpi/acpicmos.c 27 Mar 2018 21:11:16 -0000 1.1
> +++ dev/acpi/acpicmos.c 13 Feb 2020 09:37:16 -0000
> @@ -32,7 +32,7 @@ struct acpicmos_softc {
>  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
>  };
>  
> Index: dev/acpi/acpicpu.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpicpu.c,v
> retrieving revision 1.84
> diff -u -p -r1.84 acpicpu.c
> --- dev/acpi/acpicpu.c 16 Oct 2019 01:27:59 -0000 1.84
> +++ dev/acpi/acpicpu.c 13 Feb 2020 09:37:16 -0000
> @@ -178,7 +178,7 @@ void    acpicpu_set_throttle(struct acpi
>  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
>  };
>  
> Index: dev/acpi/acpidock.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpidock.c,v
> retrieving revision 1.44
> diff -u -p -r1.44 acpidock.c
> --- dev/acpi/acpidock.c 14 Mar 2015 03:38:46 -0000 1.44
> +++ dev/acpi/acpidock.c 13 Feb 2020 09:37:16 -0000
> @@ -36,7 +36,7 @@ struct aml_nodelist {
>  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
>  };
>  
> Index: dev/acpi/acpiec.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpiec.c,v
> retrieving revision 1.60
> diff -u -p -r1.60 acpiec.c
> --- dev/acpi/acpiec.c 2 Jul 2019 21:17:24 -0000 1.60
> +++ dev/acpi/acpiec.c 13 Feb 2020 09:37:16 -0000
> @@ -79,7 +79,7 @@ int acpiec_reg(struct acpiec_softc *);
>  
>  extern char *hw_vendor, *hw_prod;
>  
> -struct cfattach acpiec_ca = {
> +const struct cfattach acpiec_ca = {
>   sizeof(struct acpiec_softc), acpiec_match, acpiec_attach
>  };
>  
> Index: dev/acpi/acpihpet.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpihpet.c,v
> retrieving revision 1.23
> diff -u -p -r1.23 acpihpet.c
> --- dev/acpi/acpihpet.c 29 Jun 2018 17:39:18 -0000 1.23
> +++ dev/acpi/acpihpet.c 13 Feb 2020 09:37:16 -0000
> @@ -70,7 +70,7 @@ struct acpihpet_softc {
>   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
>  };
> Index: dev/acpi/acpihve.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpihve.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 acpihve.c
> --- dev/acpi/acpihve.c 28 Apr 2018 15:44:59 -0000 1.2
> +++ dev/acpi/acpihve.c 13 Feb 2020 09:37:16 -0000
> @@ -36,7 +36,7 @@ struct acpihve_softc {
>   struct device sc_dev;
>  };
>  
> -struct cfattach acpihve_ca = {
> +const struct cfattach acpihve_ca = {
>   sizeof(struct acpihve_softc), acpihve_match, acpihve_attach
>  };
>  
> Index: dev/acpi/acpimadt.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpimadt.c,v
> retrieving revision 1.37
> diff -u -p -r1.37 acpimadt.c
> --- dev/acpi/acpimadt.c 29 Jun 2018 17:39:18 -0000 1.37
> +++ dev/acpi/acpimadt.c 13 Feb 2020 09:37:16 -0000
> @@ -43,7 +43,7 @@
>  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
>  };
>  
> Index: dev/acpi/acpimcfg.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpimcfg.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 acpimcfg.c
> --- dev/acpi/acpimcfg.c 19 Aug 2018 08:23:47 -0000 1.4
> +++ dev/acpi/acpimcfg.c 13 Feb 2020 09:37:16 -0000
> @@ -26,7 +26,7 @@
>  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
>  };
>  
> Index: dev/acpi/acpiprt.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpiprt.c,v
> retrieving revision 1.48
> diff -u -p -r1.48 acpiprt.c
> --- dev/acpi/acpiprt.c 25 Oct 2016 06:48:58 -0000 1.48
> +++ dev/acpi/acpiprt.c 13 Feb 2020 09:37:16 -0000
> @@ -72,7 +72,7 @@ struct acpiprt_softc {
>   int sc_bus;
>  };
>  
> -struct cfattach acpiprt_ca = {
> +const struct cfattach acpiprt_ca = {
>   sizeof(struct acpiprt_softc), acpiprt_match, acpiprt_attach
>  };
>  
> Index: dev/acpi/acpipwrres.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpipwrres.c,v
> retrieving revision 1.7
> diff -u -p -r1.7 acpipwrres.c
> --- dev/acpi/acpipwrres.c 14 Sep 2014 14:17:24 -0000 1.7
> +++ dev/acpi/acpipwrres.c 13 Feb 2020 09:37:16 -0000
> @@ -65,7 +65,7 @@ struct acpipwrres_consumer {
>   SIMPLEQ_ENTRY(acpipwrres_consumer) cs_next;
>  };
>  
> -struct cfattach acpipwrres_ca = {
> +const struct cfattach acpipwrres_ca = {
>   sizeof(struct acpipwrres_softc), acpipwrres_match, acpipwrres_attach
>  };
>  
> Index: dev/acpi/acpisony.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpisony.c,v
> retrieving revision 1.7
> diff -u -p -r1.7 acpisony.c
> --- dev/acpi/acpisony.c 28 Feb 2017 10:39:07 -0000 1.7
> +++ dev/acpi/acpisony.c 13 Feb 2020 09:37:16 -0000
> @@ -67,7 +67,7 @@ struct acpisony_softc {
>   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
>  };
> Index: dev/acpi/acpisurface.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpisurface.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 acpisurface.c
> --- dev/acpi/acpisurface.c 30 Jun 2018 18:15:12 -0000 1.1
> +++ dev/acpi/acpisurface.c 13 Feb 2020 09:37:16 -0000
> @@ -61,7 +61,7 @@ int surface_hotkey(struct aml_node *, in
>  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
>  };
> Index: dev/acpi/acpithinkpad.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpithinkpad.c,v
> retrieving revision 1.68
> diff -u -p -r1.68 acpithinkpad.c
> --- dev/acpi/acpithinkpad.c 31 Dec 2019 01:38:33 -0000 1.68
> +++ dev/acpi/acpithinkpad.c 13 Feb 2020 09:37:16 -0000
> @@ -189,7 +189,7 @@ extern int wskbd_set_mixermute(long, lon
>  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
>  };
> Index: dev/acpi/acpitimer.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpitimer.c,v
> retrieving revision 1.12
> diff -u -p -r1.12 acpitimer.c
> --- dev/acpi/acpitimer.c 6 Oct 2017 13:33:53 -0000 1.12
> +++ dev/acpi/acpitimer.c 13 Feb 2020 09:37:16 -0000
> @@ -46,7 +46,7 @@ struct acpitimer_softc {
>   bus_space_handle_t sc_ioh;
>  };
>  
> -struct cfattach acpitimer_ca = {
> +const struct cfattach acpitimer_ca = {
>   sizeof(struct acpitimer_softc), acpitimermatch, acpitimerattach
>  };
>  
> Index: dev/acpi/acpitoshiba.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpitoshiba.c,v
> retrieving revision 1.12
> diff -u -p -r1.12 acpitoshiba.c
> --- dev/acpi/acpitoshiba.c 13 Oct 2019 10:56:31 -0000 1.12
> +++ dev/acpi/acpitoshiba.c 13 Feb 2020 09:37:16 -0000
> @@ -111,7 +111,7 @@ int acpitoshiba_set_param(struct wsdispl
>  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
>  };
>  
> Index: dev/acpi/acpitz.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpitz.c,v
> retrieving revision 1.54
> diff -u -p -r1.54 acpitz.c
> --- dev/acpi/acpitz.c 29 Jun 2018 17:39:18 -0000 1.54
> +++ dev/acpi/acpitz.c 13 Feb 2020 09:37:16 -0000
> @@ -67,7 +67,7 @@ int acpitz_match(struct device *, void *
>  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
>  };
> Index: dev/acpi/acpivideo.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpivideo.c,v
> retrieving revision 1.12
> diff -u -p -r1.12 acpivideo.c
> --- dev/acpi/acpivideo.c 8 Feb 2020 19:08:17 -0000 1.12
> +++ dev/acpi/acpivideo.c 13 Feb 2020 09:37:16 -0000
> @@ -57,7 +57,7 @@ int acpivideo_print(void *, const char *
>  
>  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
>  };
>  
> Index: dev/acpi/acpivout.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpivout.c,v
> retrieving revision 1.19
> diff -u -p -r1.19 acpivout.c
> --- dev/acpi/acpivout.c 8 Feb 2020 19:08:17 -0000 1.19
> +++ dev/acpi/acpivout.c 13 Feb 2020 09:37:16 -0000
> @@ -77,7 +77,7 @@ void acpivout_get_bcl(struct acpivout_so
>  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
>  };
>  
> Index: dev/acpi/ahci_acpi.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/ahci_acpi.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 ahci_acpi.c
> --- dev/acpi/ahci_acpi.c 3 Aug 2018 22:18:13 -0000 1.2
> +++ dev/acpi/ahci_acpi.c 13 Feb 2020 09:37:16 -0000
> @@ -45,7 +45,7 @@ struct ahci_acpi_softc {
>  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
>  };
>  
> Index: dev/acpi/amdgpio.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/amdgpio.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 amdgpio.c
> --- dev/acpi/amdgpio.c 26 Jan 2020 00:11:42 -0000 1.2
> +++ dev/acpi/amdgpio.c 13 Feb 2020 09:37:16 -0000
> @@ -71,7 +71,7 @@ struct amdgpio_softc {
>  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
>  };
>  
> Index: dev/acpi/aplgpio.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/aplgpio.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 aplgpio.c
> --- dev/acpi/aplgpio.c 17 Jun 2019 18:28:18 -0000 1.1
> +++ dev/acpi/aplgpio.c 13 Feb 2020 09:37:16 -0000
> @@ -65,7 +65,7 @@ struct aplgpio_softc {
>  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
>  };
>  
> Index: dev/acpi/atk0110.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/atk0110.c,v
> retrieving revision 1.15
> diff -u -p -r1.15 atk0110.c
> --- dev/acpi/atk0110.c 29 Jun 2018 17:39:18 -0000 1.15
> +++ dev/acpi/atk0110.c 13 Feb 2020 09:37:16 -0000
> @@ -113,7 +113,7 @@ void aibs_probe(struct aibs_softc *);
>  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
>  };
>  
> Index: dev/acpi/bytgpio.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/bytgpio.c,v
> retrieving revision 1.13
> diff -u -p -r1.13 bytgpio.c
> --- dev/acpi/bytgpio.c 30 Apr 2018 18:47:48 -0000 1.13
> +++ dev/acpi/bytgpio.c 13 Feb 2020 09:37:16 -0000
> @@ -66,7 +66,7 @@ struct bytgpio_softc {
>  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
>  };
>  
> Index: dev/acpi/ccp_acpi.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/ccp_acpi.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 ccp_acpi.c
> --- dev/acpi/ccp_acpi.c 23 Apr 2019 18:34:06 -0000 1.1
> +++ dev/acpi/ccp_acpi.c 13 Feb 2020 09:37:16 -0000
> @@ -38,7 +38,7 @@ struct ccp_acpi_softc {
>  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
>  };
>  
> Index: dev/acpi/ccpmic.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/ccpmic.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 ccpmic.c
> --- dev/acpi/ccpmic.c 21 May 2018 15:00:25 -0000 1.2
> +++ dev/acpi/ccpmic.c 13 Feb 2020 09:37:16 -0000
> @@ -78,7 +78,7 @@ struct ccpmic_softc {
>  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
>  };
>  
> Index: dev/acpi/chvgpio.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/chvgpio.c,v
> retrieving revision 1.8
> diff -u -p -r1.8 chvgpio.c
> --- dev/acpi/chvgpio.c 29 Nov 2017 22:51:01 -0000 1.8
> +++ dev/acpi/chvgpio.c 13 Feb 2020 09:37:16 -0000
> @@ -111,7 +111,7 @@ chvgpio_write_pad_cfg1(struct chvgpio_so
>  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
>  };
>  
> Index: dev/acpi/com_acpi.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/com_acpi.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 com_acpi.c
> --- dev/acpi/com_acpi.c 1 Jul 2018 10:29:30 -0000 1.1
> +++ dev/acpi/com_acpi.c 13 Feb 2020 09:37:16 -0000
> @@ -49,7 +49,7 @@ struct com_acpi_softc {
>  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
>  };
>  
> Index: dev/acpi/dwiic_acpi.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/dwiic_acpi.c,v
> retrieving revision 1.12
> diff -u -p -r1.12 dwiic_acpi.c
> --- dev/acpi/dwiic_acpi.c 4 Aug 2019 15:44:17 -0000 1.12
> +++ dev/acpi/dwiic_acpi.c 13 Feb 2020 09:37:16 -0000
> @@ -57,7 +57,7 @@ void dwiic_acpi_power(struct dwiic_soft
>  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,
> Index: dev/acpi/glkgpio.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/glkgpio.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 glkgpio.c
> --- dev/acpi/glkgpio.c 24 Jun 2019 21:33:27 -0000 1.1
> +++ dev/acpi/glkgpio.c 13 Feb 2020 09:37:16 -0000
> @@ -65,7 +65,7 @@ struct glkgpio_softc {
>  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
>  };
>  
> Index: dev/acpi/ipmi_acpi.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/ipmi_acpi.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 ipmi_acpi.c
> --- dev/acpi/ipmi_acpi.c 6 Jan 2020 12:35:57 -0000 1.3
> +++ dev/acpi/ipmi_acpi.c 13 Feb 2020 09:37:16 -0000
> @@ -53,7 +53,7 @@ struct ipmi_acpi_softc {
>   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,
>  };
>  
> Index: dev/acpi/pluart_acpi.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/pluart_acpi.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 pluart_acpi.c
> --- dev/acpi/pluart_acpi.c 25 Aug 2018 09:39:20 -0000 1.3
> +++ dev/acpi/pluart_acpi.c 13 Feb 2020 09:37:16 -0000
> @@ -46,7 +46,7 @@ struct pluart_acpi_softc {
>  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
>  };
>  
> Index: dev/acpi/sdhc_acpi.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/sdhc_acpi.c,v
> retrieving revision 1.14
> diff -u -p -r1.14 sdhc_acpi.c
> --- dev/acpi/sdhc_acpi.c 2 Apr 2019 07:08:39 -0000 1.14
> +++ dev/acpi/sdhc_acpi.c 13 Feb 2020 09:37:16 -0000
> @@ -55,7 +55,7 @@ struct sdhc_acpi_softc {
>  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
>  };
>  
> Index: dev/acpi/tipmic.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/tipmic.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 tipmic.c
> --- dev/acpi/tipmic.c 9 Jan 2020 14:35:19 -0000 1.5
> +++ dev/acpi/tipmic.c 13 Feb 2020 09:37:16 -0000
> @@ -88,7 +88,7 @@ struct tipmic_softc {
>  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
>  };
>  
> Index: dev/acpi/tpm.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/tpm.c,v
> retrieving revision 1.9
> diff -u -p -r1.9 tpm.c
> --- dev/acpi/tpm.c 15 May 2019 21:28:21 -0000 1.9
> +++ dev/acpi/tpm.c 13 Feb 2020 09:37:16 -0000
> @@ -174,7 +174,7 @@ int tpm_getburst(struct tpm_softc *);
>  uint8_t tpm_status(struct tpm_softc *);
>  int tpm_tmotohz(int);
>  
> -struct cfattach tpm_ca = {
> +const struct cfattach tpm_ca = {
>   sizeof(struct tpm_softc),
>   tpm_match,
>   tpm_attach,
> Index: dev/acpi/xhci_acpi.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/xhci_acpi.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 xhci_acpi.c
> --- dev/acpi/xhci_acpi.c 2 Jul 2018 11:23:19 -0000 1.1
> +++ dev/acpi/xhci_acpi.c 13 Feb 2020 09:37:16 -0000
> @@ -52,7 +52,7 @@ struct xhci_acpi_softc {
>  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
>  };
>  
> Index: dev/adb/akbd.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/adb/akbd.c,v
> retrieving revision 1.14
> diff -u -p -r1.14 akbd.c
> --- dev/adb/akbd.c 26 Jan 2014 17:48:08 -0000 1.14
> +++ dev/adb/akbd.c 13 Feb 2020 09:37:16 -0000
> @@ -57,7 +57,7 @@ int akbdmatch(struct device *, void *, v
>  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 = {
> Index: dev/adb/ams.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/adb/ams.c,v
> retrieving revision 1.7
> diff -u -p -r1.7 ams.c
> --- dev/adb/ams.c 5 Jun 2016 20:02:36 -0000 1.7
> +++ dev/adb/ams.c 13 Feb 2020 09:37:16 -0000
> @@ -50,7 +50,7 @@ int amsmatch(struct device *, void *, vo
>  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. */
> Index: dev/ata/wd.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/ata/wd.c,v
> retrieving revision 1.127
> diff -u -p -r1.127 wd.c
> --- dev/ata/wd.c 23 Jan 2020 05:46:44 -0000 1.127
> +++ dev/ata/wd.c 13 Feb 2020 09:37:16 -0000
> @@ -122,7 +122,7 @@ int wddetach(struct device *, int);
>  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
>  };
> Index: dev/atapiscsi/atapiscsi.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/atapiscsi/atapiscsi.c,v
> retrieving revision 1.108
> diff -u -p -r1.108 atapiscsi.c
> --- dev/atapiscsi/atapiscsi.c 25 Jan 2020 21:48:42 -0000 1.108
> +++ dev/atapiscsi/atapiscsi.c 13 Feb 2020 09:37:16 -0000
> @@ -166,7 +166,7 @@ static struct scsi_adapter atapiscsi_swi
>  /* Inital 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
>  };
> Index: dev/cardbus/cardbus.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/cardbus/cardbus.c,v
> retrieving revision 1.52
> diff -u -p -r1.52 cardbus.c
> --- dev/cardbus/cardbus.c 30 Nov 2019 18:19:51 -0000 1.52
> +++ dev/cardbus/cardbus.c 13 Feb 2020 09:37:16 -0000
> @@ -80,7 +80,7 @@ STATIC void enable_function(struct cardb
>  STATIC void disable_function(struct cardbus_softc *, int);
>  
>  
> -struct cfattach cardbus_ca = {
> +const struct cfattach cardbus_ca = {
>   sizeof(struct cardbus_softc), cardbusmatch, cardbusattach
>  };
>  
> Index: dev/cardbus/cardslot.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/cardbus/cardslot.c,v
> retrieving revision 1.21
> diff -u -p -r1.21 cardslot.c
> --- dev/cardbus/cardslot.c 15 Sep 2016 02:00:17 -0000 1.21
> +++ dev/cardbus/cardslot.c 13 Feb 2020 09:37:16 -0000
> @@ -66,7 +66,7 @@ STATIC int cardslot_cb_print(void *aux,
>  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
>  };
>  
> Index: dev/cardbus/com_cardbus.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/cardbus/com_cardbus.c,v
> retrieving revision 1.43
> diff -u -p -r1.43 com_cardbus.c
> --- dev/cardbus/com_cardbus.c 14 Nov 2015 14:47:56 -0000 1.43
> +++ dev/cardbus/com_cardbus.c 13 Feb 2020 09:37:16 -0000
> @@ -93,7 +93,7 @@ struct csdev *com_cardbus_find_csdev(str
>  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
>  };
> Index: dev/cardbus/ehci_cardbus.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/cardbus/ehci_cardbus.c,v
> retrieving revision 1.22
> diff -u -p -r1.22 ehci_cardbus.c
> --- dev/cardbus/ehci_cardbus.c 11 Nov 2015 02:29:14 -0000 1.22
> +++ dev/cardbus/ehci_cardbus.c 13 Feb 2020 09:37:16 -0000
> @@ -61,7 +61,7 @@ struct ehci_cardbus_softc {
>   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
>  };
> Index: dev/cardbus/if_acx_cardbus.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/cardbus/if_acx_cardbus.c,v
> retrieving revision 1.22
> diff -u -p -r1.22 if_acx_cardbus.c
> --- dev/cardbus/if_acx_cardbus.c 24 Nov 2015 17:11:39 -0000 1.22
> +++ dev/cardbus/if_acx_cardbus.c 13 Feb 2020 09:37:16 -0000
> @@ -82,7 +82,7 @@ int acx_cardbus_match(struct device *, v
>  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
>  };
> Index: dev/cardbus/if_ath_cardbus.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/cardbus/if_ath_cardbus.c,v
> retrieving revision 1.19
> diff -u -p -r1.19 if_ath_cardbus.c
> --- dev/cardbus/if_ath_cardbus.c 24 Nov 2015 17:11:39 -0000 1.19
> +++ dev/cardbus/if_ath_cardbus.c 13 Feb 2020 09:37:16 -0000
> @@ -95,7 +95,7 @@ int ath_cardbus_match(struct device *, v
>  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,
> Index: dev/cardbus/if_athn_cardbus.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/cardbus/if_athn_cardbus.c,v
> retrieving revision 1.15
> diff -u -p -r1.15 if_athn_cardbus.c
> --- dev/cardbus/if_athn_cardbus.c 12 Jan 2017 16:32:28 -0000 1.15
> +++ dev/cardbus/if_athn_cardbus.c 13 Feb 2020 09:37:16 -0000
> @@ -81,7 +81,7 @@ uint32_t athn_cardbus_read(struct athn_s
>  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,
> Index: dev/cardbus/if_atw_cardbus.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/cardbus/if_atw_cardbus.c,v
> retrieving revision 1.24
> diff -u -p -r1.24 if_atw_cardbus.c
> --- dev/cardbus/if_atw_cardbus.c 24 Nov 2015 17:11:39 -0000 1.24
> +++ dev/cardbus/if_atw_cardbus.c 13 Feb 2020 09:37:16 -0000
> @@ -104,7 +104,7 @@ int atw_cardbus_match(struct device *, v
>  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
>  };
> Index: dev/cardbus/if_bwi_cardbus.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/cardbus/if_bwi_cardbus.c,v
> retrieving revision 1.15
> diff -u -p -r1.15 if_bwi_cardbus.c
> --- dev/cardbus/if_bwi_cardbus.c 6 Dec 2013 21:03:02 -0000 1.15
> +++ dev/cardbus/if_bwi_cardbus.c 13 Feb 2020 09:37:16 -0000
> @@ -70,7 +70,7 @@ void bwi_cardbus_disable(struct bwi_sof
>  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
>  };
> Index: dev/cardbus/if_dc_cardbus.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/cardbus/if_dc_cardbus.c,v
> retrieving revision 1.40
> diff -u -p -r1.40 if_dc_cardbus.c
> --- dev/cardbus/if_dc_cardbus.c 24 Nov 2015 17:11:39 -0000 1.40
> +++ dev/cardbus/if_dc_cardbus.c 13 Feb 2020 09:37:16 -0000
> @@ -87,7 +87,7 @@ int dc_cardbus_detach(struct device *, i
>  
>  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
>  };
> Index: dev/cardbus/if_fxp_cardbus.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/cardbus/if_fxp_cardbus.c,v
> retrieving revision 1.37
> diff -u -p -r1.37 if_fxp_cardbus.c
> --- dev/cardbus/if_fxp_cardbus.c 5 Jan 2020 01:07:58 -0000 1.37
> +++ dev/cardbus/if_fxp_cardbus.c 13 Feb 2020 09:37:16 -0000
> @@ -87,7 +87,7 @@ struct fxp_cardbus_softc {
>   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
>  };
> Index: dev/cardbus/if_malo_cardbus.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/cardbus/if_malo_cardbus.c,v
> retrieving revision 1.12
> diff -u -p -r1.12 if_malo_cardbus.c
> --- dev/cardbus/if_malo_cardbus.c 6 Dec 2013 21:03:02 -0000 1.12
> +++ dev/cardbus/if_malo_cardbus.c 13 Feb 2020 09:37:16 -0000
> @@ -65,7 +65,7 @@ void malo_cardbus_setup(struct malo_card
>  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
>  };
> Index: dev/cardbus/if_pgt_cardbus.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/cardbus/if_pgt_cardbus.c,v
> retrieving revision 1.18
> diff -u -p -r1.18 if_pgt_cardbus.c
> --- dev/cardbus/if_pgt_cardbus.c 11 Dec 2015 16:07:01 -0000 1.18
> +++ dev/cardbus/if_pgt_cardbus.c 13 Feb 2020 09:37:16 -0000
> @@ -72,7 +72,7 @@ void pgt_cardbus_disable(struct pgt_soft
>  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
>  };
> Index: dev/cardbus/if_ral_cardbus.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/cardbus/if_ral_cardbus.c,v
> retrieving revision 1.22
> diff -u -p -r1.22 if_ral_cardbus.c
> --- dev/cardbus/if_ral_cardbus.c 24 Nov 2015 17:11:39 -0000 1.22
> +++ dev/cardbus/if_ral_cardbus.c 13 Feb 2020 09:37:16 -0000
> @@ -108,7 +108,7 @@ void ral_cardbus_attach(struct device *,
>  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
> Index: dev/cardbus/if_re_cardbus.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/cardbus/if_re_cardbus.c,v
> retrieving revision 1.28
> diff -u -p -r1.28 if_re_cardbus.c
> --- dev/cardbus/if_re_cardbus.c 24 Nov 2015 17:11:39 -0000 1.28
> +++ dev/cardbus/if_re_cardbus.c 13 Feb 2020 09:37:16 -0000
> @@ -72,7 +72,7 @@ void re_cardbus_setup(struct rl_softc *)
>  /*
>   * 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,
> Index: dev/cardbus/if_rl_cardbus.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/cardbus/if_rl_cardbus.c,v
> retrieving revision 1.30
> diff -u -p -r1.30 if_rl_cardbus.c
> --- dev/cardbus/if_rl_cardbus.c 24 Nov 2015 17:11:39 -0000 1.30
> +++ dev/cardbus/if_rl_cardbus.c 13 Feb 2020 09:37:16 -0000
> @@ -119,7 +119,7 @@ static void rl_cardbus_attach(struct dev
>  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
>  };
> Index: dev/cardbus/if_rtw_cardbus.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/cardbus/if_rtw_cardbus.c,v
> retrieving revision 1.26
> diff -u -p -r1.26 if_rtw_cardbus.c
> --- dev/cardbus/if_rtw_cardbus.c 24 Nov 2015 17:11:39 -0000 1.26
> +++ dev/cardbus/if_rtw_cardbus.c 13 Feb 2020 09:37:16 -0000
> @@ -136,7 +136,7 @@ int rtw_cardbus_detach(struct device *,
>  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
>  };
> Index: dev/cardbus/if_xl_cardbus.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/cardbus/if_xl_cardbus.c,v
> retrieving revision 1.33
> diff -u -p -r1.33 if_xl_cardbus.c
> --- dev/cardbus/if_xl_cardbus.c 24 Nov 2015 17:11:39 -0000 1.33
> +++ dev/cardbus/if_xl_cardbus.c 13 Feb 2020 09:37:16 -0000
> @@ -94,7 +94,7 @@ struct xl_cardbus_softc {
>   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
>  };
> Index: dev/cardbus/ohci_cardbus.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/cardbus/ohci_cardbus.c,v
> retrieving revision 1.22
> diff -u -p -r1.22 ohci_cardbus.c
> --- dev/cardbus/ohci_cardbus.c 7 Jan 2019 03:41:06 -0000 1.22
> +++ dev/cardbus/ohci_cardbus.c 13 Feb 2020 09:37:16 -0000
> @@ -68,7 +68,7 @@ struct ohci_cardbus_softc {
>   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
>  };
> Index: dev/cardbus/puc_cardbus.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/cardbus/puc_cardbus.c,v
> retrieving revision 1.8
> diff -u -p -r1.8 puc_cardbus.c
> --- dev/cardbus/puc_cardbus.c 15 Nov 2011 22:27:53 -0000 1.8
> +++ dev/cardbus/puc_cardbus.c 13 Feb 2020 09:37:16 -0000
> @@ -47,7 +47,7 @@ const char *puc_cardbus_intr_string(stru
>  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
>  };
> Index: dev/cardbus/uhci_cardbus.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/cardbus/uhci_cardbus.c,v
> retrieving revision 1.15
> diff -u -p -r1.15 uhci_cardbus.c
> --- dev/cardbus/uhci_cardbus.c 14 Mar 2015 03:38:47 -0000 1.15
> +++ dev/cardbus/uhci_cardbus.c 13 Feb 2020 09:37:16 -0000
> @@ -59,7 +59,7 @@ struct uhci_cardbus_softc {
>   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
>  };
> Index: dev/eisa/ahc_eisa.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/eisa/ahc_eisa.c,v
> retrieving revision 1.21
> diff -u -p -r1.21 ahc_eisa.c
> --- dev/eisa/ahc_eisa.c 12 May 2012 21:54:39 -0000 1.21
> +++ dev/eisa/ahc_eisa.c 13 Feb 2020 09:37:16 -0000
> @@ -59,7 +59,7 @@ int   ahc_eisa_match(struct device *, vo
>  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
>  };
>  
> Index: dev/eisa/cac_eisa.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/eisa/cac_eisa.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 cac_eisa.c
> --- dev/eisa/cac_eisa.c 8 Sep 2017 05:36:52 -0000 1.5
> +++ dev/eisa/cac_eisa.c 13 Feb 2020 09:37:16 -0000
> @@ -91,7 +91,7 @@ void cac_eisa_l0_intr_enable(struct cac_
>  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
>  };
>  
> Index: dev/eisa/eisa.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/eisa/eisa.c,v
> retrieving revision 1.13
> diff -u -p -r1.13 eisa.c
> --- dev/eisa/eisa.c 29 Mar 2009 21:53:52 -0000 1.13
> +++ dev/eisa/eisa.c 13 Feb 2020 09:37:16 -0000
> @@ -52,7 +52,7 @@
>  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
>  };
>  
> Index: dev/eisa/if_ep_eisa.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/eisa/if_ep_eisa.c,v
> retrieving revision 1.26
> diff -u -p -r1.26 if_ep_eisa.c
> --- dev/eisa/if_ep_eisa.c 24 Nov 2015 17:11:39 -0000 1.26
> +++ dev/eisa/if_ep_eisa.c 13 Feb 2020 09:37:16 -0000
> @@ -72,7 +72,7 @@
>  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
>  };
>  
> Index: dev/eisa/uha_eisa.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/eisa/uha_eisa.c,v
> retrieving revision 1.14
> diff -u -p -r1.14 uha_eisa.c
> --- dev/eisa/uha_eisa.c 8 Sep 2017 05:36:52 -0000 1.14
> +++ dev/eisa/uha_eisa.c 13 Feb 2020 09:37:16 -0000
> @@ -54,7 +54,7 @@
>  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
>  };
>  
> Index: dev/fdt/acrtc.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/acrtc.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 acrtc.c
> --- dev/fdt/acrtc.c 20 Apr 2019 22:40:13 -0000 1.3
> +++ dev/fdt/acrtc.c 13 Feb 2020 09:37:16 -0000
> @@ -65,7 +65,7 @@ struct acrtc_softc {
>  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
>  };
>  
> Index: dev/fdt/ahci_fdt.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/ahci_fdt.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 ahci_fdt.c
> --- dev/fdt/ahci_fdt.c 4 Dec 2018 11:25:48 -0000 1.5
> +++ dev/fdt/ahci_fdt.c 13 Feb 2020 09:37:16 -0000
> @@ -39,7 +39,7 @@ int ahci_fdt_activate(struct device *, i
>  
>  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,
> Index: dev/fdt/amlclock.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/amlclock.c,v
> retrieving revision 1.9
> diff -u -p -r1.9 amlclock.c
> --- dev/fdt/amlclock.c 12 Jan 2020 22:00:23 -0000 1.9
> +++ dev/fdt/amlclock.c 13 Feb 2020 09:37:16 -0000
> @@ -142,7 +142,7 @@ struct amlclock_softc {
>  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
>  };
>  
> Index: dev/fdt/amldwusb.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/amldwusb.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 amldwusb.c
> --- dev/fdt/amldwusb.c 29 Aug 2019 17:20:03 -0000 1.1
> +++ dev/fdt/amldwusb.c 13 Feb 2020 09:37:16 -0000
> @@ -120,7 +120,7 @@ struct amldwusb_softc {
>  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
>  };
>  
> Index: dev/fdt/amliic.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/amliic.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 amliic.c
> --- dev/fdt/amliic.c 7 Oct 2019 18:54:03 -0000 1.1
> +++ dev/fdt/amliic.c 13 Feb 2020 09:37:16 -0000
> @@ -76,7 +76,7 @@ struct amliic_softc {
>  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
>  };
>  
> Index: dev/fdt/amlmmc.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/amlmmc.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 amlmmc.c
> --- dev/fdt/amlmmc.c 2 Sep 2019 08:21:15 -0000 1.4
> +++ dev/fdt/amlmmc.c 13 Feb 2020 09:37:16 -0000
> @@ -150,7 +150,7 @@ struct amlmmc_softc {
>  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
>  };
>  
> Index: dev/fdt/amlpciephy.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/amlpciephy.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 amlpciephy.c
> --- dev/fdt/amlpciephy.c 29 Aug 2019 17:20:03 -0000 1.1
> +++ dev/fdt/amlpciephy.c 13 Feb 2020 09:37:16 -0000
> @@ -59,7 +59,7 @@ struct amlpciephy_softc {
>  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
>  };
>  
> Index: dev/fdt/amlpinctrl.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/amlpinctrl.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 amlpinctrl.c
> --- dev/fdt/amlpinctrl.c 6 Oct 2019 16:17:06 -0000 1.5
> +++ dev/fdt/amlpinctrl.c 13 Feb 2020 09:37:16 -0000
> @@ -231,7 +231,7 @@ struct amlpinctrl_softc {
>  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
>  };
>  
> Index: dev/fdt/amlpwm.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/amlpwm.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 amlpwm.c
> --- dev/fdt/amlpwm.c 30 Sep 2019 20:42:45 -0000 1.1
> +++ dev/fdt/amlpwm.c 13 Feb 2020 09:37:16 -0000
> @@ -68,7 +68,7 @@ struct amlpwm_softc {
>  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
>  };
>  
> Index: dev/fdt/amlreset.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/amlreset.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 amlreset.c
> --- dev/fdt/amlreset.c 26 Aug 2019 09:42:31 -0000 1.1
> +++ dev/fdt/amlreset.c 13 Feb 2020 09:37:16 -0000
> @@ -52,7 +52,7 @@ struct amlreset_softc {
>  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
>  };
>  
> Index: dev/fdt/amlrng.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/amlrng.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 amlrng.c
> --- dev/fdt/amlrng.c 27 Aug 2019 22:21:52 -0000 1.1
> +++ dev/fdt/amlrng.c 13 Feb 2020 09:37:16 -0000
> @@ -44,7 +44,7 @@ struct amlrng_softc {
>  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
>  };
>  
> Index: dev/fdt/amlsm.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/amlsm.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 amlsm.c
> --- dev/fdt/amlsm.c 14 Jan 2020 20:43:20 -0000 1.1
> +++ dev/fdt/amlsm.c 13 Feb 2020 09:37:16 -0000
> @@ -54,7 +54,7 @@ struct amlsm_softc {
>  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
>  };
>  
> Index: dev/fdt/amltemp.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/amltemp.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 amltemp.c
> --- dev/fdt/amltemp.c 14 Jan 2020 16:56:32 -0000 1.1
> +++ dev/fdt/amltemp.c 13 Feb 2020 09:37:16 -0000
> @@ -71,7 +71,7 @@ struct amltemp_softc {
>  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
>  };
>  
> Index: dev/fdt/amluart.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/amluart.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 amluart.c
> --- dev/fdt/amluart.c 26 Aug 2019 09:10:22 -0000 1.1
> +++ dev/fdt/amluart.c 13 Feb 2020 09:37:16 -0000
> @@ -95,7 +95,7 @@ struct cfdriver amluart_cd = {
>   NULL, "amluart", DV_TTY
>  };
>  
> -struct cfattach amluart_ca = {
> +const struct cfattach amluart_ca = {
>   sizeof(struct amluart_softc), amluart_match, amluart_attach
>  };
>  
> Index: dev/fdt/amlusbphy.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/amlusbphy.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 amlusbphy.c
> --- dev/fdt/amlusbphy.c 29 Aug 2019 17:20:03 -0000 1.1
> +++ dev/fdt/amlusbphy.c 13 Feb 2020 09:37:16 -0000
> @@ -100,7 +100,7 @@ struct amlusbphy_softc {
>  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
>  };
>  
> Index: dev/fdt/axppmic.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/axppmic.c,v
> retrieving revision 1.9
> diff -u -p -r1.9 axppmic.c
> --- dev/fdt/axppmic.c 23 Jan 2020 10:01:41 -0000 1.9
> +++ dev/fdt/axppmic.c 13 Feb 2020 09:37:16 -0000
> @@ -346,7 +346,7 @@ void axppmic_attach_common(struct axppmi
>  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
>  };
>  
> @@ -422,7 +422,7 @@ axppmic_i2c_write(struct axppmic_softc *
>  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
>  };
>  
> Index: dev/fdt/bcm2835_aux.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/bcm2835_aux.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 bcm2835_aux.c
> --- dev/fdt/bcm2835_aux.c 29 Aug 2019 11:51:48 -0000 1.4
> +++ dev/fdt/bcm2835_aux.c 13 Feb 2020 09:37:16 -0000
> @@ -48,7 +48,7 @@ struct bcmaux_softc {
>  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
>  };
>  
> Index: dev/fdt/bcm2835_dog.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/bcm2835_dog.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 bcm2835_dog.c
> --- dev/fdt/bcm2835_dog.c 5 Sep 2019 16:58:36 -0000 1.2
> +++ dev/fdt/bcm2835_dog.c 13 Feb 2020 09:37:16 -0000
> @@ -64,7 +64,7 @@ int bcmdog_activate(struct device *, in
>  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
>  };
> Index: dev/fdt/bcm2835_rng.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/bcm2835_rng.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 bcm2835_rng.c
> --- dev/fdt/bcm2835_rng.c 28 Apr 2018 15:44:59 -0000 1.2
> +++ dev/fdt/bcm2835_rng.c 13 Feb 2020 09:37:16 -0000
> @@ -50,7 +50,7 @@ struct bcmrng_softc {
>  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
>  };
>  
> Index: dev/fdt/bcm2835_temp.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/bcm2835_temp.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 bcm2835_temp.c
> --- dev/fdt/bcm2835_temp.c 24 Feb 2018 11:06:59 -0000 1.1
> +++ dev/fdt/bcm2835_temp.c 13 Feb 2020 09:37:16 -0000
> @@ -52,7 +52,7 @@ struct bcmtemp_softc {
>  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
>  };
>  
> Index: dev/fdt/ccp_fdt.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/ccp_fdt.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 ccp_fdt.c
> --- dev/fdt/ccp_fdt.c 20 Apr 2018 04:37:21 -0000 1.1
> +++ dev/fdt/ccp_fdt.c 13 Feb 2020 09:37:16 -0000
> @@ -33,7 +33,7 @@
>  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
> Index: dev/fdt/com_fdt.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/com_fdt.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 com_fdt.c
> --- dev/fdt/com_fdt.c 6 Aug 2018 10:52:30 -0000 1.3
> +++ dev/fdt/com_fdt.c 13 Feb 2020 09:37:16 -0000
> @@ -39,7 +39,7 @@ int com_fdt_match(struct device *, void
>  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
>  };
>  
> Index: dev/fdt/dwdog.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/dwdog.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 dwdog.c
> --- dev/fdt/dwdog.c 29 Aug 2019 11:51:48 -0000 1.2
> +++ dev/fdt/dwdog.c 13 Feb 2020 09:37:16 -0000
> @@ -56,7 +56,7 @@ struct dwdog_softc {
>  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
>  };
>  
> Index: dev/fdt/dwmmc.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/dwmmc.c,v
> retrieving revision 1.23
> diff -u -p -r1.23 dwmmc.c
> --- dev/fdt/dwmmc.c 22 Jan 2020 11:56:41 -0000 1.23
> +++ dev/fdt/dwmmc.c 13 Feb 2020 09:37:16 -0000
> @@ -221,7 +221,7 @@ struct dwmmc_softc {
>  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
>  };
>  
> Index: dev/fdt/dwpcie.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/dwpcie.c,v
> retrieving revision 1.15
> diff -u -p -r1.15 dwpcie.c
> --- dev/fdt/dwpcie.c 26 Aug 2019 11:24:03 -0000 1.15
> +++ dev/fdt/dwpcie.c 13 Feb 2020 09:37:16 -0000
> @@ -185,7 +185,7 @@ struct dwpcie_softc {
>  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
>  };
>  
> Index: dev/fdt/ehci_fdt.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/ehci_fdt.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 ehci_fdt.c
> --- dev/fdt/ehci_fdt.c 11 Aug 2019 11:16:05 -0000 1.6
> +++ dev/fdt/ehci_fdt.c 13 Feb 2020 09:37:16 -0000
> @@ -50,7 +50,7 @@ int ehci_fdt_match(struct device *, void
>  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
>  };
> Index: dev/fdt/exrtc.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/exrtc.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 exrtc.c
> --- dev/fdt/exrtc.c 29 Aug 2019 11:51:48 -0000 1.3
> +++ dev/fdt/exrtc.c 13 Feb 2020 09:37:16 -0000
> @@ -55,7 +55,7 @@ struct exrtc_softc {
>  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
>  };
>  
> Index: dev/fdt/fanpwr.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/fanpwr.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 fanpwr.c
> --- dev/fdt/fanpwr.c 24 May 2019 18:54:12 -0000 1.3
> +++ dev/fdt/fanpwr.c 13 Feb 2020 09:37:16 -0000
> @@ -60,7 +60,7 @@ struct fanpwr_softc {
>  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
>  };
>  
> Index: dev/fdt/fusbtc.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/fusbtc.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 fusbtc.c
> --- dev/fdt/fusbtc.c 11 May 2019 14:43:27 -0000 1.1
> +++ dev/fdt/fusbtc.c 13 Feb 2020 09:37:16 -0000
> @@ -234,7 +234,7 @@ void fusbtc_clr_reg(struct fusbtc_softc
>  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,
> Index: dev/fdt/hiclock.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/hiclock.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 hiclock.c
> --- dev/fdt/hiclock.c 22 Apr 2019 12:43:13 -0000 1.2
> +++ dev/fdt/hiclock.c 13 Feb 2020 09:37:16 -0000
> @@ -52,7 +52,7 @@ struct hiclock_softc {
>  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
>  };
>  
> Index: dev/fdt/hidwusb.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/hidwusb.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 hidwusb.c
> --- dev/fdt/hidwusb.c 29 Aug 2019 11:51:48 -0000 1.2
> +++ dev/fdt/hidwusb.c 13 Feb 2020 09:37:16 -0000
> @@ -43,7 +43,7 @@ struct hidwusb_softc {
>  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
>  };
>  
> Index: dev/fdt/hireset.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/hireset.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 hireset.c
> --- dev/fdt/hireset.c 27 Aug 2018 14:12:59 -0000 1.1
> +++ dev/fdt/hireset.c 13 Feb 2020 09:37:16 -0000
> @@ -38,7 +38,7 @@ struct hireset_softc {
>  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
>  };
>  
> Index: dev/fdt/hitemp.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/hitemp.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 hitemp.c
> --- dev/fdt/hitemp.c 27 Aug 2018 21:09:47 -0000 1.1
> +++ dev/fdt/hitemp.c 13 Feb 2020 09:37:16 -0000
> @@ -54,7 +54,7 @@ struct hitemp_softc {
>  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
>  };
>  
> Index: dev/fdt/if_dwge.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/if_dwge.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 if_dwge.c
> --- dev/fdt/if_dwge.c 7 Oct 2019 00:40:04 -0000 1.2
> +++ dev/fdt/if_dwge.c 13 Feb 2020 09:37:16 -0000
> @@ -260,7 +260,7 @@ void dwge_attach(struct device *, struct
>  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
>  };
>  
> Index: dev/fdt/if_dwxe.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/if_dwxe.c,v
> retrieving revision 1.15
> diff -u -p -r1.15 if_dwxe.c
> --- dev/fdt/if_dwxe.c 7 Oct 2019 00:40:04 -0000 1.15
> +++ dev/fdt/if_dwxe.c 13 Feb 2020 09:37:16 -0000
> @@ -310,7 +310,7 @@ void dwxe_attach(struct device *, struct
>  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
>  };
>  
> Index: dev/fdt/if_fec.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/if_fec.c,v
> retrieving revision 1.8
> diff -u -p -r1.8 if_fec.c
> --- dev/fdt/if_fec.c 6 Feb 2019 22:59:06 -0000 1.8
> +++ dev/fdt/if_fec.c 13 Feb 2020 09:37:16 -0000
> @@ -269,7 +269,7 @@ void fec_dmamem_free(struct fec_softc *,
>  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
>  };
>  
> Index: dev/fdt/if_mvneta.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/if_mvneta.c,v
> retrieving revision 1.8
> diff -u -p -r1.8 if_mvneta.c
> --- dev/fdt/if_mvneta.c 7 Sep 2019 13:33:00 -0000 1.8
> +++ dev/fdt/if_mvneta.c 13 Feb 2020 09:37:16 -0000
> @@ -212,7 +212,7 @@ struct cfdriver mvneta_cd = {
>   NULL, "mvneta", DV_IFNET
>  };
>  
> -struct cfattach mvneta_ca = {
> +const struct cfattach mvneta_ca = {
>   sizeof (struct mvneta_softc), mvneta_match, mvneta_attach,
>  };
>  
> Index: dev/fdt/imxanatop.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/imxanatop.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 imxanatop.c
> --- dev/fdt/imxanatop.c 30 Aug 2018 12:14:30 -0000 1.5
> +++ dev/fdt/imxanatop.c 13 Feb 2020 09:37:16 -0000
> @@ -125,7 +125,7 @@ struct imxanatop_regulator {
>  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
>  };
>  
> Index: dev/fdt/imxccm.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/imxccm.c,v
> retrieving revision 1.15
> diff -u -p -r1.15 imxccm.c
> --- dev/fdt/imxccm.c 1 Apr 2019 08:49:35 -0000 1.15
> +++ dev/fdt/imxccm.c 13 Feb 2020 09:37:16 -0000
> @@ -211,7 +211,7 @@ struct imxccm_softc {
>  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
>  };
>  
> Index: dev/fdt/imxesdhc.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/imxesdhc.c,v
> retrieving revision 1.12
> diff -u -p -r1.12 imxesdhc.c
> --- dev/fdt/imxesdhc.c 13 Jan 2020 13:30:00 -0000 1.12
> +++ dev/fdt/imxesdhc.c 13 Feb 2020 09:37:16 -0000
> @@ -276,7 +276,7 @@ struct cfdriver imxesdhc_cd = {
>   NULL, "imxesdhc", DV_DULL
>  };
>  
> -struct cfattach imxesdhc_ca = {
> +const struct cfattach imxesdhc_ca = {
>   sizeof(struct imxesdhc_softc), imxesdhc_match, imxesdhc_attach
>  };
>  
> Index: dev/fdt/imxgpc.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/imxgpc.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 imxgpc.c
> --- dev/fdt/imxgpc.c 1 Apr 2019 08:40:37 -0000 1.5
> +++ dev/fdt/imxgpc.c 13 Feb 2020 09:37:16 -0000
> @@ -43,7 +43,7 @@ int imxgpc_match(struct device *, void *
>  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
>  };
>  
> Index: dev/fdt/imxgpio.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/imxgpio.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 imxgpio.c
> --- dev/fdt/imxgpio.c 8 Aug 2018 11:06:47 -0000 1.3
> +++ dev/fdt/imxgpio.c 13 Feb 2020 09:37:16 -0000
> @@ -86,7 +86,7 @@ void imxgpio_intr_enable(void *);
>  void imxgpio_intr_disable(void *);
>  
>  
> -struct cfattach imxgpio_ca = {
> +const struct cfattach imxgpio_ca = {
>   sizeof (struct imxgpio_softc), imxgpio_match, imxgpio_attach
>  };
>  
> Index: dev/fdt/imxiic.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/imxiic.c,v
> retrieving revision 1.8
> diff -u -p -r1.8 imxiic.c
> --- dev/fdt/imxiic.c 13 Jan 2020 13:28:40 -0000 1.8
> +++ dev/fdt/imxiic.c 13 Feb 2020 09:37:16 -0000
> @@ -90,7 +90,7 @@ int imxiic_i2c_exec(void *, i2c_op_t, i2
>  
>  void imxiic_scan(struct device *, struct i2cbus_attach_args *, void *);
>  
> -struct cfattach imxiic_ca = {
> +const struct cfattach imxiic_ca = {
>   sizeof(struct imxiic_softc), imxiic_match, imxiic_attach,
>   imxiic_detach
>  };
> Index: dev/fdt/imxiomuxc.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/imxiomuxc.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 imxiomuxc.c
> --- dev/fdt/imxiomuxc.c 23 Jul 2018 19:13:54 -0000 1.4
> +++ dev/fdt/imxiomuxc.c 13 Feb 2020 09:37:16 -0000
> @@ -49,7 +49,7 @@ struct imxiomuxc_softc *imxiomuxc_sc;
>  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
>  };
>  
> Index: dev/fdt/imxrtc.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/imxrtc.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 imxrtc.c
> --- dev/fdt/imxrtc.c 16 Jun 2018 14:11:35 -0000 1.1
> +++ dev/fdt/imxrtc.c 13 Feb 2020 09:37:16 -0000
> @@ -53,7 +53,7 @@ struct imxrtc_softc {
>  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
>  };
>  
> Index: dev/fdt/imxspi.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/imxspi.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 imxspi.c
> --- dev/fdt/imxspi.c 26 Jul 2018 10:59:07 -0000 1.1
> +++ dev/fdt/imxspi.c 13 Feb 2020 09:37:16 -0000
> @@ -127,7 +127,7 @@ void imxspi_scan(struct imxspi_softc *)
>  #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
>  };
> Index: dev/fdt/imxsrc.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/imxsrc.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 imxsrc.c
> --- dev/fdt/imxsrc.c 27 Oct 2019 19:19:10 -0000 1.4
> +++ dev/fdt/imxsrc.c 13 Feb 2020 09:37:16 -0000
> @@ -111,7 +111,7 @@ int imxsrc_match(struct device *, void *
>  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
>  };
>  
> Index: dev/fdt/imxtmu.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/imxtmu.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 imxtmu.c
> --- dev/fdt/imxtmu.c 27 Aug 2019 12:51:57 -0000 1.1
> +++ dev/fdt/imxtmu.c 13 Feb 2020 09:37:16 -0000
> @@ -68,7 +68,7 @@ int imxtmu_match(struct device *, void *
>  void imxtmu_attach(struct device *, struct device *, void *);
>  void imxtmu_refresh_sensors(void *);
>  
> -struct cfattach imxtmu_ca = {
> +const struct cfattach imxtmu_ca = {
>   sizeof(struct imxtmu_softc), imxtmu_match, imxtmu_attach
>  };
>  
> Index: dev/fdt/imxuart.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/imxuart.c,v
> retrieving revision 1.8
> diff -u -p -r1.8 imxuart.c
> --- dev/fdt/imxuart.c 19 Jul 2019 00:17:15 -0000 1.8
> +++ dev/fdt/imxuart.c 13 Feb 2020 09:37:16 -0000
> @@ -116,7 +116,7 @@ struct cfdriver imxuart_cd = {
>   NULL, "imxuart", DV_TTY
>  };
>  
> -struct cfattach imxuart_ca = {
> +const struct cfattach imxuart_ca = {
>   sizeof(struct imxuart_softc), imxuart_match, imxuart_attach
>  };
>  
> Index: dev/fdt/moxtet.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/moxtet.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 moxtet.c
> --- dev/fdt/moxtet.c 7 Oct 2019 19:35:07 -0000 1.1
> +++ dev/fdt/moxtet.c 13 Feb 2020 09:37:16 -0000
> @@ -56,7 +56,7 @@ int moxtet_detach(struct device *, int)
>  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
>  };
>  
> Index: dev/fdt/mvclock.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/mvclock.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 mvclock.c
> --- dev/fdt/mvclock.c 7 Oct 2019 19:28:43 -0000 1.5
> +++ dev/fdt/mvclock.c 13 Feb 2020 09:37:16 -0000
> @@ -48,7 +48,7 @@ struct mvclock_softc {
>  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
>  };
>  
> Index: dev/fdt/mvdog.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/mvdog.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 mvdog.c
> --- dev/fdt/mvdog.c 5 Sep 2019 18:38:30 -0000 1.1
> +++ dev/fdt/mvdog.c 13 Feb 2020 09:37:16 -0000
> @@ -52,7 +52,7 @@ struct mvdog_softc {
>  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
>  };
>  
> Index: dev/fdt/mvgicp.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/mvgicp.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 mvgicp.c
> --- dev/fdt/mvgicp.c 3 Feb 2019 14:03:36 -0000 1.1
> +++ dev/fdt/mvgicp.c 13 Feb 2020 09:37:16 -0000
> @@ -51,7 +51,7 @@ void * mvgicp_intr_establish(void *, uin
>      int, int (*)(void *), void *, char *);
>  void mvgicp_intr_disestablish(void *);
>  
> -struct cfattach mvgicp_ca = {
> +const struct cfattach mvgicp_ca = {
>   sizeof(struct mvgicp_softc), mvgicp_match, mvgicp_attach
>  };
>  
> Index: dev/fdt/mvgpio.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/mvgpio.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 mvgpio.c
> --- dev/fdt/mvgpio.c 20 Mar 2018 21:23:38 -0000 1.1
> +++ dev/fdt/mvgpio.c 13 Feb 2020 09:37:16 -0000
> @@ -54,7 +54,7 @@ struct mvgpio_softc {
>  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
>  };
>  
> Index: dev/fdt/mvicu.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/mvicu.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 mvicu.c
> --- dev/fdt/mvicu.c 3 Feb 2019 14:03:36 -0000 1.4
> +++ dev/fdt/mvicu.c 13 Feb 2020 09:37:16 -0000
> @@ -84,7 +84,7 @@ struct mvicu_softc {
>  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
>  };
>  
> Index: dev/fdt/mviic.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/mviic.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 mviic.c
> --- dev/fdt/mviic.c 7 Sep 2019 13:27:40 -0000 1.2
> +++ dev/fdt/mviic.c 13 Feb 2020 09:37:16 -0000
> @@ -90,7 +90,7 @@ void mviic_bus_scan(struct device *, str
>  #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
>  };
>  
> Index: dev/fdt/mvmdio.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/mvmdio.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 mvmdio.c
> --- dev/fdt/mvmdio.c 25 Aug 2017 20:09:34 -0000 1.1
> +++ dev/fdt/mvmdio.c 13 Feb 2020 09:37:16 -0000
> @@ -70,7 +70,7 @@ struct cfdriver mvmdio_cd = {
>   NULL, "mvmdio", DV_DULL
>  };
>  
> -struct cfattach mvmdio_ca = {
> +const struct cfattach mvmdio_ca = {
>   sizeof (struct mvmdio_softc), mvmdio_match, mvmdio_attach,
>  };
>  
> Index: dev/fdt/mvpinctrl.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/mvpinctrl.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 mvpinctrl.c
> --- dev/fdt/mvpinctrl.c 30 Apr 2019 20:06:32 -0000 1.6
> +++ dev/fdt/mvpinctrl.c 13 Feb 2020 09:37:16 -0000
> @@ -70,7 +70,7 @@ void mvpinctrl_config_pin(void *, uint32
>  int mvpinctrl_get_pin(void *, uint32_t *);
>  void mvpinctrl_set_pin(void *, uint32_t *, int);
>  
> -struct cfattach mvpinctrl_ca = {
> +const struct cfattach mvpinctrl_ca = {
>   sizeof (struct mvpinctrl_softc), mvpinctrl_match, mvpinctrl_attach
>  };
>  
> Index: dev/fdt/mvrng.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/mvrng.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 mvrng.c
> --- dev/fdt/mvrng.c 28 Apr 2018 15:44:59 -0000 1.2
> +++ dev/fdt/mvrng.c 13 Feb 2020 09:37:16 -0000
> @@ -66,7 +66,7 @@ struct mvrng_softc {
>  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
>  };
>  
> Index: dev/fdt/mvrtc.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/mvrtc.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 mvrtc.c
> --- dev/fdt/mvrtc.c 29 Mar 2018 18:20:52 -0000 1.1
> +++ dev/fdt/mvrtc.c 13 Feb 2020 09:37:16 -0000
> @@ -60,7 +60,7 @@ struct mvrtc_softc {
>  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
>  };
>  
> Index: dev/fdt/mvspi.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/mvspi.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 mvspi.c
> --- dev/fdt/mvspi.c 7 Oct 2019 19:30:12 -0000 1.1
> +++ dev/fdt/mvspi.c 13 Feb 2020 09:37:16 -0000
> @@ -86,7 +86,7 @@ void mvspi_scan(struct mvspi_softc *);
>  #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
>  };
>  
> Index: dev/fdt/mvtemp.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/mvtemp.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 mvtemp.c
> --- dev/fdt/mvtemp.c 31 Mar 2018 16:35:15 -0000 1.1
> +++ dev/fdt/mvtemp.c 13 Feb 2020 09:37:16 -0000
> @@ -50,7 +50,7 @@ struct mvtemp_softc {
>  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
>  };
>  
> Index: dev/fdt/mvuart.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/mvuart.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 mvuart.c
> --- dev/fdt/mvuart.c 19 Jul 2019 00:17:15 -0000 1.2
> +++ dev/fdt/mvuart.c 13 Feb 2020 09:37:16 -0000
> @@ -117,7 +117,7 @@ struct cfdriver mvuart_cd = {
>   NULL, "mvuart", DV_TTY
>  };
>  
> -struct cfattach mvuart_ca = {
> +const struct cfattach mvuart_ca = {
>   sizeof(struct mvuart_softc), mvuart_match, mvuart_attach
>  };
>  
> Index: dev/fdt/ohci_fdt.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/ohci_fdt.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 ohci_fdt.c
> --- dev/fdt/ohci_fdt.c 7 Jan 2019 03:41:06 -0000 1.2
> +++ dev/fdt/ohci_fdt.c 13 Feb 2020 09:37:16 -0000
> @@ -50,7 +50,7 @@ int ohci_fdt_match(struct device *, void
>  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,
> Index: dev/fdt/pinctrl.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/pinctrl.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 pinctrl.c
> --- dev/fdt/pinctrl.c 23 Apr 2019 18:32:26 -0000 1.3
> +++ dev/fdt/pinctrl.c 13 Feb 2020 09:37:16 -0000
> @@ -50,7 +50,7 @@ struct pinctrl_softc {
>  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
>  };
>  
> Index: dev/fdt/plgpio.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/plgpio.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 plgpio.c
> --- dev/fdt/plgpio.c 26 Aug 2018 16:52:16 -0000 1.1
> +++ dev/fdt/plgpio.c 13 Feb 2020 09:37:16 -0000
> @@ -51,7 +51,7 @@ struct plgpio_softc {
>  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
>  };
>  
> Index: dev/fdt/plrtc.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/plrtc.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 plrtc.c
> --- dev/fdt/plrtc.c 25 Jan 2017 10:14:40 -0000 1.1
> +++ dev/fdt/plrtc.c 13 Feb 2020 09:37:16 -0000
> @@ -53,7 +53,7 @@ int plrtc_gettime(struct todr_chip_handl
>  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
>  };
>  
> Index: dev/fdt/pluart_fdt.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/pluart_fdt.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 pluart_fdt.c
> --- dev/fdt/pluart_fdt.c 22 Apr 2019 10:18:20 -0000 1.3
> +++ dev/fdt/pluart_fdt.c 13 Feb 2020 09:37:16 -0000
> @@ -32,7 +32,7 @@
>  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
>  };
>  
> Index: dev/fdt/psci.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/psci.c,v
> retrieving revision 1.8
> diff -u -p -r1.8 psci.c
> --- dev/fdt/psci.c 23 May 2018 09:12:34 -0000 1.8
> +++ dev/fdt/psci.c 13 Feb 2020 09:37:16 -0000
> @@ -73,7 +73,7 @@ int32_t smccc_arch_features(uint32_t);
>  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
>  };
>  
> Index: dev/fdt/pwmbl.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/pwmbl.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 pwmbl.c
> --- dev/fdt/pwmbl.c 28 Jan 2020 14:09:31 -0000 1.4
> +++ dev/fdt/pwmbl.c 13 Feb 2020 09:37:16 -0000
> @@ -46,7 +46,7 @@ struct pwmbl_softc *sc_pwmbl;
>  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
>  };
>  
> Index: dev/fdt/pwmfan.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/pwmfan.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 pwmfan.c
> --- dev/fdt/pwmfan.c 3 Dec 2019 09:12:45 -0000 1.1
> +++ dev/fdt/pwmfan.c 13 Feb 2020 09:37:16 -0000
> @@ -44,7 +44,7 @@ struct pwmfan_softc {
>  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
>  };
>  
> Index: dev/fdt/pwmreg.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/pwmreg.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 pwmreg.c
> --- dev/fdt/pwmreg.c 30 Sep 2019 20:44:13 -0000 1.1
> +++ dev/fdt/pwmreg.c 13 Feb 2020 09:37:16 -0000
> @@ -41,7 +41,7 @@ struct pwmreg_softc {
>  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
>  };
>  
> Index: dev/fdt/rkclock.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/rkclock.c,v
> retrieving revision 1.50
> diff -u -p -r1.50 rkclock.c
> --- dev/fdt/rkclock.c 10 Feb 2020 12:41:34 -0000 1.50
> +++ dev/fdt/rkclock.c 13 Feb 2020 09:37:16 -0000
> @@ -178,7 +178,7 @@ struct rkclock_softc {
>  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
>  };
>  
> Index: dev/fdt/rkdwusb.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/rkdwusb.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 rkdwusb.c
> --- dev/fdt/rkdwusb.c 29 Aug 2019 11:51:48 -0000 1.3
> +++ dev/fdt/rkdwusb.c 13 Feb 2020 09:37:16 -0000
> @@ -35,7 +35,7 @@ struct rkdwusb_softc {
>  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
>  };
>  
> Index: dev/fdt/rkemmcphy.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/rkemmcphy.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 rkemmcphy.c
> --- dev/fdt/rkemmcphy.c 11 Jan 2020 10:32:16 -0000 1.2
> +++ dev/fdt/rkemmcphy.c 13 Feb 2020 09:37:16 -0000
> @@ -75,7 +75,7 @@ struct rkemmcphy_softc {
>  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
>  };
>  
> Index: dev/fdt/rkgpio.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/rkgpio.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 rkgpio.c
> --- dev/fdt/rkgpio.c 11 May 2019 14:56:12 -0000 1.2
> +++ dev/fdt/rkgpio.c 13 Feb 2020 09:37:16 -0000
> @@ -83,7 +83,7 @@ struct rkgpio_softc {
>  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
>  };
>  
> Index: dev/fdt/rkgrf.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/rkgrf.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 rkgrf.c
> --- dev/fdt/rkgrf.c 29 Nov 2019 21:59:55 -0000 1.3
> +++ dev/fdt/rkgrf.c 13 Feb 2020 09:37:16 -0000
> @@ -42,7 +42,7 @@ struct rkgrf_softc {
>  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
>  };
>  
> Index: dev/fdt/rkiic.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/rkiic.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 rkiic.c
> --- dev/fdt/rkiic.c 31 Dec 2018 21:59:44 -0000 1.4
> +++ dev/fdt/rkiic.c 13 Feb 2020 09:37:16 -0000
> @@ -86,7 +86,7 @@ struct rkiic_softc {
>  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
>  };
>  
> Index: dev/fdt/rkpcie.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/rkpcie.c,v
> retrieving revision 1.9
> diff -u -p -r1.9 rkpcie.c
> --- dev/fdt/rkpcie.c 14 Dec 2019 17:42:48 -0000 1.9
> +++ dev/fdt/rkpcie.c 13 Feb 2020 09:37:16 -0000
> @@ -112,7 +112,7 @@ struct rkpcie_softc {
>  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
>  };
>  
> Index: dev/fdt/rkpinctrl.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/rkpinctrl.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 rkpinctrl.c
> --- dev/fdt/rkpinctrl.c 25 Feb 2018 13:26:44 -0000 1.5
> +++ dev/fdt/rkpinctrl.c 13 Feb 2020 09:37:16 -0000
> @@ -56,7 +56,7 @@ struct rkpinctrl_softc {
>  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
>  };
>  
> Index: dev/fdt/rkpmic.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/rkpmic.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 rkpmic.c
> --- dev/fdt/rkpmic.c 31 Jul 2018 10:09:25 -0000 1.6
> +++ dev/fdt/rkpmic.c 13 Feb 2020 09:37:16 -0000
> @@ -87,7 +87,7 @@ struct rkpmic_softc {
>  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
>  };
>  
> Index: dev/fdt/rkpwm.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/rkpwm.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 rkpwm.c
> --- dev/fdt/rkpwm.c 3 Dec 2019 09:08:48 -0000 1.1
> +++ dev/fdt/rkpwm.c 13 Feb 2020 09:37:16 -0000
> @@ -62,7 +62,7 @@ struct rkpwm_softc {
>  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
>  };
>  
> Index: dev/fdt/rktemp.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/rktemp.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 rktemp.c
> --- dev/fdt/rktemp.c 2 Jul 2019 20:14:44 -0000 1.5
> +++ dev/fdt/rktemp.c 13 Feb 2020 09:37:16 -0000
> @@ -213,7 +213,7 @@ struct rktemp_softc {
>  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
>  };
>  
> Index: dev/fdt/sdhc_fdt.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/sdhc_fdt.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 sdhc_fdt.c
> --- dev/fdt/sdhc_fdt.c 29 Nov 2019 22:02:16 -0000 1.4
> +++ dev/fdt/sdhc_fdt.c 13 Feb 2020 09:37:16 -0000
> @@ -55,7 +55,7 @@ struct sdhc_fdt_softc {
>  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
>  };
>  
> Index: dev/fdt/sfp.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/sfp.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 sfp.c
> --- dev/fdt/sfp.c 7 Sep 2019 13:32:36 -0000 1.1
> +++ dev/fdt/sfp.c 13 Feb 2020 09:37:16 -0000
> @@ -44,7 +44,7 @@ int sfp_detach(struct device *, 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,
>  };
>  
> Index: dev/fdt/simplefb.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/simplefb.c,v
> retrieving revision 1.8
> diff -u -p -r1.8 simplefb.c
> --- dev/fdt/simplefb.c 22 Jan 2020 05:25:05 -0000 1.8
> +++ dev/fdt/simplefb.c 13 Feb 2020 09:37:16 -0000
> @@ -79,7 +79,7 @@ struct wsdisplay_charcell simplefb_bs[SI
>  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
>  };
>  
> Index: dev/fdt/simplepanel.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/simplepanel.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 simplepanel.c
> --- dev/fdt/simplepanel.c 26 Jan 2020 06:20:30 -0000 1.1
> +++ dev/fdt/simplepanel.c 13 Feb 2020 09:37:16 -0000
> @@ -31,7 +31,7 @@
>  int simplepanel_match(struct device *, void *, void *);
>  void simplepanel_attach(struct device *, struct device *, void *);
>  
> -struct cfattach simplepanel_ca = {
> +const struct cfattach simplepanel_ca = {
>   sizeof (struct device), simplepanel_match, simplepanel_attach
>  };
>  
> Index: dev/fdt/ssdfb.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/ssdfb.c,v
> retrieving revision 1.10
> diff -u -p -r1.10 ssdfb.c
> --- dev/fdt/ssdfb.c 22 Feb 2019 09:39:33 -0000 1.10
> +++ dev/fdt/ssdfb.c 13 Feb 2020 09:37:16 -0000
> @@ -143,14 +143,14 @@ int ssdfb_copyrows(void *, int, int, in
>  int ssdfb_eraserows(void *, int, int, long);
>  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,
> Index: dev/fdt/sxiccmu.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/sxiccmu.c,v
> retrieving revision 1.26
> diff -u -p -r1.26 sxiccmu.c
> --- dev/fdt/sxiccmu.c 21 Sep 2019 15:01:26 -0000 1.26
> +++ dev/fdt/sxiccmu.c 13 Feb 2020 09:37:16 -0000
> @@ -75,7 +75,7 @@ struct sxiccmu_softc {
>  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
>  };
>  
> Index: dev/fdt/sxidog.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/sxidog.c,v
> retrieving revision 1.2
> diff -u -p -r1.2 sxidog.c
> --- dev/fdt/sxidog.c 17 Oct 2019 22:26:32 -0000 1.2
> +++ dev/fdt/sxidog.c 13 Feb 2020 09:37:16 -0000
> @@ -65,7 +65,7 @@ int sxidog_activate(struct device *, int
>  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
>  };
> Index: dev/fdt/sximmc.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/sximmc.c,v
> retrieving revision 1.11
> diff -u -p -r1.11 sximmc.c
> --- dev/fdt/sximmc.c 11 Jan 2020 01:18:29 -0000 1.11
> +++ dev/fdt/sximmc.c 13 Feb 2020 09:37:16 -0000
> @@ -277,7 +277,7 @@ struct cfdriver sximmc_cd = {
>   NULL, "sximmc", DV_DULL
>  };
>  
> -struct cfattach sximmc_ca = {
> +const struct cfattach sximmc_ca = {
>   sizeof(struct sximmc_softc), sximmc_match, sximmc_attach
>  };
>  
> Index: dev/fdt/sxipio.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/sxipio.c,v
> retrieving revision 1.11
> diff -u -p -r1.11 sxipio.c
> --- dev/fdt/sxipio.c 5 Sep 2019 12:00:09 -0000 1.11
> +++ dev/fdt/sxipio.c 13 Feb 2020 09:37:16 -0000
> @@ -94,7 +94,7 @@ struct sxipio_softc {
>  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
>  };
>  
> Index: dev/fdt/sxipwm.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/sxipwm.c,v
> retrieving revision 1.1
> diff -u -p -r1.1 sxipwm.c
> --- dev/fdt/sxipwm.c 21 Oct 2019 20:52:33 -0000 1.1
> +++ dev/fdt/sxipwm.c 13 Feb 2020 09:37:16 -0000
> @@ -79,7 +79,7 @@ struct sxipwm_softc {
>  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
>  };
>  
> Index: dev/fdt/sxirsb.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/fdt/sxirsb.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 sxirsb.c
> --- dev/fdt/sxirsb.c 29 Aug 2019 11:51:48 -0000 1.3
> +++ dev/fdt/sxirsb.c 13 Feb 2020 09:37:16 -0000
> @@ -77,7