Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 2010 17:54:29 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/share/man/man9 BUS_DESCRIBE_INTR.9 Makefile src/sys/amd64/amd64 intr_machdep.c nexus.c src/sys/amd64/include intr_machdep.h src/sys/i386/i386 intr_machdep.c nexus.c src/sys/i386/include intr_machdep.h src/sys/kern bus_if.m ...
Message-ID:  <201001211806.o0LI618U090557@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2010-01-21 17:54:29 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    share/man/man9       Makefile 
    sys/amd64/amd64      intr_machdep.c nexus.c 
    sys/amd64/include    intr_machdep.h 
    sys/i386/i386        intr_machdep.c nexus.c 
    sys/i386/include     intr_machdep.h 
    sys/kern             bus_if.m kern_intr.c subr_bus.c 
    sys/sparc64/include  intr_machdep.h 
    sys/sparc64/pci      psycho.c schizo.c 
    sys/sparc64/sparc64  intr_machdep.c nexus.c 
    sys/sys              bus.h interrupt.h 
  Added files:           (Branch: RELENG_8)
    share/man/man9       BUS_DESCRIBE_INTR.9 
  Log:
  SVN rev 202762 on 2010-01-21 17:54:29Z by jhb
  
  MFC 198134,198149,198170,198171,198391,200948:
  Add a facility for associating optional descriptions with active interrupt
  handlers.  This is primarily intended as a way to allow devices that use
  multiple interrupts (e.g. MSI) to meaningfully distinguish the various
  interrupt handlers.
  - Add a new BUS_DESCRIBE_INTR() method to the bus interface to associate
    a description with an active interrupt handler setup by BUS_SETUP_INTR.
    It has a default method (bus_generic_describe_intr()) which simply passes
    the request up to the parent device.
  - Add a bus_describe_intr() wrapper around BUS_DESCRIBE_INTR() that supports
    printf(9) style formatting using var args.
  - Reserve MAXCOMLEN bytes in the intr_handler structure to hold the name of
    an interrupt handler and copy the name passed to intr_event_add_handler()
    into that buffer instead of just saving the pointer to the name.
  - Add a new intr_event_describe_handler() which appends a description string
    to an interrupt handler's name.
  - Implement support for interrupt descriptions on amd64, i386, and sparc64 by
    having the nexus(4) driver supply a custom bus_describe_intr method that
    invokes a new intr_describe() MD routine which in turn looks up the
    associated interrupt event and invokes intr_event_describe_handler().
  
  Revision   Changes    Path
  1.2.2.2    +104 -0    src/share/man/man9/BUS_DESCRIBE_INTR.9 (new)
  1.357.2.7  +2 -0      src/share/man/man9/Makefile
  1.45.2.2   +17 -0     src/sys/amd64/amd64/intr_machdep.c
  1.80.2.2   +12 -0     src/sys/amd64/amd64/nexus.c
  1.24.2.2   +1 -0      src/sys/amd64/include/intr_machdep.h
  1.41.2.2   +17 -0     src/sys/i386/i386/intr_machdep.c
  1.75.2.2   +12 -0     src/sys/i386/i386/nexus.c
  1.25.2.2   +1 -0      src/sys/i386/include/intr_machdep.h
  1.37.2.2   +19 -1     src/sys/kern/bus_if.m
  1.172.2.2  +57 -2     src/sys/kern/kern_intr.c
  1.225.2.8  +40 -0     src/sys/kern/subr_bus.c
  1.20.2.2   +1 -0      src/sys/sparc64/include/intr_machdep.h
  1.82.2.5   +14 -0     src/sys/sparc64/pci/psycho.c
  1.6.4.6    +14 -0     src/sys/sparc64/pci/schizo.c
  1.36.2.4   +25 -0     src/sys/sparc64/sparc64/intr_machdep.c
  1.23.2.4   +13 -3     src/sys/sparc64/sparc64/nexus.c
  1.85.2.4   +5 -0      src/sys/sys/bus.h
  1.45.2.2   +3 -1      src/sys/sys/interrupt.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001211806.o0LI618U090557>