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 ATTR register definitions
details: https://anonhg.NetBSD.org/src/rev/a0ecb26cef5b
branches: trunk
changeset: 765906:a0ecb26cef5b
user: matt <matt%NetBSD.org@localhost>
date: Thu Jun 09 19:11:06 2011 +0000
description:
Fix ATTR register definitions
diffstat:
sys/arch/powerpc/include/booke/etsecreg.h | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (28 lines):
diff -r ebedb312c186 -r a0ecb26cef5b sys/arch/powerpc/include/booke/etsecreg.h
--- a/sys/arch/powerpc/include/booke/etsecreg.h Thu Jun 09 19:10:37 2011 +0000
+++ b/sys/arch/powerpc/include/booke/etsecreg.h Thu Jun 09 19:11:06 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: etsecreg.h,v 1.2 2011/01/18 01:02:54 matt Exp $ */
+/* $NetBSD: etsecreg.h,v 1.3 2011/06/09 19:11:06 matt Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -515,13 +515,13 @@
/* 0xb00-0xbff DMA system registers */
#define ATTR 0xBF8 /* Attribute register */
-#define ATTR_ELCWR __PPCBITS(17,18)
-#define ATTR_ELCWR_L2 __SHIFTIN(2, ATTR_ELCWR)
-#define ATTR_BDCWR __PPCBITS(20,21)
-#define ATTR_BDCWR_L2 __SHIFTIN(2, ATTR_BDCWR)
+#define ATTR_ELCWT __PPCBITS(17,18)
+#define ATTR_ELCWT_L2 __SHIFTIN(2, ATTR_ELCWT)
+#define ATTR_BDLWT __PPCBITS(20,21)
+#define ATTR_BDLWT_L2 __SHIFTIN(2, ATTR_BDLWT)
#define ATTR_RDSEN __PPCBIT(24)
#define ATTR_RBDSEN __PPCBIT(25)
-#define ATTR_DEFAULT (ATTR_ELCWR_L2|ATTR_BDCWR_L2|ATTR_RDSEND|ATTR_RBDSEN)
+#define ATTR_DEFAULT (ATTR_ELCWT_L2|ATTR_BDLWT_L2|ATTR_RDSEN|ATTR_RBDSEN)
#define ATTRELI 0xBFC /* Attribute extract length and extract index register [TSEC3] */
#define ATTRELI_EL __PPCBITS(2,12) /* extracted length */
Home |
Main Index |
Thread Index |
Old Index