diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-07-09 15:57:17 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-07-09 15:57:17 +0000 |
commit | fe859c06cf60db912ac03d66f1dc8d70b91bd189 (patch) | |
tree | 96c1f41c1c2483cde07a7f537ee9611a9eb59c17 | |
parent | 40c64af47a1d6d623e07fafddf5c8f85de5a4a21 (diff) |
qbus vector counting, too; from hugh
-rw-r--r-- | sys/arch/vax/qbus/dz_uba.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/arch/vax/qbus/dz_uba.c b/sys/arch/vax/qbus/dz_uba.c index b0b8168a17b..9a342aeccf3 100644 --- a/sys/arch/vax/qbus/dz_uba.c +++ b/sys/arch/vax/qbus/dz_uba.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dz_uba.c,v 1.4 2002/03/14 01:26:48 millert Exp $ */ +/* $OpenBSD: dz_uba.c,v 1.5 2004/07/09 15:57:16 deraadt Exp $ */ /* $NetBSD: dz_uba.c,v 1.11 2000/06/04 06:17:02 matt Exp $ */ /* * Copyright (c) 1998 Ludd, University of Lule}, Sweden. All rights reserved. @@ -135,5 +135,12 @@ dz_uba_attach(parent, self, aux) dzrint, sc, &sc->sc_rintrcnt); uba_reset_establish(dzreset, self); + sc->sc_rcvec = ua->ua_cvec - 4; + evcount_attach(&sc->sc_rintrcnt, sc->sc_dev.dv_xname, + (void *)&sc->sc_rcvec, &evcount_intr); + sc->sc_tcvec = ua->ua_cvec; + evcount_attach(&sc->sc_tintrcnt, sc->sc_dev.dv_xname, + (void *)&sc->sc_tcvec, &evcount_intr); + dzattach(sc); } |