Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp700/hp700 Reformat/Improve comment.



details:   https://anonhg.NetBSD.org/src/rev/25354e25b272
branches:  trunk
changeset: 759304:25354e25b272
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Dec 05 10:21:18 2010 +0000

description:
Reformat/Improve comment.

diffstat:

 sys/arch/hp700/hp700/intr.h |  30 ++++++++++++++----------------
 1 files changed, 14 insertions(+), 16 deletions(-)

diffs (45 lines):

diff -r 7b2e968b0a0f -r 25354e25b272 sys/arch/hp700/hp700/intr.h
--- a/sys/arch/hp700/hp700/intr.h       Sun Dec 05 10:11:46 2010 +0000
+++ b/sys/arch/hp700/hp700/intr.h       Sun Dec 05 10:21:18 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.h,v 1.10 2009/05/08 09:33:58 skrll Exp $  */
+/*     $NetBSD: intr.h,v 1.11 2010/12/05 10:21:18 skrll Exp $  */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -56,22 +56,20 @@
        volatile int *int_reg_level;
 
        /*
-        * This array has one entry for each bit in the
-        * interrupt request register. If the 24 most
-        * significant bits are set, the low 8
-        * bits are the index of the hp700_int_reg
-        * that this interrupt bit leads to, with zero
-        * meaning that the interrupt bit is unused.
-        * Otherwise this bits correspond to the
-        * hp700_int_bits. I.e. this bits are ored to
-        * ipending_new in hp700_intr_ipending_new()
-        * when an interrupt happend.
+        * This array has one entry for each bit in the interrupt request
+        * register.
+        *
+        * If the 24 most significant bits are set, the low 8 bits  are the
+        * index of the hp700_int_reg that this interrupt bit leads to, with
+        * zero meaning that the interrupt bit is unused.
         *
-        * Note that this array is indexed by HP bit
-        * number, *not* by "normal" bit number.  In
-        * other words, the least significant bit in
-        * the interrupt register corresponds to array
-        * index 31.
+        * Otherwise these bits correspond to hp700_int_bits. That is, these
+        * bits are ORed to ipending_new in hp700_intr_ipending_new() when an
+        * interrupt happens.
+        *
+        * Note that this array is indexed by HP bit number, *not* by "normal"
+        * bit number.  In other words, the least significant bit in the inter-
+        * rupt register corresponds to array index 31.
         */
        unsigned int int_reg_bits_map[HP700_INT_BITS];
 #define        INT_REG_BIT_REG         0xffffff00



Home | Main Index | Thread Index | Old Index