Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/dev Set the destination UPAID when establis...



details:   https://anonhg.NetBSD.org/src/rev/a026a3a220e1
branches:  trunk
changeset: 768234:a026a3a220e1
user:      jdc <jdc%NetBSD.org@localhost>
date:      Fri Aug 12 08:24:01 2011 +0000

description:
Set the destination UPAID when establishing the interrupt mapping.
>From eeh@.

diffstat:

 sys/arch/sparc64/dev/fhc.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 10a7486c173e -r a026a3a220e1 sys/arch/sparc64/dev/fhc.c
--- a/sys/arch/sparc64/dev/fhc.c        Fri Aug 12 08:22:39 2011 +0000
+++ b/sys/arch/sparc64/dev/fhc.c        Fri Aug 12 08:24:01 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fhc.c,v 1.1 2011/07/29 08:37:36 mrg Exp $      */
+/*     $NetBSD: fhc.c,v 1.2 2011/08/12 08:24:01 jdc Exp $      */
 /*     $OpenBSD: fhc.c,v 1.17 2010/11/11 17:58:23 miod Exp $   */
 
 /*
@@ -273,7 +273,7 @@
                u_int64_t r;
 
                r = *intrmapptr;
-               r |= INTMAP_V;
+               r |= INTMAP_V | (CPU_UPAID << INTMAP_TID_SHIFT);
                *intrmapptr = r;
                r = *intrmapptr;
                ih->ih_number |= r & INTMAP_INR;



Home | Main Index | Thread Index | Old Index