If DEBUG is defined, enable Cayman's NMI button.

This commit is contained in:
scw 2002-08-31 09:30:02 +00:00
parent da6c509ffa
commit 9c10dc5c22
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: sysfpga.c,v 1.2 2002/08/30 11:03:25 scw Exp $ */
/* $NetBSD: sysfpga.c,v 1.3 2002/08/31 09:30:02 scw Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@ -163,6 +163,10 @@ sysfpgaattach(struct device *parent, struct device *self, void *args)
if (sc->sc_ih[SYSFPGA_IGROUP_SUPERIO] == NULL)
panic("sysfpga: failed to register superio isr");
#ifdef DEBUG
sysfpga_reg_write(sc, SYSFPGA_REG_NMIMR, 1);
#endif
/*
* Attach configured children
*/