Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/xscale Actually make a bitmask for ICU_INT_HWMASK.



details:   https://anonhg.NetBSD.org/src/rev/af6893b36018
branches:  trunk
changeset: 542756:af6893b36018
user:      briggs <briggs%NetBSD.org@localhost>
date:      Thu Feb 06 01:36:07 2003 +0000

description:
Actually make a bitmask for ICU_INT_HWMASK.

diffstat:

 sys/arch/arm/xscale/i80321reg.h |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r e63ce5a8aaa1 -r af6893b36018 sys/arch/arm/xscale/i80321reg.h
--- a/sys/arch/arm/xscale/i80321reg.h   Thu Feb 06 00:27:06 2003 +0000
+++ b/sys/arch/arm/xscale/i80321reg.h   Thu Feb 06 01:36:07 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i80321reg.h,v 1.7 2003/01/01 00:44:34 thorpej Exp $    */
+/*     $NetBSD: i80321reg.h,v 1.8 2003/02/06 01:36:07 briggs Exp $     */
 
 /*
  * Copyright (c) 2002 Wasabi Systems, Inc.
@@ -347,8 +347,11 @@
 #define        ICU_INT_DMA0_EOC        1       /* DMA0 end-of-chain */
 #define        ICU_INT_DMA0_EOT        0       /* DMA0 end-of-transfer */
 
-#define        ICU_INT_HWMASK          (0xffffffff & ~(ICU_INT_bit26|ICU_INT_bit22| \
-                                               ICU_INT_bit5|ICU_INT_bit4))
+#define        ICU_INT_HWMASK          (0xffffffff & \
+                                       ~((1 << ICU_INT_bit26) | \
+                                         (1 << ICU_INT_bit22) | \
+                                         (1 << ICU_INT_bit5)  | \
+                                         (1 << ICU_INT_bit4)))
 
 /*
  * DMA Controller



Home | Main Index | Thread Index | Old Index