PERFORCE change 104774 for review
Paolo Pisati
piso at FreeBSD.org
Tue Aug 22 14:04:34 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=104774
Change 104774 by piso at piso_newluxor on 2006/08/22 14:04:27
Update the boot time messages to reflect the new
interrupt models.
Affected files ...
.. //depot/projects/soc2006/intr_filter/kern/subr_bus.c#8 edit
Differences ...
==== //depot/projects/soc2006/intr_filter/kern/subr_bus.c#8 (text+ko) ====
@@ -3447,12 +3447,17 @@
error = BUS_SETUP_INTR(dev->parent, dev, r, flags,
filter, handler, arg, cookiep);
if (error == 0) {
- if (!IS_FAST(filter, handler) && !(flags & INTR_MPSAFE))
+ if (handler != NULL && !(flags & INTR_MPSAFE))
device_printf(dev, "[GIANT-LOCKED]\n");
if (bootverbose && (flags & INTR_MPSAFE))
device_printf(dev, "[MPSAFE]\n");
- if (IS_FAST(filter, handler))
- device_printf(dev, "[FAST]\n");
+ if (filter != NULL) {
+ if (handler == NULL)
+ device_printf(dev, "[FILTER]\n");
+ else
+ device_printf(dev, "[FILTER+ITHREAD]\n");
+ } else
+ device_printf(dev, "[ITHREAD]\n");
}
} else
error = EINVAL;
More information about the p4-projects
mailing list