summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/dev/pcc.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-07-02 17:57:33 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-07-02 17:57:33 +0000
commit6d17e46779590d85228dfab86c00fd2ca968fa31 (patch)
tree3097714167fa8f2f165cfcac672803d327dace96 /sys/arch/mvme68k/dev/pcc.c
parentf8970b7c5d896f4ad492d9bd802ea350e715efb5 (diff)
Kill ca_master in autoconf structures. Drivers either only attach to one
specific bus (mc/pcc/pcctwo), or they know it from the ca_bustype value, and can use the globals sys_busname variables. This also allows for some code simplifications.
Diffstat (limited to 'sys/arch/mvme68k/dev/pcc.c')
-rw-r--r--sys/arch/mvme68k/dev/pcc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/mvme68k/dev/pcc.c b/sys/arch/mvme68k/dev/pcc.c
index 94f8250a6ee..cffe31650c2 100644
--- a/sys/arch/mvme68k/dev/pcc.c
+++ b/sys/arch/mvme68k/dev/pcc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcc.c,v 1.12 2004/01/14 20:52:49 miod Exp $ */
+/* $OpenBSD: pcc.c,v 1.13 2004/07/02 17:57:29 miod Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -117,7 +117,6 @@ pcc_scan(parent, child, args)
oca.ca_paddr = (void *)-1;
}
oca.ca_bustype = BUS_PCC;
- oca.ca_master = (void *)sc->sc_pcc;
oca.ca_name = cf->cf_driver->cd_name;
if ((*cf->cf_attach->ca_match)(parent, cf, &oca) == 0)
return (0);