From 6d17e46779590d85228dfab86c00fd2ca968fa31 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Fri, 2 Jul 2004 17:57:33 +0000 Subject: 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. --- sys/arch/mvme68k/dev/pcc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/arch/mvme68k/dev/pcc.c') 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); -- cgit v1.2.3