From c2cfca5232a4eb53c0e3a21c720c4e647825e73a Mon Sep 17 00:00:00 2001 From: matt Date: Thu, 9 Jun 2011 19:11:06 +0000 Subject: [PATCH] Fix ATTR register definitions --- sys/arch/powerpc/include/booke/etsecreg.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/arch/powerpc/include/booke/etsecreg.h b/sys/arch/powerpc/include/booke/etsecreg.h index a2538c51937f..2efa6f6ef188 100644 --- a/sys/arch/powerpc/include/booke/etsecreg.h +++ b/sys/arch/powerpc/include/booke/etsecreg.h @@ -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 @@ struct rxfcb { /* 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 */