-/* $OpenBSD: agten.c,v 1.11 2018/12/27 11:09:17 claudio Exp $ */
+/* $OpenBSD: agten.c,v 1.12 2022/03/13 13:34:54 mpi Exp $ */
/*
* Copyright (c) 2002, 2003, Miodrag Vallat.
* All rights reserved.
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
};
-/* $OpenBSD: apio.c,v 1.8 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: apio.c,v 1.9 2022/03/13 13:34:54 mpi Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
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
};
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
};
-/* $OpenBSD: asio.c,v 1.11 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: asio.c,v 1.12 2022/03/13 13:34:54 mpi Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
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
};
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
};
-/* $OpenBSD: be.c,v 1.43 2020/07/10 13:22:21 patrick Exp $ */
+/* $OpenBSD: be.c,v 1.44 2022/03/13 13:34:54 mpi Exp $ */
/* $NetBSD: be.c,v 1.26 2001/03/20 15:39:20 pk Exp $ */
/*-
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
};
-/* $OpenBSD: bwtwo.c,v 1.19 2013/10/20 20:07:30 miod Exp $ */
+/* $OpenBSD: bwtwo.c,v 1.20 2022/03/13 13:34:54 mpi Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
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
};
-/* $OpenBSD: cgsix.c,v 1.60 2020/05/25 09:55:49 jsg Exp $ */
+/* $OpenBSD: cgsix.c,v 1.61 2022/03/13 13:34:54 mpi Exp $ */
/*
* Copyright (c) 2001 Jason L. Wright (jason@thought.net)
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
};
-/* $OpenBSD: cgthree.c,v 1.45 2013/10/20 20:07:30 miod Exp $ */
+/* $OpenBSD: cgthree.c,v 1.46 2022/03/13 13:34:54 mpi Exp $ */
/*
* Copyright (c) 2001 Jason L. Wright (jason@thought.net)
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
};
-/* $OpenBSD: cgtwelve.c,v 1.10 2022/01/09 05:42:58 jsg Exp $ */
+/* $OpenBSD: cgtwelve.c,v 1.11 2022/03/13 13:34:54 mpi Exp $ */
/*
* Copyright (c) 2002, 2003 Miodrag Vallat. All rights reserved.
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
};
-/* $OpenBSD: cs4231.c,v 1.39 2022/02/16 06:21:19 anton Exp $ */
+/* $OpenBSD: cs4231.c,v 1.40 2022/03/13 13:34:54 mpi Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
cs4231_trigger_input
};
-struct cfattach audiocs_ca = {
+const struct cfattach audiocs_ca = {
sizeof (struct cs4231_softc), cs4231_match, cs4231_attach
};
-/* $OpenBSD: dma_sbus.c,v 1.17 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: dma_sbus.c,v 1.18 2022/03/13 13:34:54 mpi Exp $ */
/* $NetBSD: dma_sbus.c,v 1.5 2000/07/09 20:57:42 pk Exp $ */
/*-
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
};
-/* $OpenBSD: esp_sbus.c,v 1.25 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: esp_sbus.c,v 1.26 2022/03/13 13:34:54 mpi Exp $ */
/* $NetBSD: esp_sbus.c,v 1.14 2001/04/25 17:53:37 bouyer Exp $ */
/*-
/* 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
};
-/* $OpenBSD: if_gem_sbus.c,v 1.10 2015/11/28 09:42:10 jmatthew Exp $ */
+/* $OpenBSD: if_gem_sbus.c,v 1.11 2022/03/13 13:34:54 mpi Exp $ */
/* $NetBSD: if_gem_sbus.c,v 1.1 2006/11/24 13:23:32 martin Exp $ */
/*-
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
};
-/* $OpenBSD: if_hme_sbus.c,v 1.16 2015/11/24 17:11:40 mpi Exp $ */
+/* $OpenBSD: if_hme_sbus.c,v 1.17 2022/03/13 13:34:54 mpi Exp $ */
/* $NetBSD: if_hme_sbus.c,v 1.6 2001/02/28 14:52:48 mrg Exp $ */
/*-
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
};
-/* $OpenBSD: if_le.c,v 1.17 2015/09/11 13:02:28 stsp Exp $ */
+/* $OpenBSD: if_le.c,v 1.18 2022/03/13 13:34:54 mpi Exp $ */
/* $NetBSD: if_le.c,v 1.17 2001/05/30 11:46:35 mrg Exp $ */
/*-
IFM_ETHER | IFM_10_5
};
-struct cfattach le_sbus_ca = {
+const struct cfattach le_sbus_ca = {
sizeof(struct le_softc), lematch_sbus, leattach_sbus
};
-/* $OpenBSD: if_le_lebuffer.c,v 1.13 2015/09/11 13:02:28 stsp Exp $ */
+/* $OpenBSD: if_le_lebuffer.c,v 1.14 2022/03/13 13:34:54 mpi Exp $ */
/* $NetBSD: if_le_lebuffer.c,v 1.10 2002/03/11 16:00:56 pk Exp $ */
/*-
IFM_ETHER | IFM_10_T
};
-struct cfattach le_lebuffer_ca = {
+const struct cfattach le_lebuffer_ca = {
sizeof(struct le_softc), lematch_lebuffer, leattach_lebuffer
};
-/* $OpenBSD: if_le_ledma.c,v 1.19 2015/09/11 13:02:28 stsp Exp $ */
+/* $OpenBSD: if_le_ledma.c,v 1.20 2022/03/13 13:34:54 mpi Exp $ */
/* $NetBSD: if_le_ledma.c,v 1.14 2001/05/30 11:46:35 mrg Exp $ */
/*-
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
};
-/* $OpenBSD: if_ti_sbus.c,v 1.4 2015/11/24 17:11:40 mpi Exp $ */
+/* $OpenBSD: if_ti_sbus.c,v 1.5 2022/03/13 13:34:54 mpi Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis
*
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
};
-/* $OpenBSD: lebuffer.c,v 1.10 2012/12/05 23:20:21 deraadt Exp $ */
+/* $OpenBSD: lebuffer.c,v 1.11 2022/03/13 13:34:54 mpi Exp $ */
/* $NetBSD: lebuffer.c,v 1.12 2002/03/11 16:00:57 pk Exp $ */
/*-
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
};
-/* $OpenBSD: magma.c,v 1.33 2021/09/01 16:10:39 jan Exp $ */
+/* $OpenBSD: magma.c,v 1.34 2022/03/13 13:34:54 mpi Exp $ */
/*-
* Copyright (c) 1998 Iain Hibbert
* Autoconfig Stuff
*/
-struct cfattach magma_ca = {
+const struct cfattach magma_ca = {
sizeof(struct magma_softc), magma_match, magma_attach
};
NULL, "magma", DV_DULL
};
-struct cfattach mtty_ca = {
+const struct cfattach mtty_ca = {
sizeof(struct mtty_softc), mtty_match, mtty_attach
};
NULL, "mtty", DV_TTY
};
-struct cfattach mbpp_ca = {
+const struct cfattach mbpp_ca = {
sizeof(struct mbpp_softc), mbpp_match, mbpp_attach
};
-/* $OpenBSD: mgx.c,v 1.14 2020/05/25 09:55:49 jsg Exp $ */
+/* $OpenBSD: mgx.c,v 1.15 2022/03/13 13:34:54 mpi Exp $ */
/*
* Copyright (c) 2003, Miodrag Vallat.
* All rights reserved.
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
};
-/* $OpenBSD: qe.c,v 1.41 2020/07/10 13:22:21 patrick Exp $ */
+/* $OpenBSD: qe.c,v 1.42 2022/03/13 13:34:54 mpi Exp $ */
/* $NetBSD: qe.c,v 1.16 2001/03/30 17:30:18 christos Exp $ */
/*-
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
};
-/* $OpenBSD: qec.c,v 1.15 2022/01/09 05:42:58 jsg Exp $ */
+/* $OpenBSD: qec.c,v 1.16 2022/03/13 13:34:54 mpi Exp $ */
/* $NetBSD: qec.c,v 1.12 2000/12/04 20:12:55 fvdl Exp $ */
/*-
void *, /*arg*/
const char *); /*what*/
-struct cfattach qec_ca = {
+const struct cfattach qec_ca = {
sizeof(struct qec_softc), qecmatch, qecattach
};
-/* $OpenBSD: qla_sbus.c,v 1.2 2014/07/12 18:48:52 tedu Exp $ */
+/* $OpenBSD: qla_sbus.c,v 1.3 2022/03/13 13:34:54 mpi Exp $ */
/*
* Copyright (c) 2014 Mark Kettenis
*
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
-/* $OpenBSD: qlw_sbus.c,v 1.1 2014/03/15 21:49:47 kettenis Exp $ */
+/* $OpenBSD: qlw_sbus.c,v 1.2 2022/03/13 13:34:54 mpi Exp $ */
/*
* Copyright (c) 2014 Mark Kettenis
*
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
-/* $OpenBSD: rfx.c,v 1.13 2022/02/15 10:36:59 jsg Exp $ */
+/* $OpenBSD: rfx.c,v 1.14 2022/03/13 13:34:54 mpi Exp $ */
/*
* Copyright (c) 2004, Miodrag Vallat.
int rfxmatch(struct device *, void *, void *);
void rfxattach(struct device *, struct device *, void *);
-struct cfattach rfx_ca = {
+const struct cfattach rfx_ca = {
sizeof (struct rfx_softc), rfxmatch, rfxattach
};
-/* $OpenBSD: spif.c,v 1.25 2021/09/01 16:10:39 jan Exp $ */
+/* $OpenBSD: spif.c,v 1.26 2022/03/13 13:34:54 mpi Exp $ */
/*
* Copyright (c) 1999-2002 Jason L. Wright (jason@thought.net)
int sbppkqfilter(dev_t, struct knote *);
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
};
NULL, "spif", DV_DULL
};
-struct cfattach stty_ca = {
+const struct cfattach stty_ca = {
sizeof(struct stty_softc), sttymatch, sttyattach
};
NULL, "stty", DV_TTY
};
-struct cfattach sbpp_ca = {
+const struct cfattach sbpp_ca = {
sizeof(struct sbpp_softc), sbppmatch, sbppattach
};
-/* $OpenBSD: tvtwo.c,v 1.16 2022/01/09 05:42:58 jsg Exp $ */
+/* $OpenBSD: tvtwo.c,v 1.17 2022/03/13 13:34:54 mpi Exp $ */
/*
* Copyright (c) 2003, 2006, 2008, Miodrag Vallat.
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
};
-/* $OpenBSD: uperf_sbus.c,v 1.10 2022/01/09 05:42:58 jsg Exp $ */
+/* $OpenBSD: uperf_sbus.c,v 1.11 2022/03/13 13:34:54 mpi Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
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
};
-/* $OpenBSD: vigra.c,v 1.12 2013/10/20 20:07:31 miod Exp $ */
+/* $OpenBSD: vigra.c,v 1.13 2022/03/13 13:34:54 mpi Exp $ */
/*
* Copyright (c) 2002, 2003, Miodrag Vallat.
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
};
-/* $OpenBSD: xbox.c,v 1.3 2006/06/02 20:00:56 miod Exp $ */
+/* $OpenBSD: xbox.c,v 1.4 2022/03/13 13:34:54 mpi Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
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
};
-/* $OpenBSD: zx.c,v 1.22 2022/01/09 05:42:59 jsg Exp $ */
+/* $OpenBSD: zx.c,v 1.23 2022/03/13 13:34:54 mpi Exp $ */
/* $NetBSD: zx.c,v 1.5 2002/10/02 16:52:46 thorpej Exp $ */
/*
int zx_eraserows(void *, int, int, uint32_t);
int zx_do_cursor(struct rasops_info *);
-struct cfattach zx_ca = {
+const struct cfattach zx_ca = {
sizeof(struct zx_softc), zx_match, zx_attach
};