summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2002-09-23 14:49:22 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2002-09-23 14:49:22 +0000
commit14e63762981e50c5293afbd66b6d52d3f5f067b3 (patch)
tree5b3d856493ed9a2c379c6b5e52f3368459ee1f81
parent599d5201247671abd17b9060ce98294913e079b5 (diff)
Don't print extra junk to the console
-rw-r--r--sys/dev/pci/if_bge.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c
index 5d883d95a56..50d4f0f96c8 100644
--- a/sys/dev/pci/if_bge.c
+++ b/sys/dev/pci/if_bge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bge.c,v 1.13 2002/06/14 21:34:59 todd Exp $ */
+/* $OpenBSD: if_bge.c,v 1.14 2002/09/23 14:49:21 nate Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
* Copyright (c) 1997, 1998, 1999, 2001
@@ -2074,7 +2074,6 @@ bge_tick(xsc)
BGE_MACSTAT_TBI_PCS_SYNCHED) {
sc->bge_link++;
CSR_WRITE_4(sc, BGE_MAC_STS, 0xFFFFFFFF);
- printf("%s: gigabit link up\n", sc->bge_dev.dv_xname);
if (!IFQ_IS_EMPTY(&ifp->if_snd))
bge_start(ifp);
}
@@ -2087,9 +2086,6 @@ bge_tick(xsc)
if (!sc->bge_link && mii->mii_media_status & IFM_ACTIVE &&
IFM_SUBTYPE(mii->mii_media_active) != IFM_NONE) {
sc->bge_link++;
- if (IFM_SUBTYPE(mii->mii_media_active) == IFM_1000_TX ||
- IFM_SUBTYPE(mii->mii_media_active) == IFM_1000_SX)
- printf("%s: gigabit link up\n", sc->bge_dev.dv_xname);
if (!IFQ_IS_EMPTY(&ifp->if_snd))
bge_start(ifp);
}