Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include/booke fix offset value of RBASEn.



details:   https://anonhg.NetBSD.org/src/rev/eaa9ccec7d7d
branches:  trunk
changeset: 336334:eaa9ccec7d7d
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Thu Feb 26 02:21:38 2015 +0000

description:
fix offset value of RBASEn.

diffstat:

 sys/arch/powerpc/include/booke/etsecreg.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 072c78a77291 -r eaa9ccec7d7d sys/arch/powerpc/include/booke/etsecreg.h
--- a/sys/arch/powerpc/include/booke/etsecreg.h Thu Feb 26 02:05:54 2015 +0000
+++ b/sys/arch/powerpc/include/booke/etsecreg.h Thu Feb 26 02:21:38 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: etsecreg.h,v 1.6 2015/02/17 01:53:21 nonaka Exp $      */
+/*     $NetBSD: etsecreg.h,v 1.7 2015/02/26 02:21:38 nonaka Exp $      */
 /*-
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -355,7 +355,7 @@
 #define RBASE5         0x42C /* RxBD base address of ring 5 [TSEC3] */
 #define RBASE6         0x434 /* RxBD base address of ring 6 [TSEC3] */
 #define RBASE7         0x43C /* RxBD base address of ring 7 [TSEC3] */
-#define RBASEn(n)      (RBASE0 + 4*(n))
+#define RBASEn(n)      (RBASE0 + 8*(n))
 #define TMR_RXTS_H     0x4C0 /* Rx timer time stamp register high [TSEC3] */
 #define TMR_RXTS_L     0x4C4 /* Rx timer time stamp register low [TSEC3] */
 



Home | Main Index | Thread Index | Old Index