cvs commit: src/sys/sparc64/sparc64 intr_machdep.c
Marius Strobl
marius at FreeBSD.org
Thu Mar 31 13:53:15 PST 2005
marius 2005-03-31 21:53:15 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
sys/sparc64/sparc64 intr_machdep.c
Log:
MFC: 1.20, 1.21
- Assorted style fixes and minor changes.
- Allow multiple INTR_FAST handlers for the same source. The motivation
for this are the on-board SCCs and UARTs that use a shared IRQ.
- Rework the interrupt counting code to account for shared interrupts.
- In case ithread_add_handler() failed in inthand_add() just return with
the error code instead of setting up a non-fast handler regardless or
setting up a non-fast handler instead of a fast handler. I can't think
of a situation where the former behaviour would do the right thing.
Approved by: re (kensmith, scottl)
Revision Changes Path
1.19.2.1 +83 -64 src/sys/sparc64/sparc64/intr_machdep.c
More information about the cvs-src
mailing list