Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 2014 21:16:15 +0000 (UTC)
From:      John-Mark Gurney <jmg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r269645 - head/sys/arm/xscale/ixp425
Message-ID:  <53e29b1f.5be4.42283c1c@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jmg
Date: Wed Aug  6 21:16:15 2014
New Revision: 269645
URL: http://svnweb.freebsd.org/changeset/base/269645

Log:
  put these under bootverbose, they are only needed for debugging, not
  useful for the normal user durning normal runtime...

Modified:
  head/sys/arm/xscale/ixp425/if_npe.c

Modified: head/sys/arm/xscale/ixp425/if_npe.c
==============================================================================
--- head/sys/arm/xscale/ixp425/if_npe.c	Wed Aug  6 19:38:03 2014	(r269644)
+++ head/sys/arm/xscale/ixp425/if_npe.c	Wed Aug  6 21:16:15 2014	(r269645)
@@ -681,7 +681,8 @@ npe_activate(device_t dev)
 	/* MAC */
 	if (!override_addr(dev, "mac", &macbase))
 		macbase = npeconfig[sc->sc_npeid].macbase;
-	device_printf(sc->sc_dev, "MAC at 0x%x\n", macbase);
+	if (bootverbose)
+		device_printf(sc->sc_dev, "MAC at 0x%x\n", macbase);
 	if (bus_space_map(sc->sc_iot, macbase, IXP425_REG_SIZE, 0, &sc->sc_ioh)) {
 		device_printf(dev, "cannot map mac registers 0x%x:0x%x\n",
 		    macbase, IXP425_REG_SIZE);
@@ -693,7 +694,8 @@ npe_activate(device_t dev)
 		phy = npeconfig[sc->sc_npeid].phy;
 	if (!override_addr(dev, "mii", &miibase))
 		miibase = npeconfig[sc->sc_npeid].miibase;
-	device_printf(sc->sc_dev, "MII at 0x%x\n", miibase);
+	if (bootverbose)
+		device_printf(sc->sc_dev, "MII at 0x%x\n", miibase);
 	if (miibase != macbase) {
 		/*
 		 * PHY is mapped through a different MAC, setup an



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e29b1f.5be4.42283c1c>