Date: Thu, 11 Sep 2008 12:36:13 +0000 (UTC) From: Rafal Jaworowski <raj@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/arm/arm intr.c nexus.c src/sys/arm/include intr.h Message-ID: <200809111236.m8BCaPiw042888@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
raj 2008-09-11 12:36:13 UTC
FreeBSD src repository
Modified files:
sys/arm/arm intr.c nexus.c
sys/arm/include intr.h
Log:
SVN rev 182933 on 2008-09-11 12:36:13Z by raj
ARM interrupts improvements.
- Fix nexus_setup_intr() abuse of setting up multiple IRQs in one go. Calling
arm_setup_irqhandler() in loop is bogus, as there's just one cookie given
from the caller and it is overwritten in each iteration so that only the
last handler's cookie value prevails.
- Proper intr masking/unmasking handling: the IRQ source is masked at PIC level
only after the last handler has been removed from the list.
Reviewed by: cognet, imp, sam, stass
Obtained from: Grzegorz Bernacki gjb ! semihalf dot com
Revision Changes Path
1.24 +12 -2 src/sys/arm/arm/intr.c
1.13 +3 -11 src/sys/arm/arm/nexus.c
1.10 +1 -1 src/sys/arm/include/intr.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809111236.m8BCaPiw042888>
