From owner-p4-projects@FreeBSD.ORG Sat Apr 7 04:03:16 2007 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 4FC4D16A406; Sat, 7 Apr 2007 04:03:16 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2DA3116A403 for ; Sat, 7 Apr 2007 04:03:16 +0000 (UTC) (envelope-from mjacob@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1F5D613C458 for ; Sat, 7 Apr 2007 04:03:16 +0000 (UTC) (envelope-from mjacob@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l3743F6Y015596 for ; Sat, 7 Apr 2007 04:03:16 GMT (envelope-from mjacob@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l3743FPT015593 for perforce@freebsd.org; Sat, 7 Apr 2007 04:03:15 GMT (envelope-from mjacob@freebsd.org) Date: Sat, 7 Apr 2007 04:03:15 GMT Message-Id: <200704070403.l3743FPT015593@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to mjacob@freebsd.org using -f From: Matt Jacob To: Perforce Change Reviews Cc: Subject: PERFORCE change 117568 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: Sat, 07 Apr 2007 04:03:16 -0000 http://perforce.freebsd.org/chv.cgi?CH=117568 Change 117568 by mjacob@mjexp on 2007/04/07 04:03:15 Hide bus reset messages within bootverbose MFP4 after: 1 days Affected files ... .. //depot/projects/mjexp/sys/dev/mpt/mpt_cam.c#14 edit Differences ... ==== //depot/projects/mjexp/sys/dev/mpt/mpt_cam.c#14 (text+ko) ==== @@ -2963,8 +2963,13 @@ break; } case XPT_RESET_DEV: - xpt_print(ccb->ccb_h.path, "reset %s\n", - ccb->ccb_h.func_code == XPT_RESET_BUS? "bus" : "device"); + if (ccb->ccb_h.func_code == XPT_RESET_BUS) { + if (bootverbose) { + xpt_print(ccb->ccb_h.path, "reset bus\n"); + } + } else { + xpt_print(ccb->ccb_h.path, "reset device\n"); + } CAMLOCK_2_MPTLOCK(mpt); (void) mpt_bus_reset(mpt, tgt, lun, FALSE); MPTLOCK_2_CAMLOCK(mpt);