summaryrefslogtreecommitdiffstats
path: root/sys/dev/lge/if_lge.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/lge/if_lge.c')
-rw-r--r--sys/dev/lge/if_lge.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/lge/if_lge.c b/sys/dev/lge/if_lge.c
index f26d452..12912f2 100644
--- a/sys/dev/lge/if_lge.c
+++ b/sys/dev/lge/if_lge.c
@@ -1051,8 +1051,9 @@ lge_tick(xsc)
if (mii->mii_media_status & IFM_ACTIVE &&
IFM_SUBTYPE(mii->mii_media_active) != IFM_NONE) {
sc->lge_link++;
- if (IFM_SUBTYPE(mii->mii_media_active) == IFM_1000_SX||
- IFM_SUBTYPE(mii->mii_media_active) == IFM_1000_T)
+ if (bootverbose &&
+ (IFM_SUBTYPE(mii->mii_media_active) == IFM_1000_SX||
+ IFM_SUBTYPE(mii->mii_media_active) == IFM_1000_T))
printf("lge%d: gigabit link up\n",
sc->lge_unit);
if (ifp->if_snd.ifq_head != NULL)
OpenPOWER on IntegriCloud