summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-12-04 05:40:15 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-12-04 05:40:15 +0000
commit8e5aef49c27d287819a82cc1208d986bf537b16b (patch)
treeff6ec2432162ba9b57afa4bdeacf90e5e0e59073 /sys
parent9f9cccfa27d60178d5d40f930fc5b8f2615bb069 (diff)
Program the abort interrupt source correctly.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mvme88k/dev/bussw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/dev/bussw.c b/sys/arch/mvme88k/dev/bussw.c
index f15038d220e..2b283a6c544 100644
--- a/sys/arch/mvme88k/dev/bussw.c
+++ b/sys/arch/mvme88k/dev/bussw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bussw.c,v 1.17 2006/05/08 14:36:10 miod Exp $ */
+/* $OpenBSD: bussw.c,v 1.18 2007/12/04 05:40:14 miod Exp $ */
/*
* Copyright (c) 1999 Steve Murphree, Jr.
*
@@ -120,7 +120,7 @@ bussw_attach(parent, self, args)
busswintr_establish(BS_ABORTIRQ, &sc->sc_abih, "abort");
bus_space_write_1(sc->sc_iot, ioh, BS_ABORT,
- bus_space_read_4(sc->sc_iot, ioh, BS_ABORT) | BS_ABORT_IEN);
+ bus_space_read_1(sc->sc_iot, ioh, BS_ABORT) | BS_ABORT_IEN);
printf(": rev %x\n",
bus_space_read_1(sc->sc_iot, ioh, BS_CHIPREV));