Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/sys/dev/pci Pull up revision 1.38 (requested by tron in...
details: https://anonhg.NetBSD.org/src/rev/087524269b4a
branches: netbsd-1-6
changeset: 530281:087524269b4a
user: grant <grant%NetBSD.org@localhost>
date: Mon Jun 16 13:04:42 2003 +0000
description:
Pull up revision 1.38 (requested by tron in ticket #1230):
Don't print a kernel message like "bge0: gigabit link up" when a Gigabit
link is detected. No other ethernet driver does this and this driver
doesn't do it for other modes.
diffstat:
sys/dev/pci/if_bge.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diffs (27 lines):
diff -r e0aec7efdd91 -r 087524269b4a sys/dev/pci/if_bge.c
--- a/sys/dev/pci/if_bge.c Mon Jun 16 13:01:58 2003 +0000
+++ b/sys/dev/pci/if_bge.c Mon Jun 16 13:04:42 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_bge.c,v 1.29.2.2 2003/01/28 06:19:13 jmc Exp $ */
+/* $NetBSD: if_bge.c,v 1.29.2.3 2003/06/16 13:04:42 grant Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -2576,7 +2576,6 @@
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);
}
@@ -2589,9 +2588,6 @@
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_T ||
- 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);
}
Home |
Main Index |
Thread Index |
Old Index