Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Fix 0x%u...
details: https://anonhg.NetBSD.org/src/rev/f24d4e31f538
branches: trunk
changeset: 821983:f24d4e31f538
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Fri Feb 24 05:04:46 2017 +0000
description:
Fix 0x%u...
diffstat:
sys/dev/pci/pci_subr.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 1429b2f892f8 -r f24d4e31f538 sys/dev/pci/pci_subr.c
--- a/sys/dev/pci/pci_subr.c Fri Feb 24 03:44:54 2017 +0000
+++ b/sys/dev/pci/pci_subr.c Fri Feb 24 05:04:46 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_subr.c,v 1.157 2017/02/15 06:53:55 msaitoh Exp $ */
+/* $NetBSD: pci_subr.c,v 1.158 2017/02/24 05:04:46 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.157 2017/02/15 06:53:55 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.158 2017/02/24 05:04:46 msaitoh Exp $");
#ifdef _KERNEL_OPT
#include "opt_pci.h"
@@ -2370,7 +2370,7 @@
onoff("First Uncorrectable Fatal", reg, PCI_AER_ROOTERR_FIRST_UC_FATAL);
onoff("Non-Fatal Error Messages Received", reg, PCI_AER_ROOTERR_NF_ERR);
onoff("Fatal Error Messages Received", reg, PCI_AER_ROOTERR_F_ERR);
- printf(" Advanced Error Interrupt Message Number: 0x%u\n",
+ printf(" Advanced Error Interrupt Message Number: 0x%02x\n",
(pcireg_t)__SHIFTOUT(reg, PCI_AER_ROOTERR_INT_MESSAGE));
}
@@ -2930,7 +2930,7 @@
onoff("ARI Capable Hierarchy Preserved", reg,
PCI_SRIOV_CAP_ARI_CAP_HIER_PRESERVED);
if (reg & PCI_SRIOV_CAP_VF_MIGRATION) {
- printf(" VF Migration Interrupt Message Number: 0x%u\n",
+ printf(" VF Migration Interrupt Message Number: 0x%03x\n",
(pcireg_t)__SHIFTOUT(reg,
PCI_SRIOV_CAP_VF_MIGRATION_INTMSG_N));
}
Home |
Main Index |
Thread Index |
Old Index