diff options
| author | msaitoh <msaitoh@NetBSD.org> | 2017-10-24 08:32:41 +0000 |
|---|---|---|
| committer | msaitoh <msaitoh@NetBSD.org> | 2017-10-24 08:32:41 +0000 |
| commit | 34eeb05c7dc07d08d5b07415aac6c8dc6de957ea (patch) | |
| tree | 67201577174bc022b07dc1c10c97f2555d9e1ab4 /sys/dev | |
| parent | 93666ffe1a1e0aeeb2d164f4f5b6eaca81ea27dc (diff) | |
Print Error Source Identification register correctly.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pci/pci_subr.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/pci/pci_subr.c b/sys/dev/pci/pci_subr.c index 79e04de3a01..9bf1c7dd5e1 100644 --- a/sys/dev/pci/pci_subr.c +++ b/sys/dev/pci/pci_subr.c @@ -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 *regs, int capoff, int extcapoff) 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; } |
