Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbsh5/dev Enable the NMI only if DDB is defined, i...
details: https://anonhg.NetBSD.org/src/rev/afda73ec7e61
branches: trunk
changeset: 538554:afda73ec7e61
user: scw <scw%NetBSD.org@localhost>
date: Tue Oct 22 14:38:26 2002 +0000
description:
Enable the NMI only if DDB is defined, instead of DEBUG.
diffstat:
sys/arch/evbsh5/dev/sysfpga.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r b010725ddc49 -r afda73ec7e61 sys/arch/evbsh5/dev/sysfpga.c
--- a/sys/arch/evbsh5/dev/sysfpga.c Tue Oct 22 14:17:34 2002 +0000
+++ b/sys/arch/evbsh5/dev/sysfpga.c Tue Oct 22 14:38:26 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysfpga.c,v 1.13 2002/10/22 14:17:34 scw Exp $ */
+/* $NetBSD: sysfpga.c,v 1.14 2002/10/22 14:38:26 scw Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@@ -39,6 +39,7 @@
#include "sh5pci.h"
#include "superio.h"
+#include "opt_ddb.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -243,7 +244,7 @@
EVCNT_TYPE_INTR, ev, sysfpga_intr, "pci2");
#endif
-#ifdef DEBUG
+#ifdef DDB
sysfpga_reg_write(sc, SYSFPGA_REG_NMIMR, 1);
#endif
Home |
Main Index |
Thread Index |
Old Index