summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-02-05 06:50:24 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-02-05 06:50:24 +0000
commitbe2c6911b722d0d5d198b292186737bf0d7cec47 (patch)
tree943d482b126235afcf236279861b7c294aad14f8
parent8003d23058557e9a839576ac230c0cca74bbcd19 (diff)
get rid of the borrowed habits in intr handling
-rw-r--r--sys/arch/hppa/dev/lasi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/hppa/dev/lasi.c b/sys/arch/hppa/dev/lasi.c
index 99349a88114..8c3ed56d7e3 100644
--- a/sys/arch/hppa/dev/lasi.c
+++ b/sys/arch/hppa/dev/lasi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lasi.c,v 1.5 2002/02/03 01:50:20 mickey Exp $ */
+/* $OpenBSD: lasi.c,v 1.6 2002/02/05 06:50:23 mickey Exp $ */
/*
* Copyright (c) 1998-2002 Michael Shalayeff
@@ -195,8 +195,7 @@ lasi_intr_check(v)
imr = sc->sc_trs->lasi_imr;
ipr = sc->sc_trs->lasi_ipr;
irr = sc->sc_trs->lasi_irr;
- sc->sc_trs->lasi_imr = 0;
- sc->sc_trs->lasi_imr = imr &= ~irr;
+ sc->sc_trs->lasi_irr = irr;
#ifdef LASIDEBUG
printf ("%s: imr=0x%x, irr=0x%x, ipr=0x%x, iar=0x%x, icr=0x%x\n",