cvs commit: src/sys/sparc64/sparc64 intr_machdep.c

Marius Strobl marius at FreeBSD.org
Wed Mar 2 11:27:14 GMT 2005


marius      2005-03-02 11:27:13 UTC

  FreeBSD src repository

  Modified files:
    sys/sparc64/sparc64  intr_machdep.c 
  Log:
  - 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. [1]
  - Rework the interrupt counting code to account for shared interrupts. [1]
  - 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.
  
  Reviewed by:    marcel [1]
  Based on:       sys/i386/i386/intr_machdep.c [1]
  
  Revision  Changes    Path
  1.21      +68 -48    src/sys/sparc64/sparc64/intr_machdep.c


More information about the cvs-src mailing list