summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1998-09-16 08:23:51 +0000
committerDoug Rabson <dfr@FreeBSD.org>1998-09-16 08:23:51 +0000
commitf9f51c39c3379c35a1bd587cd9704665ea614ca7 (patch)
tree8b25d284e968fd4834d2c124497746a4464f61e1 /sys
parent129957363e701a32b58fe94f51d369fd22f47946 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/alpha/isa/isa.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/alpha/isa/isa.c b/sys/alpha/isa/isa.c
index e421f71d9539..1437a2a87979 100644
--- a/sys/alpha/isa/isa.c
+++ b/sys/alpha/isa/isa.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: isa.c,v 1.2 1998/07/27 09:38:26 dfr Exp $
+ * $Id: isa.c,v 1.3 1998/08/10 07:53:59 dfr Exp $
*/
#include <sys/param.h>
@@ -195,6 +195,13 @@ extern device_t isa_bus_device;
static int
isa_attach(device_t dev)
{
+ if (bootverbose)
+ printf("isa_attach: mask=%04x\n", isa_irq_mask());
+
+ /* mask all isa interrupts */
+ outb(IO_ICU1+1, 0xff);
+ outb(IO_ICU2+1, 0xff);
+
/* make sure chaining irq is enabled */
isa_intr_enable(2);