diff options
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sgi/localbus/macebus.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/sgi/localbus/macebus.c b/sys/arch/sgi/localbus/macebus.c index eab0e9a23f6..0d87778b3db 100644 --- a/sys/arch/sgi/localbus/macebus.c +++ b/sys/arch/sgi/localbus/macebus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: macebus.c,v 1.28 2007/10/13 06:25:48 miod Exp $ */ +/* $OpenBSD: macebus.c,v 1.29 2007/10/14 11:18:42 jsing Exp $ */ /* * Copyright (c) 2000-2004 Opsycon AB (www.opsycon.se) @@ -240,7 +240,9 @@ macebusattach(struct device *parent, struct device *self, void *aux) return; } - bus_space_write_8(&macebus_tag, mace_h, MACE_ISA_INT_MASK, 0xffffffff); + /* Turn on all interrupts except for MACE compare/timer. */ + bus_space_write_8(&macebus_tag, mace_h, MACE_ISA_INT_MASK, + 0xffffffff & ~MACE_ISA_INT_TIMER); bus_space_write_8(&macebus_tag, mace_h, MACE_ISA_INT_STAT, 0); /* |