-/* $OpenBSD: auxio.c,v 1.8 2019/12/05 12:46:54 mpi Exp $ */
+/* $OpenBSD: auxio.c,v 1.9 2021/10/24 17:05:03 mpi Exp $ */
/* $NetBSD: auxio.c,v 1.1 2000/04/15 03:08:13 mrg Exp $ */
/*
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
};
-/* $OpenBSD: bbc.c,v 1.3 2008/12/14 17:10:44 kettenis Exp $ */
+/* $OpenBSD: bbc.c,v 1.4 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2007 Mark Kettenis
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
};
-/* $OpenBSD: beep.c,v 1.9 2019/06/22 20:30:42 kn Exp $ */
+/* $OpenBSD: beep.c,v 1.10 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2006 Jason L. Wright (jason@thought.net)
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
};
-/* $OpenBSD: beeper.c,v 1.13 2019/06/22 20:30:42 kn Exp $ */
+/* $OpenBSD: beeper.c,v 1.14 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2001 Jason L. Wright (jason@thought.net)
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
};
-/* $OpenBSD: cbus.c,v 1.16 2016/12/20 13:40:50 jsg Exp $ */
+/* $OpenBSD: cbus.c,v 1.17 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
*
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
};
-/* $OpenBSD: ce4231.c,v 1.36 2018/12/27 11:06:38 claudio Exp $ */
+/* $OpenBSD: ce4231.c,v 1.37 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
ce4231_trigger_input
};
-struct cfattach audioce_ca = {
+const struct cfattach audioce_ca = {
sizeof (struct ce4231_softc), ce4231_match, ce4231_attach
};
-/* $OpenBSD: central.c,v 1.10 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: central.c,v 1.11 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2004 Jason L. Wright (jason@thought.net)
return (EINVAL);
}
-struct cfattach central_ca = {
+const struct cfattach central_ca = {
sizeof(struct central_softc), central_match, central_attach
};
-/* $OpenBSD: clkbrd.c,v 1.6 2008/01/20 16:41:17 kettenis Exp $ */
+/* $OpenBSD: clkbrd.c,v 1.7 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2004 Jason L. Wright (jason@thought.net)
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
};
-/* $OpenBSD: cmp.c,v 1.2 2008/07/11 13:47:20 kettenis Exp $ */
+/* $OpenBSD: cmp.c,v 1.3 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
*
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
};
-/* $OpenBSD: com_ebus.c,v 1.24 2021/01/19 21:52:59 dlg Exp $ */
+/* $OpenBSD: com_ebus.c,v 1.25 2021/10/24 17:05:03 mpi Exp $ */
/* $NetBSD: com_ebus.c,v 1.6 2001/07/24 19:27:10 eeh Exp $ */
/*
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
};
-/* $OpenBSD: comkbd_ebus.c,v 1.23 2018/12/27 11:06:38 claudio Exp $ */
+/* $OpenBSD: comkbd_ebus.c,v 1.24 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
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
};
-/* $OpenBSD: core.c,v 1.1 2008/07/11 14:23:53 kettenis Exp $ */
+/* $OpenBSD: core.c,v 1.2 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
*
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
};
-/* $OpenBSD: creator.c,v 1.53 2020/05/25 09:55:48 jsg Exp $ */
+/* $OpenBSD: creator.c,v 1.54 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
NULL, "creator", DV_DULL
};
-struct cfattach creator_ca = {
+const struct cfattach creator_ca = {
sizeof(struct creator_softc), creator_match, creator_attach
};
-/* $OpenBSD: ebus.c,v 1.25 2019/12/05 12:46:54 mpi Exp $ */
+/* $OpenBSD: ebus.c,v 1.26 2021/10/24 17:05:03 mpi Exp $ */
/* $NetBSD: ebus.c,v 1.24 2001/07/25 03:49:54 eeh Exp $ */
/*
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
};
-/* $OpenBSD: ebus_mainbus.c,v 1.11 2021/03/11 11:17:00 jsg Exp $ */
+/* $OpenBSD: ebus_mainbus.c,v 1.12 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2007 Mark Kettenis
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
};
-/* $OpenBSD: environ.c,v 1.1 2008/01/18 20:12:38 kettenis Exp $ */
+/* $OpenBSD: environ.c,v 1.2 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
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
};
-/* $OpenBSD: fd.c,v 1.51 2020/02/20 02:05:18 cheloha Exp $ */
+/* $OpenBSD: fd.c,v 1.52 2021/10/24 17:05:03 mpi Exp $ */
/* $NetBSD: fd.c,v 1.112 2003/08/07 16:29:35 agc Exp $ */
/*-
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
};
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
};
-/* $OpenBSD: fhc_central.c,v 1.6 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: fhc_central.c,v 1.7 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2004 Jason L. Wright (jason@thought.net).
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
};
-/* $OpenBSD: fhc_mainbus.c,v 1.5 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: fhc_mainbus.c,v 1.6 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2004 Jason L. Wright (jason@thought.net).
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
};
-/* $OpenBSD: gfb.c,v 1.2 2013/10/20 20:07:27 miod Exp $ */
+/* $OpenBSD: gfb.c,v 1.3 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis.
NULL, "gfb", DV_DULL
};
-struct cfattach gfb_ca = {
+const struct cfattach gfb_ca = {
sizeof(struct gfb_softc), gfb_match, gfb_attach
};
-/* $OpenBSD: gfxp.c,v 1.14 2020/05/25 09:55:48 jsg Exp $ */
+/* $OpenBSD: gfxp.c,v 1.15 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis.
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
};
-/* $OpenBSD: ifb.c,v 1.24 2021/03/11 11:17:00 jsg Exp $ */
+/* $OpenBSD: ifb.c,v 1.25 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 Miodrag Vallat.
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
};
-/* $OpenBSD: led.c,v 1.2 2019/06/21 08:12:35 kn Exp $ */
+/* $OpenBSD: led.c,v 1.3 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2007 Mark Kettenis
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
};
-/* $OpenBSD: lom.c,v 1.27 2019/10/12 15:55:31 cheloha Exp $ */
+/* $OpenBSD: lom.c,v 1.28 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis
*
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
};
-/* $OpenBSD: lpt_ebus.c,v 1.10 2019/12/05 12:46:54 mpi Exp $ */
+/* $OpenBSD: lpt_ebus.c,v 1.11 2021/10/24 17:05:03 mpi Exp $ */
/* $NetBSD: lpt_ebus.c,v 1.8 2002/03/01 11:51:00 martin Exp $ */
/*
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
};
-/* $OpenBSD: machfb.c,v 1.11 2020/05/25 09:55:48 jsg Exp $ */
+/* $OpenBSD: machfb.c,v 1.12 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis.
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
};
-/* $OpenBSD: mgiic.c,v 1.3 2015/05/07 00:00:52 jsg Exp $ */
+/* $OpenBSD: mgiic.c,v 1.4 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2008 Theo de Raadt <deraadt@openbsd.org>
*
NULL, "mgiic", DV_DULL
};
-struct cfattach mgiic_ca = {
+const struct cfattach mgiic_ca = {
sizeof(struct mgiic_softc), mgiic_match, mgiic_attach
};
-/* $OpenBSD: pcf8591_envctrl.c,v 1.6 2007/10/25 21:17:20 kettenis Exp $ */
+/* $OpenBSD: pcf8591_envctrl.c,v 1.7 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2006 Damien Miller <djm@openbsd.org>
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
};
-/* $OpenBSD: pcf8591_ofw.c,v 1.5 2007/10/22 20:53:10 cnst Exp $ */
+/* $OpenBSD: pcf8591_ofw.c,v 1.6 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2006 Damien Miller <djm@openbsd.org>
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
};
-/* $OpenBSD: pcfiic_ebus.c,v 1.14 2021/03/11 11:17:00 jsg Exp $ */
+/* $OpenBSD: pcfiic_ebus.c,v 1.15 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2006 David Gwynne <dlg@openbsd.org>
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
};
-/* $OpenBSD: pckbc_ebus.c,v 1.14 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: pckbc_ebus.c,v 1.15 2021/10/24 17:05:03 mpi Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
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
};
-/* $OpenBSD: pcons.c,v 1.25 2020/05/25 09:55:48 jsg Exp $ */
+/* $OpenBSD: pcons.c,v 1.26 2021/10/24 17:05:04 mpi Exp $ */
/* $NetBSD: pcons.c,v 1.7 2001/05/02 10:32:20 scw Exp $ */
/*-
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
};
-/* $OpenBSD: pmc.c,v 1.4 2014/12/10 12:27:57 mikeb Exp $ */
+/* $OpenBSD: pmc.c,v 1.5 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2007 Mark Kettenis
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
};
-/* $OpenBSD: power.c,v 1.8 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: power.c,v 1.9 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2006 Jason L. Wright (jason@thought.net)
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
};
-/* $OpenBSD: ppm.c,v 1.2 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: ppm.c,v 1.3 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2006 Jason L. Wright (jason@thought.net)
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
};
-/* $OpenBSD: prtc.c,v 1.5 2018/08/29 02:03:12 dlg Exp $ */
+/* $OpenBSD: prtc.c,v 1.6 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
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
};
-/* $OpenBSD: psycho.c,v 1.78 2021/02/23 04:44:31 cheloha Exp $ */
+/* $OpenBSD: psycho.c,v 1.79 2021/10/24 17:05:04 mpi Exp $ */
/* $NetBSD: psycho.c,v 1.39 2001/10/07 20:30:41 eeh Exp $ */
/*
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
};
-/* $OpenBSD: radeonfb.c,v 1.6 2020/05/25 09:55:48 jsg Exp $ */
+/* $OpenBSD: radeonfb.c,v 1.7 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis.
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
};
-/* $OpenBSD: raptor.c,v 1.10 2021/03/11 11:17:00 jsg Exp $ */
+/* $OpenBSD: raptor.c,v 1.11 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis.
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
};
-/* $OpenBSD: rtc.c,v 1.11 2021/04/24 10:15:14 mpi Exp $ */
+/* $OpenBSD: rtc.c,v 1.12 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 1992, 1993
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
};
-/* $OpenBSD: sab.c,v 1.38 2021/09/01 16:10:39 jan Exp $ */
+/* $OpenBSD: sab.c,v 1.39 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2001 Jason L. Wright (jason@thought.net)
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
};
NULL, "sab", DV_DULL
};
-struct cfattach sabtty_ca = {
+const struct cfattach sabtty_ca = {
sizeof(struct sabtty_softc), sabtty_match, sabtty_attach,
NULL, sabtty_activate
};
-/* $OpenBSD: sbbc.c,v 1.13 2018/02/19 08:59:52 mpi Exp $ */
+/* $OpenBSD: sbbc.c,v 1.14 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
*
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
};
-/* $OpenBSD: sbus.c,v 1.45 2019/06/25 22:30:56 dlg Exp $ */
+/* $OpenBSD: sbus.c,v 1.46 2021/10/24 17:05:04 mpi Exp $ */
/* $NetBSD: sbus.c,v 1.46 2001/10/07 20:30:41 eeh Exp $ */
/*-
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
};
-/* $OpenBSD: ssm.c,v 1.2 2014/07/12 18:44:43 tedu Exp $ */
+/* $OpenBSD: ssm.c,v 1.3 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
*
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
};
-/* $OpenBSD: stp_sbus.c,v 1.11 2020/02/18 12:13:39 mpi Exp $ */
+/* $OpenBSD: stp_sbus.c,v 1.12 2021/10/24 17:05:04 mpi Exp $ */
/* $NetBSD: stp4020.c,v 1.23 2002/06/01 23:51:03 lukem Exp $ */
/*-
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
};
-/* $OpenBSD: tda.c,v 1.8 2016/03/07 13:21:51 naddy Exp $ */
+/* $OpenBSD: tda.c,v 1.9 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2008 Robert Nagy <robert@openbsd.org>
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
};
-/* $OpenBSD: upa.c,v 1.10 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: upa.c,v 1.11 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
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
};
-/* $OpenBSD: uperf_ebus.c,v 1.7 2021/03/11 11:17:00 jsg Exp $ */
+/* $OpenBSD: uperf_ebus.c,v 1.8 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
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
};
-/* $OpenBSD: vbus.c,v 1.11 2018/06/27 11:38:59 kettenis Exp $ */
+/* $OpenBSD: vbus.c,v 1.12 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
*
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
};
-/* $OpenBSD: vcc.c,v 1.1 2009/05/10 12:24:04 kettenis Exp $ */
+/* $OpenBSD: vcc.c,v 1.2 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis
*
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
};
-/* $OpenBSD: vcctty.c,v 1.14 2018/02/19 08:59:52 mpi Exp $ */
+/* $OpenBSD: vcctty.c,v 1.15 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis
*
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
};
-/* $OpenBSD: vcons.c,v 1.18 2020/07/22 14:02:31 deraadt Exp $ */
+/* $OpenBSD: vcons.c,v 1.19 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
*
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
};
-/* $OpenBSD: vds.c,v 1.1 2009/12/31 11:58:41 kettenis Exp $ */
+/* $OpenBSD: vds.c,v 1.2 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis
*
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
};
-/* $OpenBSD: vdsk.c,v 1.71 2021/03/11 11:17:00 jsg Exp $ */
+/* $OpenBSD: vdsk.c,v 1.72 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2009, 2011 Mark Kettenis
*
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
};
-/* $OpenBSD: vdsp.c,v 1.47 2020/01/16 13:03:28 mpi Exp $ */
+/* $OpenBSD: vdsp.c,v 1.48 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2009, 2011, 2014 Mark Kettenis
*
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
};
-/* $OpenBSD: vgafb.c,v 1.66 2018/12/27 11:06:38 claudio Exp $ */
+/* $OpenBSD: vgafb.c,v 1.67 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2001 Jason L. Wright (jason@thought.net)
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
};
-/* $OpenBSD: vldc.c,v 1.1 2012/03/17 20:07:18 kettenis Exp $ */
+/* $OpenBSD: vldc.c,v 1.2 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2009, 2012 Mark Kettenis
*
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
};
-/* $OpenBSD: vldcp.c,v 1.21 2020/12/25 12:59:51 visa Exp $ */
+/* $OpenBSD: vldcp.c,v 1.22 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2009, 2012 Mark Kettenis
*
int filt_vldcpwrite(struct knote *, long);
int vldcpkqfilter(dev_t, struct knote *);
-struct cfattach vldcp_ca = {
+const struct cfattach vldcp_ca = {
sizeof(struct vldcp_softc), vldcp_match, vldcp_attach
};
-/* $OpenBSD: vnet.c,v 1.63 2020/12/12 11:48:52 jan Exp $ */
+/* $OpenBSD: vnet.c,v 1.64 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2009, 2015 Mark Kettenis
*
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
};
-/* $OpenBSD: vrng.c,v 1.6 2020/05/29 04:42:24 deraadt Exp $ */
+/* $OpenBSD: vrng.c,v 1.7 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
*
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
};
-/* $OpenBSD: vrtc.c,v 1.1 2008/03/08 19:19:43 kettenis Exp $ */
+/* $OpenBSD: vrtc.c,v 1.2 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
*
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
};
-/* $OpenBSD: vsw.c,v 1.1 2009/05/16 10:53:06 kettenis Exp $ */
+/* $OpenBSD: vsw.c,v 1.2 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis
*
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
};
-/* $OpenBSD: wbsd_ebus.c,v 1.1 2009/10/03 19:56:14 kettenis Exp $ */
+/* $OpenBSD: wbsd_ebus.c,v 1.2 2021/10/24 17:05:04 mpi Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis
*
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
};
-/* $OpenBSD: z8530kbd.c,v 1.29 2018/12/27 11:06:38 claudio Exp $ */
+/* $OpenBSD: z8530kbd.c,v 1.30 2021/10/24 17:05:04 mpi Exp $ */
/* $NetBSD: z8530tty.c,v 1.77 2001/05/30 15:24:24 lukem Exp $ */
/*-
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
};
-/* $OpenBSD: zs.c,v 1.31 2018/12/27 11:06:38 claudio Exp $ */
+/* $OpenBSD: zs.c,v 1.32 2021/10/24 17:05:04 mpi Exp $ */
/* $NetBSD: zs.c,v 1.29 2001/05/30 15:24:24 lukem Exp $ */
/*-
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
};
-/* $OpenBSD: autoconf.c,v 1.139 2021/03/11 11:17:00 jsg Exp $ */
+/* $OpenBSD: autoconf.c,v 1.140 2021/10/24 17:05:04 mpi Exp $ */
/* $NetBSD: autoconf.c,v 1.51 2001/07/24 19:32:11 eeh Exp $ */
/*
}
}
-struct cfattach mainbus_ca = {
+const struct cfattach mainbus_ca = {
sizeof(struct device), mainbus_match, mainbus_attach
};
-/* $OpenBSD: clock.c,v 1.70 2021/03/11 11:17:00 jsg Exp $ */
+/* $OpenBSD: clock.c,v 1.71 2021/10/24 17:05:04 mpi Exp $ */
/* $NetBSD: clock.c,v 1.41 2001/07/24 19:29:25 eeh Exp $ */
/*
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
};
struct timerreg_4u timerreg_4u; /* XXX - need more cleanup */
-struct cfattach timer_ca = {
+const struct cfattach timer_ca = {
sizeof(struct device), timermatch, timerattach
};
-/* $OpenBSD: cpu.c,v 1.72 2021/01/02 05:36:49 jmatthew Exp $ */
+/* $OpenBSD: cpu.c,v 1.73 2021/10/24 17:05:04 mpi Exp $ */
/* $NetBSD: cpu.c,v 1.13 2001/05/26 21:27:15 chs Exp $ */
/*
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
};