From owner-p4-projects@FreeBSD.ORG Tue Aug 22 14:04:34 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 8178416A4E5; Tue, 22 Aug 2006 14:04:34 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 430F316A4E0 for ; Tue, 22 Aug 2006 14:04:34 +0000 (UTC) (envelope-from piso@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4FB543D55 for ; Tue, 22 Aug 2006 14:04:33 +0000 (GMT) (envelope-from piso@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k7ME4Xth065701 for ; Tue, 22 Aug 2006 14:04:33 GMT (envelope-from piso@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k7ME4XRf065698 for perforce@freebsd.org; Tue, 22 Aug 2006 14:04:33 GMT (envelope-from piso@freebsd.org) Date: Tue, 22 Aug 2006 14:04:33 GMT Message-Id: <200608221404.k7ME4XRf065698@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to piso@freebsd.org using -f From: Paolo Pisati To: Perforce Change Reviews Cc: Subject: PERFORCE change 104774 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Aug 2006 14:04:34 -0000 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;