summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-01-02 05:21:41 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-01-02 05:21:41 +0000
commitc11a4bd434e5d23cee65a597c8c689b07a2ea65e (patch)
tree4750f197bbc33cb513c7d5269ab28964a35f43fc
parenta05362de6022925be821415b6c442a46c2ce5349 (diff)
remove last traces of __BROKEN_INDIRECT_CONFIG.
Thanks to aanriot@ and Michael Knudsen for checking that alpha/i386/macppc kernels still compile.
-rw-r--r--sys/arch/alpha/include/types.h3
-rw-r--r--sys/arch/alpha/isa/mcclock_isa.c10
-rw-r--r--sys/arch/alpha/pci/sio.c18
-rw-r--r--sys/arch/alpha/tc/cfb.c10
-rw-r--r--sys/arch/alpha/tc/sfb.c10
-rw-r--r--sys/arch/i386/isa/clock.c11
-rw-r--r--sys/arch/macppc/pci/vgafb_pci.c10
-rw-r--r--sys/arch/powerpc/include/types.h4
-rw-r--r--sys/dev/audio.c11
-rw-r--r--sys/dev/isa/mcd.c11
-rw-r--r--sys/dev/isa/midi_pcppi.c11
-rw-r--r--sys/dev/isa/opl_sb.c11
-rw-r--r--sys/dev/isa/pcppi.c11
-rw-r--r--sys/dev/isa/sb_isa.c15
-rw-r--r--sys/dev/isa/spkr.c11
-rw-r--r--sys/dev/isa/wss_isa.c11
16 files changed, 16 insertions, 152 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;
diff --git a/sys/arch/i386/isa/clock.c b/sys/arch/i386/isa/clock.c
index fa18701776d..7d12127563f 100644
--- a/sys/arch/i386/isa/clock.c
+++ b/sys/arch/i386/isa/clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clock.c,v 1.32 2004/06/13 21:49:16 niklas Exp $ */
+/* $OpenBSD: clock.c,v 1.33 2006/01/02 05:21:30 brad Exp $ */
/* $NetBSD: clock.c,v 1.39 1996/05/12 23:11:54 mycroft Exp $ */
/*-
@@ -109,12 +109,7 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#if (NPCPPI > 0)
#include <dev/isa/pcppivar.h>
-#define __BROKEN_INDIRECT_CONFIG /* XXX */
-#ifdef __BROKEN_INDIRECT_CONFIG
int sysbeepmatch(struct device *, void *, void *);
-#else
-int sysbeepmatch(struct device *, struct cfdata *, void *);
-#endif
void sysbeepattach(struct device *, struct device *, void *);
struct cfattach sysbeep_ca = {
@@ -387,11 +382,7 @@ i8254_delay(n)
int
sysbeepmatch(parent, match, aux)
struct device *parent;
-#ifdef __BROKEN_INDIRECT_CONFIG
void *match;
-#else
- struct cfdata *match;
-#endif
void *aux;
{
return (!ppi_attached);
diff --git a/sys/arch/macppc/pci/vgafb_pci.c b/sys/arch/macppc/pci/vgafb_pci.c
index c5bc4e29b1a..ab7b6781a3c 100644
--- a/sys/arch/macppc/pci/vgafb_pci.c
+++ b/sys/arch/macppc/pci/vgafb_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vgafb_pci.c,v 1.15 2005/03/15 21:10:37 miod Exp $ */
+/* $OpenBSD: vgafb_pci.c,v 1.16 2006/01/02 05:21:32 brad Exp $ */
/* $NetBSD: vga_pci.c,v 1.4 1996/12/05 01:39:38 cgd Exp $ */
/*
@@ -66,11 +66,7 @@ struct vgafb_pci_softc {
int vgafb_pci_probe(struct pci_attach_args *pa, int id, u_int32_t *ioaddr,
u_int32_t *iosize, u_int32_t *memaddr, u_int32_t *memsize,
u_int32_t *cacheable, u_int32_t *mmioaddr, u_int32_t *mmiosize);
-#ifdef __BROKEN_INDIRECT_CONFIG
int vgafb_pci_match(struct device *, void *, void *);
-#else
-int vgafb_pci_match(struct device *, struct cfdata *, void *);
-#endif
void vgafb_pci_attach(struct device *, struct device *, void *);
paddr_t vgafbpcimmap(void *, off_t, int);
@@ -230,11 +226,7 @@ vgafb_pci_probe(struct pci_attach_args *pa, int id, u_int32_t *ioaddr,
int
vgafb_pci_match(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/powerpc/include/types.h b/sys/arch/powerpc/include/types.h
index 06d6cd0736f..73a7ec7d219 100644
--- a/sys/arch/powerpc/include/types.h
+++ b/sys/arch/powerpc/include/types.h
@@ -1,5 +1,5 @@
/* $NetBSD: types.h,v 1.1 1996/09/30 16:34:36 ws Exp $ */
-/* $OpenBSD: types.h,v 1.17 2005/12/17 07:31:26 miod Exp $ */
+/* $OpenBSD: types.h,v 1.18 2006/01/02 05:21:34 brad Exp $ */
/*-
* Copyright (C) 1995 Wolfgang Solfrank.
@@ -66,6 +66,4 @@ typedef struct label_t {
} label_t;
#endif
-#define __BROKEN_INDIRECT_CONFIG
-
#endif /* _POWERPC_TYPES_H_ */
diff --git a/sys/dev/audio.c b/sys/dev/audio.c
index cafb8d75310..4854c58c150 100644
--- a/sys/dev/audio.c
+++ b/sys/dev/audio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: audio.c,v 1.47 2005/11/21 18:16:38 millert Exp $ */
+/* $OpenBSD: audio.c,v 1.48 2006/01/02 05:21:37 brad Exp $ */
/* $NetBSD: audio.c,v 1.119 1999/11/09 16:50:47 augustss Exp $ */
/*
@@ -145,12 +145,7 @@ void audio_free_ring(struct audio_softc *, struct audio_ringbuffer *);
int audioprint(void *, const char *);
-#define __BROKEN_INDIRECT_CONFIG /* XXX */
-#ifdef __BROKEN_INDIRECT_CONFIG
int audioprobe(struct device *, void *, void *);
-#else
-int audioprobe(struct device *, struct cfdata *, void *);
-#endif
void audioattach(struct device *, struct device *, void *);
int audiodetach(struct device *, int);
int audioactivate(struct device *, enum devact);
@@ -216,11 +211,7 @@ struct filterops audioread_filtops =
int
audioprobe(parent, match, aux)
struct device *parent;
-#ifdef __BROKEN_INDIRECT_CONFIG
void *match;
-#else
- struct cfdata *match;
-#endif
void *aux;
{
struct audio_attach_args *sa = aux;
diff --git a/sys/dev/isa/mcd.c b/sys/dev/isa/mcd.c
index 5336ebd04d1..25e3f6cb2e5 100644
--- a/sys/dev/isa/mcd.c
+++ b/sys/dev/isa/mcd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mcd.c,v 1.34 2004/05/01 23:23:13 millert Exp $ */
+/* $OpenBSD: mcd.c,v 1.35 2006/01/02 05:21:40 brad Exp $ */
/* $NetBSD: mcd.c,v 1.60 1998/01/14 12:14:41 drochner Exp $ */
/*
@@ -186,12 +186,7 @@ int mcd_getqchan(struct mcd_softc *, union mcd_qchninfo *, int);
int mcd_setlock(struct mcd_softc *, int);
int mcd_find(bus_space_tag_t, bus_space_handle_t, struct mcd_softc *);
-#define __BROKEN_INDIRECT_CONFIG
-#ifdef __BROKEN_INDIRECT_CONFIG
int mcdprobe(struct device *, void *, void *);
-#else
-int mcdprobe(struct device *, struct cfdata *, void *);
-#endif
void mcdattach(struct device *, struct device *, void *);
struct cfattach mcd_ca = {
@@ -895,11 +890,7 @@ mcd_find(iot, ioh, sc)
int
mcdprobe(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/dev/isa/midi_pcppi.c b/sys/dev/isa/midi_pcppi.c
index a0a4d61965c..e3458d58d6e 100644
--- a/sys/dev/isa/midi_pcppi.c
+++ b/sys/dev/isa/midi_pcppi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: midi_pcppi.c,v 1.4 2005/11/21 18:16:40 millert Exp $ */
+/* $OpenBSD: midi_pcppi.c,v 1.5 2006/01/02 05:21:40 brad Exp $ */
/* $NetBSD: midi_pcppi.c,v 1.4 1998/11/25 22:17:06 augustss Exp $ */
/*
@@ -63,12 +63,7 @@ struct midi_pcppi_softc {
midisyn sc_midisyn;
};
-#define __BROKEN_INDIRECT_CONFIG /* XXX */
-#ifdef __BROKEN_INDIRECT_CONFIG
int midi_pcppi_match(struct device *, void *, void *);
-#else
-int midi_pcppi_match(struct device *, struct cfdata *, void *);
-#endif
void midi_pcppi_attach(struct device *, struct device *, void *);
void midi_pcppi_on(midisyn *, u_int32_t, u_int32_t, u_int32_t);
@@ -99,11 +94,7 @@ int midi_pcppi_attached = 0; /* Not very nice */
int
midi_pcppi_match(parent, match, aux)
struct device *parent;
-#ifdef __BROKEN_INDIRECT_CONFIG
void *match;
-#else
- struct cfdata *match;
-#endif
void *aux;
{
return (!midi_pcppi_attached);
diff --git a/sys/dev/isa/opl_sb.c b/sys/dev/isa/opl_sb.c
index b0dd8ccf474..bf8d38ba907 100644
--- a/sys/dev/isa/opl_sb.c
+++ b/sys/dev/isa/opl_sb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: opl_sb.c,v 1.4 2005/11/21 18:16:40 millert Exp $ */
+/* $OpenBSD: opl_sb.c,v 1.5 2006/01/02 05:21:40 brad Exp $ */
/* $NetBSD: opl_sb.c,v 1.4 1998/12/08 14:26:57 augustss Exp $ */
/*
@@ -59,12 +59,7 @@
#include <dev/isa/isavar.h>
#include <dev/isa/sbdspvar.h>
-#define __BROKEN_INDIRECT_CONFIG /* XXX */
-#ifdef __BROKEN_INDIRECT_CONFIG
int opl_sb_match(struct device *, void *, void *);
-#else
-int opl_sb_match(struct device *, struct cfdata *, void *);
-#endif
void opl_sb_attach(struct device *, struct device *, void *);
struct cfattach opl_sb_ca = {
@@ -74,11 +69,7 @@ struct cfattach opl_sb_ca = {
int
opl_sb_match(parent, match, aux)
struct device *parent;
-#ifdef __BROKEN_INDIRECT_CONFIG
void *match;
-#else
- struct cfdata *match;
-#endif
void *aux;
{
struct audio_attach_args *aa = (struct audio_attach_args *)aux;
diff --git a/sys/dev/isa/pcppi.c b/sys/dev/isa/pcppi.c
index 85c9ed4cdbb..41c57e974e6 100644
--- a/sys/dev/isa/pcppi.c
+++ b/sys/dev/isa/pcppi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcppi.c,v 1.5 2002/03/14 03:16:05 millert Exp $ */
+/* $OpenBSD: pcppi.c,v 1.6 2006/01/02 05:21:40 brad Exp $ */
/* $NetBSD: pcppi.c,v 1.1 1998/04/15 20:26:18 drochner Exp $ */
/*
@@ -65,12 +65,7 @@ struct pcppi_softc {
int sc_timeout;
};
-#define __BROKEN_INDIRECT_CONFIG /* XXX */
-#ifdef __BROKEN_INDIRECT_CONFIG
int pcppi_match(struct device *, void *, void *);
-#else
-int pcppi_match(struct device *, struct cfdata *, void *);
-#endif
void pcppi_attach(struct device *, struct device *, void *);
struct cfattach pcppi_ca = {
@@ -88,11 +83,7 @@ static void pcppi_bell_stop(void *);
int
pcppi_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/dev/isa/sb_isa.c b/sys/dev/isa/sb_isa.c
index 999e9c6c7dd..6fad97cbed1 100644
--- a/sys/dev/isa/sb_isa.c
+++ b/sys/dev/isa/sb_isa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sb_isa.c,v 1.7 2003/04/27 11:22:53 ho Exp $ */
+/* $OpenBSD: sb_isa.c,v 1.8 2006/01/02 05:21:40 brad Exp $ */
/* $NetBSD: sb_isa.c,v 1.15 1997/11/30 15:32:25 drochner Exp $ */
/*
@@ -60,12 +60,7 @@
static int sbfind(struct device *, struct sbdsp_softc *, struct isa_attach_args *);
-#define __BROKEN_INDIRECT_CONFIG /* XXX */
-#ifdef __BROKEN_INDIRECT_CONFIG
int sb_isa_match(struct device *, void *, void *);
-#else
-int sb_isa_match(struct device *, struct cfdata *, void *);
-#endif
void sb_isa_attach(struct device *, struct device *, void *);
struct cfattach sb_isa_ca = {
@@ -82,21 +77,13 @@ struct cfattach sb_isa_ca = {
int
sb_isa_match(parent, match, aux)
struct device *parent;
-#ifdef __BROKEN_INDIRECT_CONFIG
void *match;
-#else
- struct cfdata *match;
-#endif
void *aux;
{
struct sbdsp_softc probesc, *sc = &probesc;
bzero(sc, sizeof *sc);
-#ifdef __BROKEN_INDIRECT_CONFIG
sc->sc_dev.dv_cfdata = ((struct device *)match)->dv_cfdata;
-#else
- sc->sc_dev.dv_cfdata = match;
-#endif
strlcpy(sc->sc_dev.dv_xname, "sb", sizeof sc->sc_dev.dv_xname);
return sbfind(parent, sc, aux);
}
diff --git a/sys/dev/isa/spkr.c b/sys/dev/isa/spkr.c
index 9abf79210e7..9834a6de288 100644
--- a/sys/dev/isa/spkr.c
+++ b/sys/dev/isa/spkr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spkr.c,v 1.7 2002/03/14 01:26:56 millert Exp $ */
+/* $OpenBSD: spkr.c,v 1.8 2006/01/02 05:21:40 brad Exp $ */
/* $NetBSD: spkr.c,v 1.1 1998/04/15 20:26:18 drochner Exp $ */
/*
@@ -60,12 +60,7 @@
cdev_decl(spkr);
-#define __BROKEN_INDIRECT_CONFIG /* XXX */
-#ifdef __BROKEN_INDIRECT_CONFIG
int spkrprobe(struct device *, void *, void *);
-#else
-int spkrprobe(struct device *, struct cfdata *, void *);
-#endif
void spkrattach(struct device *, struct device *, void *);
struct spkr_softc {
@@ -409,11 +404,7 @@ static int spkr_attached = 0;
int
spkrprobe (parent, match, aux)
struct device *parent;
-#ifdef __BROKEN_INDIRECT_CONFIG
void *match;
-#else
- struct cfdata *match;
-#endif
void *aux;
{
return (!spkr_attached);
diff --git a/sys/dev/isa/wss_isa.c b/sys/dev/isa/wss_isa.c
index 1a4410150e5..83a52e207c3 100644
--- a/sys/dev/isa/wss_isa.c
+++ b/sys/dev/isa/wss_isa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wss_isa.c,v 1.4 2002/03/14 01:26:57 millert Exp $ */
+/* $OpenBSD: wss_isa.c,v 1.5 2006/01/02 05:21:40 brad Exp $ */
/* $NetBSD: wss_isa.c,v 1.1 1998/01/19 22:18:24 augustss Exp $ */
/*
@@ -95,22 +95,13 @@ struct cfdriver wss_cd = {
int
wss_isa_probe(parent, match, aux)
struct device *parent;
-#define __BROKEN_INDIRECT_CONFIG
-#ifdef __BROKEN_INDIRECT_CONFIG
void *match;
-#else
- struct cfdata *match;
-#endif
void *aux;
{
struct wss_softc probesc, *sc = &probesc;
bzero(sc, sizeof *sc);
-#ifdef __BROKEN_INDIRECT_CONFIG
sc->sc_dev.dv_cfdata = ((struct device *)match)->dv_cfdata;
-#else
- sc->sc_dev.dv_cfdata = match;
-#endif
if (wssfind(parent, sc, aux)) {
bus_space_unmap(sc->sc_iot, sc->sc_ioh, WSS_CODEC);
ad1848_unmap(&sc->sc_ad1848);