Module Name: src Committed By: jmcneill Date: Wed Jan 1 12:46:44 UTC 2020
Modified Files: src/sys/dev/fdt: fdt_port.c Log Message: Quiet chatty printfs To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/fdt/fdt_port.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/fdt/fdt_port.c diff -u src/sys/dev/fdt/fdt_port.c:1.5 src/sys/dev/fdt/fdt_port.c:1.6 --- src/sys/dev/fdt/fdt_port.c:1.5 Sun Dec 15 14:18:16 2019 +++ src/sys/dev/fdt/fdt_port.c Wed Jan 1 12:46:44 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: fdt_port.c,v 1.5 2019/12/15 14:18:16 jakllsch Exp $ */ +/* $NetBSD: fdt_port.c,v 1.6 2020/01/01 12:46:44 jmcneill Exp $ */ /*- * Copyright (c) 2018 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(1, "$NetBSD: fdt_port.c,v 1.5 2019/12/15 14:18:16 jakllsch Exp $"); +__KERNEL_RCSID(1, "$NetBSD: fdt_port.c,v 1.6 2020/01/01 12:46:44 jmcneill Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -190,7 +190,7 @@ fdt_endpoint_activate(struct fdt_endpoin return EBUSY; rdp = rep->ep_port->port_dp; - device_printf(rdp->dp_dev, "activating port %d endpoint %d\n", + aprint_debug_dev(rdp->dp_dev, "activating port %d endpoint %d\n", fdt_endpoint_port_index(rep), fdt_endpoint_index(rep)); if (rdp->dp_ep_activate) error = rdp->dp_ep_activate(rdp->dp_dev, rep, activate); @@ -207,8 +207,8 @@ fdt_endpoint_activate_direct(struct fdt_ int error = 0; dp = ep->ep_port->port_dp; -device_printf(dp->dp_dev, "activating port %d endpoint %d (direct)\n", - fdt_endpoint_port_index(ep), fdt_endpoint_index(ep)); + aprint_debug_dev(dp->dp_dev, "activating port %d endpoint %d (direct)\n", + fdt_endpoint_port_index(ep), fdt_endpoint_index(ep)); if (dp->dp_ep_activate) error = dp->dp_ep_activate(dp->dp_dev, ep, activate); @@ -372,8 +372,8 @@ fdt_endpoints_register(int phandle, stru } else if (rep != NULL) { rep->ep_rep = ep; rep->ep_rphandle = child; - aprint_verbose("%s ", ep_name(ep, buf, sizeof(buf))); - aprint_verbose("connected to %s\n", + aprint_debug("%s ", ep_name(ep, buf, sizeof(buf))); + aprint_debug("connected to %s\n", ep_name(rep, buf, sizeof(buf))); if (rep->ep_type == EP_OTHER) rep->ep_type = ep->ep_type;