freebsd-skq/share
John Baldwin 37b8ef16cd 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 and i386 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().

Requested by:	many
Reviewed by:	scottl
MFC after:	2 weeks
2009-10-15 14:54:35 +00:00
..
colldef Add lv_LV, move lt_LT to common part 2009-09-03 16:53:11 +00:00
dict Correct typos containing my login name (plus one more in expr.y). 2007-02-18 19:48:59 +00:00
doc Add the KNOWN-DEFECTS file back in for the 9.6.1 release. 2009-06-25 20:09:53 +00:00
examples Tell about the full name we opened, not the unit. 2009-09-19 20:36:43 +00:00
info
man Add a facility for associating optional descriptions with active interrupt 2009-10-15 14:54:35 +00:00
me
misc Add myself. 2009-10-05 15:05:43 +00:00
mk Second attempt at eliminating .text relocations in shared libraries 2009-07-14 21:19:13 +00:00
mklocale Add lv_LV, move lt_LT to common part 2009-09-03 17:12:45 +00:00
monetdef Last character is a space for the international currency symbol. 2009-09-13 22:17:23 +00:00
msgdef Add lv_LV 2009-09-04 06:19:37 +00:00
numericdef Add lv_LV 2009-09-03 17:37:23 +00:00
security
sendmail Dont install .svn metadata with the sendmail install. 2008-05-31 19:15:15 +00:00
skel Add explicit test so that non-existence of /usr/games/fortune 2009-03-27 21:13:14 +00:00
snmp
syscons Add various new keymaps: 2009-06-12 22:53:49 +00:00
tabset
termcap Add missing passthrough printing entries for VT100 and workalikes 2009-06-14 07:02:50 +00:00
timedef Remove trailing spaces. 2009-09-16 07:55:02 +00:00
zoneinfo MFV of tzdata2009n 2009-09-28 21:53:28 +00:00
Makefile Whitespace nit 2008-10-08 13:20:02 +00:00
Makefile.inc