svn commit: r290272 - head/sys/arm64/arm64
Andrew Turner
andrew at FreeBSD.org
Mon Nov 2 16:43:27 UTC 2015
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;
More information about the svn-src-head
mailing list