Module Name: src
Committed By: jdc
Date: Sun Apr 7 16:32:41 UTC 2013
Modified Files:
src/sys/arch/sparc/sparc: intr.c
Log Message:
When we receive a PCI PIO error, print the PCIC status register too.
To generate a diff of this commit:
cvs rdiff -u -r1.116 -r1.117 src/sys/arch/sparc/sparc/intr.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/sparc/sparc/intr.c
diff -u src/sys/arch/sparc/sparc/intr.c:1.116 src/sys/arch/sparc/sparc/intr.c:1.117
--- src/sys/arch/sparc/sparc/intr.c:1.116 Fri Apr 13 06:26:04 2012
+++ src/sys/arch/sparc/sparc/intr.c Sun Apr 7 16:32:41 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.c,v 1.116 2012/04/13 06:26:04 mrg Exp $ */
+/* $NetBSD: intr.c,v 1.117 2013/04/07 16:32:41 jdc Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.116 2012/04/13 06:26:04 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.117 2013/04/07 16:32:41 jdc Exp $");
#include "opt_multiprocessor.h"
#include "opt_sparc_arch.h"
@@ -443,9 +443,10 @@ nmi_hard_msiiep(void)
}
if (si & MSIIEP_SYS_IPR_PIO_ERR) {
- printf("pio: addr=%08x, cmd=%x\n",
+ printf("pio: addr=%08x, cmd=%x stat=%04x\n",
mspcic_read_stream_4(pcic_pio_err_addr),
- mspcic_read_stream_1(pcic_pio_err_cmd));
+ mspcic_read_stream_1(pcic_pio_err_cmd),
+ mspcic_read_stream_2(pcic_stat));
fatal = 0;
}