-/* $OpenBSD: abtn.c,v 1.17 2015/01/27 09:45:51 dlg Exp $ */
+/* $OpenBSD: abtn.c,v 1.18 2022/03/13 12:33:01 mpi Exp $ */
/* $NetBSD: abtn.c,v 1.1 1999/07/12 17:48:26 tsubai Exp $ */
/*-
#endif
#endif
-struct cfattach abtn_ca = {
+const struct cfattach abtn_ca = {
sizeof(struct abtn_softc), abtn_match, abtn_attach
};
struct cfdriver abtn_cd = {
-/* $OpenBSD: adb.c,v 1.44 2021/06/23 14:12:59 cheloha Exp $ */
+/* $OpenBSD: adb.c,v 1.45 2022/03/13 12:33:01 mpi Exp $ */
/* $NetBSD: adb.c,v 1.6 1999/08/16 06:28:09 tsubai Exp $ */
/* $NetBSD: adb_direct.c,v 1.14 2000/06/08 22:10:45 tsubai Exp $ */
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
};
-/* $OpenBSD: aoa.c,v 1.12 2022/02/16 06:21:18 anton Exp $ */
+/* $OpenBSD: aoa.c,v 1.13 2022/03/13 12:33:01 mpi Exp $ */
/*-
* Copyright (c) 2005 Tsubai Masanari. All rights reserved.
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
};
-/* $OpenBSD: apm.c,v 1.32 2022/02/16 06:41:27 deraadt Exp $ */
+/* $OpenBSD: apm.c,v 1.33 2022/03/13 12:33:01 mpi Exp $ */
/*-
* Copyright (c) 2001 Alexander Guy. All rights reserved.
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
};
-/* $OpenBSD: asms.c,v 1.7 2008/04/25 16:37:44 xsa Exp $ */
+/* $OpenBSD: asms.c,v 1.8 2022/03/13 12:33:01 mpi Exp $ */
/*
* Copyright (c) 2005 Xavier Santolaria <xsa@openbsd.org>
*
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
};
-/* $OpenBSD: awacs.c,v 1.35 2022/02/16 06:21:18 anton Exp $ */
+/* $OpenBSD: awacs.c,v 1.36 2022/03/13 12:33:01 mpi Exp $ */
/* $NetBSD: awacs.c,v 1.4 2001/02/26 21:07:51 wiz Exp $ */
/*-
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
};
-/* $OpenBSD: daca.c,v 1.11 2022/02/16 06:21:18 anton Exp $ */
+/* $OpenBSD: daca.c,v 1.12 2022/03/13 12:33:01 mpi Exp $ */
/*-
* Copyright (c) 2002,2003 Tsubai Masanari. All rights reserved.
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
};
-/* $OpenBSD: dfs.c,v 1.3 2014/07/08 13:06:58 deraadt Exp $ */
+/* $OpenBSD: dfs.c,v 1.4 2022/03/13 12:33:01 mpi Exp $ */
/*
* Copyright (c) 2011 Martin Pieuchot <mpi@openbsd.org>
*
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
};
-/* $OpenBSD: if_bm.c,v 1.43 2020/07/10 13:22:19 patrick Exp $ */
+/* $OpenBSD: if_bm.c,v 1.44 2022/03/13 12:33:01 mpi Exp $ */
/* $NetBSD: if_bm.c,v 1.1 1999/01/01 01:27:52 tsubai Exp $ */
/*-
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
};
-/* $OpenBSD: if_wi_obio.c,v 1.19 2015/11/24 17:11:38 mpi Exp $ */
+/* $OpenBSD: if_wi_obio.c,v 1.20 2022/03/13 12:33:01 mpi Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
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
};
-/* $OpenBSD: kiic.c,v 1.4 2013/10/09 17:53:29 mpi Exp $ */
+/* $OpenBSD: kiic.c,v 1.5 2022/03/13 12:33:01 mpi Exp $ */
/* $NetBSD: kiic.c,v 1.1 2003/12/27 02:19:34 grant Exp $ */
/*-
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
};
-/* $OpenBSD: macgpio.c,v 1.9 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: macgpio.c,v 1.10 2022/03/13 12:33:01 mpi Exp $ */
/* $NetBSD: gpio.c,v 1.2 2001/02/27 05:16:33 matt Exp $ */
/*-
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
};
-/* $OpenBSD: macintr.c,v 1.55 2019/09/03 17:51:52 deraadt Exp $ */
+/* $OpenBSD: macintr.c,v 1.56 2022/03/13 12:33:01 mpi Exp $ */
/*-
* Copyright (c) 2008 Dale Rahn <drahn@openbsd.org>
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
-/* $OpenBSD: mediabay.c,v 1.7 2019/10/08 13:21:38 cheloha Exp $ */
+/* $OpenBSD: mediabay.c,v 1.8 2022/03/13 12:33:01 mpi Exp $ */
/* $NetBSD: mediabay.c,v 1.9 2003/07/15 02:43:29 lukem Exp $ */
/*-
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 = {
-/* $OpenBSD: onyx.c,v 1.13 2022/02/16 06:21:18 anton Exp $ */
+/* $OpenBSD: onyx.c,v 1.14 2022/03/13 12:33:01 mpi Exp $ */
/*-
* Copyright (c) 2005 Tsubai Masanari. All rights reserved.
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
};
-/* $OpenBSD: pgs.c,v 1.5 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: pgs.c,v 1.6 2022/03/13 12:33:01 mpi Exp $ */
/*
* Copyright (c) 2010 Jasper Lievisse Adriaanse <jasper@openbsd.org>
*
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
};
-/* $OpenBSD: piic.c,v 1.3 2011/06/16 10:44:33 mpi Exp $ */
+/* $OpenBSD: piic.c,v 1.4 2022/03/13 12:33:01 mpi Exp $ */
/*
* Copyright (c) 2005 Mark Kettenis
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
};
-/* $OpenBSD: smu.c,v 1.34 2019/10/08 13:21:38 cheloha Exp $ */
+/* $OpenBSD: smu.c,v 1.35 2022/03/13 12:33:01 mpi Exp $ */
/*
* Copyright (c) 2005 Mark Kettenis
struct i2c_controller sc_i2c_tag;
};
-struct cfattach smu_ca = {
+const struct cfattach smu_ca = {
sizeof(struct smu_softc), smu_match, smu_attach
};
-/* $OpenBSD: snapper.c,v 1.40 2022/02/16 06:21:18 anton Exp $ */
+/* $OpenBSD: snapper.c,v 1.41 2022/03/13 12:33:01 mpi Exp $ */
/* $NetBSD: snapper.c,v 1.1 2003/12/27 02:19:34 grant Exp $ */
/*-
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 = {
-/* $OpenBSD: sysbutton.c,v 1.6 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: sysbutton.c,v 1.7 2022/03/13 12:33:01 mpi Exp $ */
/*
* Copyright (c) 2007 Gordon Willem Klok <gwk@openbsd.org>
*
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
};
-/* $OpenBSD: tumbler.c,v 1.10 2022/02/16 06:21:18 anton Exp $ */
+/* $OpenBSD: tumbler.c,v 1.11 2022/03/13 12:33:01 mpi Exp $ */
/*-
* Copyright (c) 2001,2003 Tsubai Masanari. All rights reserved.
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 = {
-/* $OpenBSD: wdc_obio.c,v 1.30 2013/05/30 16:15:01 deraadt Exp $ */
+/* $OpenBSD: wdc_obio.c,v 1.31 2022/03/13 12:33:01 mpi Exp $ */
/* $NetBSD: wdc_obio.c,v 1.15 2001/07/25 20:26:33 bouyer Exp $ */
/*-
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
};
-/* $OpenBSD: xlights.c,v 1.10 2020/01/10 04:13:31 cheloha Exp $ */
+/* $OpenBSD: xlights.c,v 1.11 2022/03/13 12:33:01 mpi Exp $ */
/*
* Copyright (c) 2007 Gordon Willem Klok <gwk@openbsd,org>
*
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
};
-/* $OpenBSD: zs.c,v 1.31 2021/03/11 11:16:58 jsg Exp $ */
+/* $OpenBSD: zs.c,v 1.32 2022/03/13 12:33:01 mpi Exp $ */
/* $NetBSD: zs.c,v 1.17 2001/06/19 13:42:15 wiz Exp $ */
/*
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
};
-/* $OpenBSD: cpu.c,v 1.84 2021/06/14 06:10:44 matthieu Exp $ */
+/* $OpenBSD: cpu.c,v 1.85 2022/03/13 12:33:01 mpi Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
int cpumatch(struct device *, void *, void *);
void cpuattach(struct device *, struct device *, void *);
-struct cfattach cpu_ca = {
+const struct cfattach cpu_ca = {
sizeof(struct device), cpumatch, cpuattach
};
-/* $OpenBSD: mainbus.c,v 1.26 2020/08/26 03:29:06 visa Exp $ */
+/* $OpenBSD: mainbus.c,v 1.27 2022/03/13 12:33:01 mpi Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
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 = {
-/* $OpenBSD: mem.c,v 1.27 2018/02/19 08:59:52 mpi Exp $ */
+/* $OpenBSD: mem.c,v 1.28 2022/03/13 12:33:01 mpi Exp $ */
/* $NetBSD: mem.c,v 1.1 1996/09/30 16:34:50 ws Exp $ */
/*
NULL, "mem", DV_DULL
};
-struct cfattach mem_ca = {
+const struct cfattach mem_ca = {
sizeof(struct mem_softc), mem_match, mem_attach
};
-/* $OpenBSD: ht.c,v 1.18 2015/08/30 09:48:39 mpi Exp $ */
+/* $OpenBSD: ht.c,v 1.19 2022/03/13 12:33:01 mpi Exp $ */
/*
* Copyright (c) 2005 Mark Kettenis
bus_space_handle_t sc_config0_ioh;
};
-struct cfattach ht_ca = {
+const struct cfattach ht_ca = {
sizeof(struct ht_softc), ht_match, ht_attach
};
-/* $OpenBSD: kauaiata.c,v 1.10 2008/04/25 14:51:35 jmc Exp $ */
+/* $OpenBSD: kauaiata.c,v 1.11 2022/03/13 12:33:01 mpi Exp $ */
/*
* Copyright (c) 2003 Dale Rahn
int kauaiata_print(void *aux, const char *dev);
-struct cfattach kauaiata_ca = {
+const struct cfattach kauaiata_ca = {
sizeof(struct kauaiata_softc), kauaiatamatch, kauaiataattach,
};
-/* $OpenBSD: macobio.c,v 1.22 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: macobio.c,v 1.23 2022/03/13 12:33:01 mpi Exp $ */
/* $NetBSD: obio.c,v 1.6 1999/05/01 10:36:08 tsubai Exp $ */
/*-
};
-struct cfattach macobio_ca = {
+const struct cfattach macobio_ca = {
sizeof(struct macobio_softc), macobio_match, macobio_attach
};
-/* $OpenBSD: mpcpcibus.c,v 1.48 2022/02/02 17:11:36 miod Exp $ */
+/* $OpenBSD: mpcpcibus.c,v 1.49 2022/03/13 12:33:01 mpi Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
char sc_memex_name[32];
};
-struct cfattach mpcpcibr_ca = {
+const struct cfattach mpcpcibr_ca = {
sizeof(struct pcibr_softc), mpcpcibrmatch, mpcpcibrattach,
};
-/* $OpenBSD: pchb.c,v 1.15 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: pchb.c,v 1.16 2022/03/13 12:33:01 mpi Exp $ */
/* $NetBSD: pchb.c,v 1.4 2000/01/25 07:19:11 tsubai Exp $ */
/*-
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
};