summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-07-02 11:19:59 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-07-02 11:19:59 +0000
commitad9c070d3759af16081af926b1fc2ae443f0b417 (patch)
tree0730c4ce9a62d0e5a9bab063cdca5a6fe4aeed9a /sys
parent48fb4fe5589d4c3f4716da7d2063792aa51cf56e (diff)
Be sure to fill intrhand structures correctly.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mvme88k/dev/cl.c8
-rw-r--r--sys/arch/mvme88k/dev/if_le.c3
2 files changed, 6 insertions, 5 deletions
diff --git a/sys/arch/mvme88k/dev/cl.c b/sys/arch/mvme88k/dev/cl.c
index 4044f457283..9e76df0dce2 100644
--- a/sys/arch/mvme88k/dev/cl.c
+++ b/sys/arch/mvme88k/dev/cl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cl.c,v 1.45 2004/04/29 16:20:02 miod Exp $ */
+/* $OpenBSD: cl.c,v 1.46 2004/07/02 11:19:58 miod Exp $ */
/*
* Copyright (c) 1995 Dale Rahn. All rights reserved.
@@ -344,17 +344,17 @@ clattach(parent, self, aux)
sc->sc_ih_m.ih_fn = cl_mintr;
sc->sc_ih_m.ih_arg = sc;
- sc->sc_ih_e.ih_wantframe = 0;
+ sc->sc_ih_m.ih_wantframe = 0;
sc->sc_ih_m.ih_ipl = ca->ca_ipl;
sc->sc_ih_t.ih_fn = cl_txintr;
sc->sc_ih_t.ih_arg = sc;
- sc->sc_ih_e.ih_wantframe = 0;
+ sc->sc_ih_t.ih_wantframe = 0;
sc->sc_ih_t.ih_ipl = ca->ca_ipl;
sc->sc_ih_r.ih_fn = cl_rxintr;
sc->sc_ih_r.ih_arg = sc;
- sc->sc_ih_e.ih_wantframe = 0;
+ sc->sc_ih_r.ih_wantframe = 0;
sc->sc_ih_r.ih_ipl = ca->ca_ipl;
pcctwointr_establish(PCC2V_SCC_RXE, &sc->sc_ih_e);
diff --git a/sys/arch/mvme88k/dev/if_le.c b/sys/arch/mvme88k/dev/if_le.c
index 6f7e79ebfc3..4b1a26e96ea 100644
--- a/sys/arch/mvme88k/dev/if_le.c
+++ b/sys/arch/mvme88k/dev/if_le.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_le.c,v 1.7 2004/05/17 08:36:22 miod Exp $ */
+/* $OpenBSD: if_le.c,v 1.8 2004/07/02 11:19:58 miod Exp $ */
/*-
* Copyright (c) 1982, 1992, 1993
@@ -364,6 +364,7 @@ leattach(parent, self, aux)
/* connect the interrupt */
lesc->sc_ih.ih_fn = vle_intr;
lesc->sc_ih.ih_arg = sc;
+ lesc->sc_ih.ih_wantframe = 0;
lesc->sc_ih.ih_ipl = ca->ca_ipl;
vmeintr_establish(ca->ca_vec, &lesc->sc_ih);
}