diff options
author | jmg <jmg@FreeBSD.org> | 2014-08-06 21:16:15 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 2014-08-06 21:16:15 +0000 |
commit | 11d7efd0157a321b6e43108c8a5756f5cc2fd8ec (patch) | |
tree | 76ed4310c2053bed20fccc740bb807cb2b81eef1 /sys/arm/xscale | |
parent | a24889f942c3627c9204f1ad1e47a53afb67b790 (diff) | |
download | FreeBSD-src-11d7efd0157a321b6e43108c8a5756f5cc2fd8ec.zip FreeBSD-src-11d7efd0157a321b6e43108c8a5756f5cc2fd8ec.tar.gz |
put these under bootverbose, they are only needed for debugging, not
useful for the normal user durning normal runtime...
Diffstat (limited to 'sys/arm/xscale')
-rw-r--r-- | sys/arm/xscale/ixp425/if_npe.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arm/xscale/ixp425/if_npe.c b/sys/arm/xscale/ixp425/if_npe.c index d1ef51c..d031de6 100644 --- a/sys/arm/xscale/ixp425/if_npe.c +++ b/sys/arm/xscale/ixp425/if_npe.c @@ -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 |