diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-04-07 16:49:03 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-04-07 16:49:03 +0000 |
commit | 69ad5e1459559a1339ddeb4cc3c6010b16177547 (patch) | |
tree | c7e1180cfe713ad5cda4f6adf02a8e6a61831d4c /sys/arch | |
parent | e8b12d6527ef917f25cc2682270753091114704d (diff) |
this makes wax interrupt
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/hppa/dev/wax.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/hppa/dev/wax.c b/sys/arch/hppa/dev/wax.c index 118c1ffd9c4..ba613a5fcd9 100644 --- a/sys/arch/hppa/dev/wax.c +++ b/sys/arch/hppa/dev/wax.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wax.c,v 1.3 2003/04/03 21:45:14 mickey Exp $ */ +/* $OpenBSD: wax.c,v 1.4 2003/04/07 16:49:02 mickey Exp $ */ /* * Copyright (c) 1998,2003 Michael Shalayeff @@ -99,6 +99,7 @@ waxattach(parent, self, aux) struct confargs *ca = aux; struct gsc_attach_args ga; bus_space_handle_t ioh; + int s, in; if (bus_space_map(ca->ca_iot, ca->ca_hpa + 0xc000, IOMOD_HPASIZE, 0, &ioh)) { @@ -112,7 +113,6 @@ waxattach(parent, self, aux) printf("\n"); -#if 0 /* interrupts guts */ s = splhigh(); sc->sc_regs->wax_iar = cpu_gethpa(0) | (31 - ca->ca_irq); @@ -121,7 +121,6 @@ waxattach(parent, self, aux) in = sc->sc_regs->wax_irr; sc->sc_regs->wax_imr = 0; splx(s); -#endif sc->sc_ic.gsc_type = gsc_wax; sc->sc_ic.gsc_dv = sc; |