Date: Tue, 22 Aug 2006 14:04:33 GMT From: Paolo Pisati <piso@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 104774 for review Message-ID: <200608221404.k7ME4XRf065698@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=104774 Change 104774 by piso@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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608221404.k7ME4XRf065698>