Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/cavium/dev Fix coreX/IP4 summary register offsets



details:   https://anonhg.NetBSD.org/src/rev/a6e4d12f086a
branches:  trunk
changeset: 1012067:a6e4d12f086a
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon Jul 20 17:56:13 2020 +0000

description:
Fix coreX/IP4 summary register offsets

diffstat:

 sys/arch/mips/cavium/dev/octeon_ciureg.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4fc3d661c96f -r a6e4d12f086a sys/arch/mips/cavium/dev/octeon_ciureg.h
--- a/sys/arch/mips/cavium/dev/octeon_ciureg.h  Mon Jul 20 16:55:10 2020 +0000
+++ b/sys/arch/mips/cavium/dev/octeon_ciureg.h  Mon Jul 20 17:56:13 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: octeon_ciureg.h,v 1.10 2020/07/17 21:59:30 jmcneill Exp $      */
+/*     $NetBSD: octeon_ciureg.h,v 1.11 2020/07/20 17:56:13 jmcneill Exp $      */
 
 /*
  * Copyright (c) 2007 Internet Initiative Japan, Inc.
@@ -85,7 +85,7 @@
 #define        CIU_PCI_INTA                            UINT64_C(0x0001070000000750)
 #define        CIU_INT4_SUM0                           UINT64_C(0x0001070000000c00)
 #define        CIU_INT4_SUM1                           UINT64_C(0x0001070000000c08)
-#define        CIU_IP4_SUM0(n)                         (CIU_INT4_SUM0 + 0x10 * (n))
+#define        CIU_IP4_SUM0(n)                         (CIU_INT4_SUM0 + 0x8 * (n))
 #define        CIU_INT4_EN00                           UINT64_C(0x0001070000000c80)
 #define        CIU_INT4_EN01                           UINT64_C(0x0001070000000c88)
 #define        CIU_INT4_EN10                           UINT64_C(0x0001070000000c90)



Home | Main Index | Thread Index | Old Index