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 register offset to print HyperTransport regi...



details:   https://anonhg.NetBSD.org/src/rev/a0693e1c1fa4
branches:  trunk
changeset: 811739:a0693e1c1fa4
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri Nov 13 03:56:44 2015 +0000

description:
Fix register offset to print HyperTransport registers correctly.

diffstat:

 sys/dev/pci/pci_subr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b5ff11911d1e -r a0693e1c1fa4 sys/dev/pci/pci_subr.c
--- a/sys/dev/pci/pci_subr.c    Fri Nov 13 01:37:19 2015 +0000
+++ b/sys/dev/pci/pci_subr.c    Fri Nov 13 03:56:44 2015 +0000
@@ -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 @@
        }
        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



Home | Main Index | Thread Index | Old Index