diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-01-14 20:52:53 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-01-14 20:52:53 +0000 |
commit | b4905014d1d87c6a0a93404035596fa1fce13206 (patch) | |
tree | 52d9b07b7608c762430bd5c24037e6d59041995e /sys/arch | |
parent | 1e98c85d3254b46ed8d216477a5adf8580834616 (diff) |
mvme* do not support buses with indirect configuration, so don't check and
mourn for this.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/mvme68k/dev/ipic.c | 10 | ||||
-rw-r--r-- | sys/arch/mvme68k/dev/mc.c | 7 | ||||
-rw-r--r-- | sys/arch/mvme68k/dev/pcc.c | 7 | ||||
-rw-r--r-- | sys/arch/mvme68k/dev/pcctwo.c | 7 | ||||
-rw-r--r-- | sys/arch/mvme68k/dev/vme.c | 7 | ||||
-rw-r--r-- | sys/arch/mvme88k/dev/bussw.c | 7 | ||||
-rw-r--r-- | sys/arch/mvme88k/dev/pcctwo.c | 7 | ||||
-rw-r--r-- | sys/arch/mvme88k/dev/syscon.c | 7 | ||||
-rw-r--r-- | sys/arch/mvme88k/dev/vme.c | 7 |
9 files changed, 9 insertions, 57 deletions
diff --git a/sys/arch/mvme68k/dev/ipic.c b/sys/arch/mvme68k/dev/ipic.c index a207a314b60..7959776c5b9 100644 --- a/sys/arch/mvme68k/dev/ipic.c +++ b/sys/arch/mvme68k/dev/ipic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipic.c,v 1.12 2004/01/14 20:50:48 miod Exp $ */ +/* $OpenBSD: ipic.c,v 1.13 2004/01/14 20:52:49 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -101,14 +101,6 @@ ipicscan(parent, child, args) caddr_t ipv, ipp; struct ipid *ipid; -#if 0 -/* XXX all these are indirect!! how to fix? */ - if (parent->dv_cfdata->cf_driver->cd_indirect) { - printf(" indirect devices not supported\n"); - return 0; - } -#endif - /* XXX can we determine IPIC_IPSPACE automatically? */ for (slot = 0; slot < sc->sc_nip; slot++) { ipp = sc->sc_ipspace + (slot * IPIC_IP_MODSIZE); diff --git a/sys/arch/mvme68k/dev/mc.c b/sys/arch/mvme68k/dev/mc.c index 5321984ef61..d0f400a6df5 100644 --- a/sys/arch/mvme68k/dev/mc.c +++ b/sys/arch/mvme68k/dev/mc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mc.c,v 1.13 2004/01/14 20:50:48 miod Exp $ */ +/* $OpenBSD: mc.c,v 1.14 2004/01/14 20:52:49 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -107,11 +107,6 @@ mc_scan(parent, child, args) struct mcsoftc *sc = (struct mcsoftc *)parent; struct confargs oca; - if (parent->dv_cfdata->cf_driver->cd_indirect) { - printf(" indirect devices not supported\n"); - return 0; - } - bzero(&oca, sizeof oca); oca.ca_offset = cf->cf_loc[0]; oca.ca_ipl = cf->cf_loc[1]; diff --git a/sys/arch/mvme68k/dev/pcc.c b/sys/arch/mvme68k/dev/pcc.c index 17bedcb2ba6..94f8250a6ee 100644 --- a/sys/arch/mvme68k/dev/pcc.c +++ b/sys/arch/mvme68k/dev/pcc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcc.c,v 1.11 2004/01/14 20:50:48 miod Exp $ */ +/* $OpenBSD: pcc.c,v 1.12 2004/01/14 20:52:49 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -106,11 +106,6 @@ pcc_scan(parent, child, args) struct pccsoftc *sc = (struct pccsoftc *)parent; struct confargs oca; - if (parent->dv_cfdata->cf_driver->cd_indirect) { - printf(" indirect devices not supported\n"); - return 0; - } - bzero(&oca, sizeof oca); oca.ca_offset = cf->cf_loc[0]; oca.ca_ipl = cf->cf_loc[1]; diff --git a/sys/arch/mvme68k/dev/pcctwo.c b/sys/arch/mvme68k/dev/pcctwo.c index a787787c574..ab7ce7c3cff 100644 --- a/sys/arch/mvme68k/dev/pcctwo.c +++ b/sys/arch/mvme68k/dev/pcctwo.c @@ -1,5 +1,5 @@ -/* $OpenBSD: pcctwo.c,v 1.11 2004/01/14 20:50:48 miod Exp $ */ +/* $OpenBSD: pcctwo.c,v 1.12 2004/01/14 20:52:49 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -109,11 +109,6 @@ pcctwo_scan(parent, child, args) struct pcctwosoftc *sc = (struct pcctwosoftc *)parent; struct confargs oca; - if (parent->dv_cfdata->cf_driver->cd_indirect) { - printf(" indirect devices not supported\n"); - return 0; - } - bzero(&oca, sizeof oca); oca.ca_offset = cf->cf_loc[0]; oca.ca_ipl = cf->cf_loc[1]; diff --git a/sys/arch/mvme68k/dev/vme.c b/sys/arch/mvme68k/dev/vme.c index 3c4cb9bb258..844ae9db77d 100644 --- a/sys/arch/mvme68k/dev/vme.c +++ b/sys/arch/mvme68k/dev/vme.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vme.c,v 1.18 2004/01/14 20:50:48 miod Exp $ */ +/* $OpenBSD: vme.c,v 1.19 2004/01/14 20:52:49 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -308,11 +308,6 @@ vmescan(parent, child, args, bustype) struct vmesoftc *sc = (struct vmesoftc *)parent; struct confargs oca; - if (parent->dv_cfdata->cf_driver->cd_indirect) { - printf(" indirect devices not supported\n"); - return 0; - } - bzero(&oca, sizeof oca); oca.ca_bustype = bustype; oca.ca_paddr = (void *)cf->cf_loc[0]; diff --git a/sys/arch/mvme88k/dev/bussw.c b/sys/arch/mvme88k/dev/bussw.c index a8e6c5a78c9..717e39f8b35 100644 --- a/sys/arch/mvme88k/dev/bussw.c +++ b/sys/arch/mvme88k/dev/bussw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bussw.c,v 1.10 2004/01/14 20:50:48 miod Exp $ */ +/* $OpenBSD: bussw.c,v 1.11 2004/01/14 20:52:52 miod Exp $ */ /* * Copyright (c) 1999 Steve Murphree, Jr. @@ -134,11 +134,6 @@ bussw_scan(parent, child, args) struct bussw_softc *sc = (struct bussw_softc *)parent; struct confargs oca; - if (parent->dv_cfdata->cf_driver->cd_indirect) { - printf(" indirect devices not supported\n"); - return 0; - } - bzero(&oca, sizeof oca); oca.ca_offset = cf->cf_loc[0]; oca.ca_ipl = cf->cf_loc[1]; diff --git a/sys/arch/mvme88k/dev/pcctwo.c b/sys/arch/mvme88k/dev/pcctwo.c index d8b74b84b8a..59480df66ff 100644 --- a/sys/arch/mvme88k/dev/pcctwo.c +++ b/sys/arch/mvme88k/dev/pcctwo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcctwo.c,v 1.20 2004/01/14 20:50:48 miod Exp $ */ +/* $OpenBSD: pcctwo.c,v 1.21 2004/01/14 20:52:52 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt * All rights reserved. @@ -131,11 +131,6 @@ pcctwo_scan(parent, child, args) struct pcctwosoftc *sc = (struct pcctwosoftc *)parent; struct confargs oca; - if (parent->dv_cfdata->cf_driver->cd_indirect) { - printf(" indirect devices not supported\n"); - return 0; - } - bzero(&oca, sizeof oca); oca.ca_offset = cf->cf_loc[0]; oca.ca_ipl = cf->cf_loc[1]; diff --git a/sys/arch/mvme88k/dev/syscon.c b/sys/arch/mvme88k/dev/syscon.c index 16dcc46ec16..a78d6f86d3e 100644 --- a/sys/arch/mvme88k/dev/syscon.c +++ b/sys/arch/mvme88k/dev/syscon.c @@ -1,4 +1,4 @@ -/* $OpenBSD: syscon.c,v 1.14 2004/01/14 20:50:48 miod Exp $ */ +/* $OpenBSD: syscon.c,v 1.15 2004/01/14 20:52:52 miod Exp $ */ /* * Copyright (c) 1999 Steve Murphree, Jr. * All rights reserved. @@ -149,11 +149,6 @@ syscon_scan(parent, child, args) struct sysconsoftc *sc = (struct sysconsoftc *)parent; struct confargs oca; - if (parent->dv_cfdata->cf_driver->cd_indirect) { - printf(" indirect devices not supported\n"); - return 0; - } - bzero(&oca, sizeof oca); oca.ca_offset = cf->cf_loc[0]; oca.ca_ipl = cf->cf_loc[1]; diff --git a/sys/arch/mvme88k/dev/vme.c b/sys/arch/mvme88k/dev/vme.c index 640fb350a30..c28dbca99d7 100644 --- a/sys/arch/mvme88k/dev/vme.c +++ b/sys/arch/mvme88k/dev/vme.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vme.c,v 1.28 2004/01/14 20:50:48 miod Exp $ */ +/* $OpenBSD: vme.c,v 1.29 2004/01/14 20:52:52 miod Exp $ */ /* * Copyright (c) 1999 Steve Murphree, Jr. * Copyright (c) 1995 Theo de Raadt @@ -252,11 +252,6 @@ vmescan(parent, child, args, bustype) struct confargs oca; size_t len; - if (parent->dv_cfdata->cf_driver->cd_indirect) { - printf(" indirect devices not supported\n"); - return 0; - } - bzero(&oca, sizeof oca); oca.ca_bustype = bustype; oca.ca_paddr = (void *)cf->cf_loc[0]; |