diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-07-02 17:57:33 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-07-02 17:57:33 +0000 |
commit | 6d17e46779590d85228dfab86c00fd2ca968fa31 (patch) | |
tree | 3097714167fa8f2f165cfcac672803d327dace96 /sys/arch/mvme68k/dev/if_le.c | |
parent | f8970b7c5d896f4ad492d9bd802ea350e715efb5 (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/if_le.c')
-rw-r--r-- | sys/arch/mvme68k/dev/if_le.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme68k/dev/if_le.c b/sys/arch/mvme68k/dev/if_le.c index df91845d4b2..e08b1f059a6 100644 --- a/sys/arch/mvme68k/dev/if_le.c +++ b/sys/arch/mvme68k/dev/if_le.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_le.c,v 1.26 2004/04/29 06:23:44 miod Exp $ */ +/* $OpenBSD: if_le.c,v 1.27 2004/07/02 17:57:29 miod Exp $ */ /*- * Copyright (c) 1982, 1992, 1993 @@ -416,7 +416,7 @@ leattach(parent, self, aux) lesc->sc_ih.ih_arg = sc; lesc->sc_ih.ih_ipl = pri; pccintr_establish(PCCV_LE, &lesc->sc_ih); - ((struct pccreg *)ca->ca_master)->pcc_leirq = pri | PCC_IRQ_IEN; + sys_pcc->pcc_leirq = pri | PCC_IRQ_IEN; break; #endif } |