From owner-svn-src-head@freebsd.org Mon Nov 2 16:43:27 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 67598A245A6; Mon, 2 Nov 2015 16:43:27 +0000 (UTC) (envelope-from andrew@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2C0211520; Mon, 2 Nov 2015 16:43:27 +0000 (UTC) (envelope-from andrew@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tA2GhQgR081918; Mon, 2 Nov 2015 16:43:26 GMT (envelope-from andrew@FreeBSD.org) Received: (from andrew@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tA2GhQHo081917; Mon, 2 Nov 2015 16:43:26 GMT (envelope-from andrew@FreeBSD.org) Message-Id: <201511021643.tA2GhQHo081917@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: andrew set sender to andrew@FreeBSD.org using -f From: Andrew Turner Date: Mon, 2 Nov 2015 16:43:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290272 - head/sys/arm64/arm64 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2015 16:43:27 -0000 Author: andrew Date: Mon Nov 2 16:43:26 2015 New Revision: 290272 URL: https://svnweb.freebsd.org/changeset/base/290272 Log: Make the arm64_cpu driver quiet as it adds no new information. Only report the register used to start each cpu in bootverbose. Sponsored by: ABT Systems Ltd Modified: head/sys/arm64/arm64/mp_machdep.c Modified: head/sys/arm64/arm64/mp_machdep.c ============================================================================== --- head/sys/arm64/arm64/mp_machdep.c Mon Nov 2 13:14:27 2015 (r290271) +++ head/sys/arm64/arm64/mp_machdep.c Mon Nov 2 16:43:26 2015 (r290272) @@ -137,6 +137,7 @@ arm64_cpu_probe(device_t dev) if (cpuid >= MAXCPU || cpuid > mp_maxid) return (EINVAL); + device_quiet(dev); return (0); } @@ -158,10 +159,12 @@ arm64_cpu_attach(device_t dev) if (reg == NULL) return (EINVAL); - device_printf(dev, "Found register:"); - for (i = 0; i < reg_size; i++) - printf(" %x", reg[i]); - printf("\n"); + if (bootverbose) { + device_printf(dev, "register <"); + for (i = 0; i < reg_size; i++) + printf("%s%x", (i == 0) ? "" : " ", reg[i]); + printf(">\n"); + } /* Set the device to start it later */ cpu_list[cpuid] = dev;