svn commit: r249097 - head/sys/sys

Rui Paulo rpaulo at FreeBSD.org
Thu Apr 4 15:40:19 UTC 2013


Author: rpaulo
Date: Thu Apr  4 15:40:19 2013
New Revision: 249097
URL: http://svnweb.freebsd.org/changeset/base/249097

Log:
  Remove a comment about devices being able to specify multiple interrupt
  types. This is no longer the case because interrupt types now have to map to
  an ithread priority (c.f. intr_priority()).

Modified:
  head/sys/sys/bus.h

Modified: head/sys/sys/bus.h
==============================================================================
--- head/sys/sys/bus.h	Thu Apr  4 15:16:53 2013	(r249096)
+++ head/sys/sys/bus.h	Thu Apr  4 15:40:19 2013	(r249097)
@@ -178,11 +178,8 @@ typedef void driver_intr_t(void*);
  * spls implicit in names like INTR_TYPE_TTY. In the meantime, don't
  * confuse things by renaming them (Grog, 18 July 2000).
  *
- * We define this in terms of bits because some devices may belong
- * to multiple classes (and therefore need to be included in
- * multiple interrupt masks, which is what this really serves to
- * indicate. Buses which do interrupt remapping will want to
- * change their type to reflect what sort of devices are underneath.
+ * Buses which do interrupt remapping will want to change their type
+ * to reflect what sort of devices are underneath.
  */
 enum intr_type {
 	INTR_TYPE_TTY = 1,


More information about the svn-src-head mailing list