Date: Wed, 26 Jun 2013 02:56:55 +0000 (UTC) From: Rui Paulo <rpaulo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r252229 - head/sys/arm/ti Message-ID: <201306260256.r5Q2utDB055073@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rpaulo Date: Wed Jun 26 02:56:54 2013 New Revision: 252229 URL: http://svnweb.freebsd.org/changeset/base/252229 Log: Print the 'setting internal ...' message only with bootverbose. Modified: head/sys/arm/ti/ti_scm.c Modified: head/sys/arm/ti/ti_scm.c ============================================================================== --- head/sys/arm/ti/ti_scm.c Wed Jun 26 02:21:37 2013 (r252228) +++ head/sys/arm/ti/ti_scm.c Wed Jun 26 02:56:54 2013 (r252229) @@ -163,7 +163,9 @@ ti_scm_padconf_set_internal(struct ti_sc /* set the mux mode */ reg_val |= (uint16_t)(mode & ti_scm_dev.padconf_muxmode_mask); - printf("setting internal %x for %s\n", reg_val, muxmode); + if (bootverbose) + device_printf(sc->sc_dev, "setting internal %x for %s\n", + reg_val, muxmode); /* write the register value (16-bit writes) */ ti_scm_write_2(sc, padconf->reg_off, reg_val);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306260256.r5Q2utDB055073>