Module Name:    src
Committed By:   tsutsui
Date:           Thu Feb 11 02:37:11 UTC 2021

Modified Files:
        src/sys/arch/x68k/x68k: machdep.c

Log Message:
Fix a message for NMI.

Maybe the "keyboard NMI" message was derived from hp300 but
on X68030 NMI is triggered by the NMI button, and there is no
parity check.


To generate a diff of this commit:
cvs rdiff -u -r1.204 -r1.205 src/sys/arch/x68k/x68k/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x68k/x68k/machdep.c
diff -u src/sys/arch/x68k/x68k/machdep.c:1.204 src/sys/arch/x68k/x68k/machdep.c:1.205
--- src/sys/arch/x68k/x68k/machdep.c:1.204	Sun Feb  7 15:51:11 2021
+++ src/sys/arch/x68k/x68k/machdep.c	Thu Feb 11 02:37:11 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.204 2021/02/07 15:51:11 tsutsui Exp $	*/
+/*	$NetBSD: machdep.c,v 1.205 2021/02/11 02:37:11 tsutsui Exp $	*/
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.204 2021/02/07 15:51:11 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.205 2021/02/11 02:37:11 tsutsui Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -957,7 +957,7 @@ candbtimer(void *arg)
 #endif
 
 /*
- * Level 7 interrupts can be caused by the keyboard or parity errors.
+ * Level 7 interrupts can be caused by the NMI button.
  */
 void
 nmihand(struct frame frame)
@@ -975,7 +975,7 @@ nmihand(struct frame frame)
 		 */
 		if (innmihand == 0) {
 			innmihand = 1;
-			printf("Got a keyboard NMI\n");
+			printf("NMI button pressed\n");
 			innmihand = 0;
 		}
 #ifdef DDB

Reply via email to