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 _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"