Module Name:    src
Committed By:   matt
Date:           Thu Jun  9 19:11:06 UTC 2011

Modified Files:
        src/sys/arch/powerpc/include/booke: etsecreg.h

Log Message:
Fix ATTR register definitions


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/powerpc/include/booke/etsecreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/powerpc/include/booke/etsecreg.h
diff -u src/sys/arch/powerpc/include/booke/etsecreg.h:1.2 src/sys/arch/powerpc/include/booke/etsecreg.h:1.3
--- src/sys/arch/powerpc/include/booke/etsecreg.h:1.2	Tue Jan 18 01:02:54 2011
+++ src/sys/arch/powerpc/include/booke/etsecreg.h	Thu Jun  9 19:11:06 2011
@@ -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 */

Reply via email to