diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-01-02 05:21:41 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-01-02 05:21:41 +0000 |
commit | c11a4bd434e5d23cee65a597c8c689b07a2ea65e (patch) | |
tree | 4750f197bbc33cb513c7d5269ab28964a35f43fc /sys/arch/alpha | |
parent | a05362de6022925be821415b6c442a46c2ce5349 (diff) |
remove last traces of __BROKEN_INDIRECT_CONFIG.
Thanks to aanriot@ and Michael Knudsen for checking that alpha/i386/macppc
kernels still compile.
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/include/types.h | 3 | ||||
-rw-r--r-- | sys/arch/alpha/isa/mcclock_isa.c | 10 | ||||
-rw-r--r-- | sys/arch/alpha/pci/sio.c | 18 | ||||
-rw-r--r-- | sys/arch/alpha/tc/cfb.c | 10 | ||||
-rw-r--r-- | sys/arch/alpha/tc/sfb.c | 10 |
5 files changed, 5 insertions, 46 deletions
diff --git a/sys/arch/alpha/include/types.h b/sys/arch/alpha/include/types.h index 03012b5e792..8782fa8038a 100644 --- a/sys/arch/alpha/include/types.h +++ b/sys/arch/alpha/include/types.h @@ -1,4 +1,4 @@ -/* $OpenBSD: types.h,v 1.17 2005/12/17 07:31:23 miod Exp $ */ +/* $OpenBSD: types.h,v 1.18 2006/01/02 05:21:20 brad Exp $ */ /* $NetBSD: types.h,v 1.6 1996/12/05 00:13:47 cgd Exp $ */ /*- @@ -70,7 +70,6 @@ typedef unsigned long long uint64_t; typedef long register_t; -#define __BROKEN_INDIRECT_CONFIG #define __HAVE_DEVICE_REGISTER #endif /* _MACHTYPES_H_ */ diff --git a/sys/arch/alpha/isa/mcclock_isa.c b/sys/arch/alpha/isa/mcclock_isa.c index 5f6273a1856..d33f8aaa591 100644 --- a/sys/arch/alpha/isa/mcclock_isa.c +++ b/sys/arch/alpha/isa/mcclock_isa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mcclock_isa.c,v 1.7 2002/03/14 01:26:27 millert Exp $ */ +/* $OpenBSD: mcclock_isa.c,v 1.8 2006/01/02 05:21:24 brad Exp $ */ /* $NetBSD: mcclock_isa.c,v 1.5 1996/12/05 01:39:29 cgd Exp $ */ /* @@ -47,11 +47,7 @@ struct mcclock_isa_softc { bus_space_handle_t sc_ioh; }; -#ifdef __BROKEN_INDIRECT_CONFIG int mcclock_isa_match(struct device *, void *, void *); -#else -int mcclock_isa_match(struct device *, struct cfdata *, void *); -#endif void mcclock_isa_attach(struct device *, struct device *, void *); struct cfattach mcclock_isa_ca = { @@ -69,11 +65,7 @@ const struct mcclock_busfns mcclock_isa_busfns = { int mcclock_isa_match(parent, match, aux) struct device *parent; -#ifdef __BROKEN_INDIRECT_CONFIG void *match; -#else - struct cfdata *match; -#endif void *aux; { struct isa_attach_args *ia = aux; diff --git a/sys/arch/alpha/pci/sio.c b/sys/arch/alpha/pci/sio.c index 3e489ca388e..ab38f434d9b 100644 --- a/sys/arch/alpha/pci/sio.c +++ b/sys/arch/alpha/pci/sio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sio.c,v 1.30 2004/12/06 19:51:41 brad Exp $ */ +/* $OpenBSD: sio.c,v 1.31 2006/01/02 05:21:26 brad Exp $ */ /* $NetBSD: sio.c,v 1.15 1996/12/05 01:39:36 cgd Exp $ */ /* @@ -55,11 +55,7 @@ struct sio_softc { int sc_haseisa; }; -#ifdef __BROKEN_INDIRECT_CONFIG int siomatch(struct device *, void *, void *); -#else -int siomatch(struct device *, struct cfdata *, void *); -#endif void sioattach(struct device *, struct device *, void *); extern int sio_intr_alloc(isa_chipset_tag_t *, int, int, int *); @@ -73,11 +69,7 @@ struct cfdriver sio_cd = { NULL, "sio", DV_DULL, }; -#ifdef __BROKEN_INDIRECT_CONFIG int pcebmatch(struct device *, void *, void *); -#else -int pcebmatch(struct device *, struct cfdata *, void *); -#endif struct cfattach pceb_ca = { sizeof(struct sio_softc), pcebmatch, sioattach, @@ -105,11 +97,7 @@ void sio_bridge_callback(struct device *); int siomatch(parent, match, aux) struct device *parent; -#ifdef __BROKEN_INDIRECT_CONFIG void *match; -#else - struct cfdata *match; -#endif void *aux; { struct pci_attach_args *pa = aux; @@ -136,11 +124,7 @@ siomatch(parent, match, aux) int pcebmatch(parent, match, aux) struct device *parent; -#ifdef __BROKEN_INDIRECT_CONFIG void *match; -#else - struct cfdata *match; -#endif void *aux; { struct pci_attach_args *pa = aux; diff --git a/sys/arch/alpha/tc/cfb.c b/sys/arch/alpha/tc/cfb.c index dc4e0955d65..a38c7af2046 100644 --- a/sys/arch/alpha/tc/cfb.c +++ b/sys/arch/alpha/tc/cfb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cfb.c,v 1.15 2005/10/28 19:10:26 martin Exp $ */ +/* $OpenBSD: cfb.c,v 1.16 2006/01/02 05:21:28 brad Exp $ */ /* $NetBSD: cfb.c,v 1.7 1996/12/05 01:39:39 cgd Exp $ */ /* @@ -52,11 +52,7 @@ #include <machine/autoconf.h> #include <machine/pte.h> -#ifdef __BROKEN_INDIRECT_CONFIG int cfbmatch(struct device *, void *, void *); -#else -int cfbmatch(struct device *, struct cfdata *, void *); -#endif void cfbattach(struct device *, struct device *, void *); struct cfattach cfb_ca = { @@ -119,11 +115,7 @@ struct wsdisplay_accessops cfb_accessops = { int cfbmatch(parent, match, aux) struct device *parent; -#ifdef __BROKEN_INDIRECT_CONFIG void *match; -#else - struct cfdata *match; -#endif void *aux; { struct tc_attach_args *ta = aux; diff --git a/sys/arch/alpha/tc/sfb.c b/sys/arch/alpha/tc/sfb.c index 872f2cd82e2..9d056b55d50 100644 --- a/sys/arch/alpha/tc/sfb.c +++ b/sys/arch/alpha/tc/sfb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sfb.c,v 1.15 2005/10/28 19:10:26 martin Exp $ */ +/* $OpenBSD: sfb.c,v 1.16 2006/01/02 05:21:28 brad Exp $ */ /* $NetBSD: sfb.c,v 1.7 1996/12/05 01:39:44 cgd Exp $ */ /* @@ -52,11 +52,7 @@ #include <machine/autoconf.h> #include <machine/pte.h> -#ifdef __BROKEN_INDIRECT_CONFIG int sfbmatch(struct device *, void *, void *); -#else -int sfbmatch(struct device *, struct cfdata *, void *); -#endif void sfbattach(struct device *, struct device *, void *); struct cfattach sfb_ca = { @@ -122,11 +118,7 @@ struct wsdisplay_accessops sfb_accessops = { int sfbmatch(parent, match, aux) struct device *parent; -#ifdef __BROKEN_INDIRECT_CONFIG void *match; -#else - struct cfdata *match; -#endif void *aux; { struct tc_attach_args *ta = aux; |