Module Name: src Committed By: msaitoh Date: Fri Nov 13 03:56:44 UTC 2015
Modified Files: src/sys/dev/pci: pci_subr.c Log Message: Fix register offset to print HyperTransport registers correctly. To generate a diff of this commit: cvs rdiff -u -r1.141 -r1.142 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.141 src/sys/dev/pci/pci_subr.c:1.142 --- src/sys/dev/pci/pci_subr.c:1.141 Thu Nov 12 12:17:59 2015 +++ src/sys/dev/pci/pci_subr.c Fri Nov 13 03:56:44 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: pci_subr.c,v 1.141 2015/11/12 12:17:59 msaitoh Exp $ */ +/* $NetBSD: pci_subr.c,v 1.142 2015/11/13 03:56:44 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.141 2015/11/12 12:17:59 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.142 2015/11/13 03:56:44 msaitoh Exp $"); #ifdef _KERNEL_OPT #include "opt_pci.h" @@ -1320,7 +1320,7 @@ pci_conf_print_ht_cap(const pcireg_t *re } printf("(%s)\n", ht_captab[off].name); if (ht_captab[off].printfunc != NULL) - ht_captab[off].printfunc(regs, off); + ht_captab[off].printfunc(regs, capoff); } static void