Module Name:    src
Committed By:   msaitoh
Date:           Tue Oct 24 08:32:42 UTC 2017

Modified Files:
        src/sys/dev/pci: pci_subr.c

Log Message:
 Print Error Source Identification register correctly.


To generate a diff of this commit:
cvs rdiff -u -r1.194 -r1.195 src/sys/dev/pci/pci_subr.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/dev/pci/pci_subr.c
diff -u src/sys/dev/pci/pci_subr.c:1.194 src/sys/dev/pci/pci_subr.c:1.195
--- src/sys/dev/pci/pci_subr.c:1.194	Thu Oct 19 05:52:57 2017
+++ src/sys/dev/pci/pci_subr.c	Tue Oct 24 08:32:41 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: pci_subr.c,v 1.194 2017/10/19 05:52:57 msaitoh Exp $	*/
+/*	$NetBSD: pci_subr.c,v 1.195 2017/10/24 08:32:41 msaitoh Exp $	*/
 
 /*
  * Copyright (c) 1997 Zubin D. Dittia.  All rights reserved.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.194 2017/10/19 05:52:57 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.195 2017/10/24 08:32:41 msaitoh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_pci.h"
@@ -2692,7 +2692,8 @@ pci_conf_print_aer_cap(const pcireg_t *r
 		pci_conf_print_aer_cap_rooterr_status(reg);
 
 		reg = regs[o2i(extcapoff + PCI_AER_ERRSRC_ID)];
-		printf("    Error Source Identification: 0x%04x\n", reg);
+		printf("    Error Source Identification register: 0x%08x\n",
+		    reg);
 		pci_conf_print_aer_cap_errsrc_id(reg);
 		break;
 	}

Reply via email to