put these under bootverbose, they are only needed for debugging, not

useful for the normal user durning normal runtime...
This commit is contained in:
John-Mark Gurney 2014-08-06 21:16:15 +00:00
parent bc22dc708f
commit 4beaa0151a

View File

@ -681,6 +681,7 @@ npe_activate(device_t dev)
/* MAC */
if (!override_addr(dev, "mac", &macbase))
macbase = npeconfig[sc->sc_npeid].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",
@ -693,6 +694,7 @@ npe_activate(device_t dev)
phy = npeconfig[sc->sc_npeid].phy;
if (!override_addr(dev, "mii", &miibase))
miibase = npeconfig[sc->sc_npeid].miibase;
if (bootverbose)
device_printf(sc->sc_dev, "MII at 0x%x\n", miibase);
if (miibase != macbase) {
/*