summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-05-14 19:55:52 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-05-14 19:55:52 +0000
commitee42090fd7fff7660edbadf19c17af78fb9090d2 (patch)
treef7229dff7bc15a27a3ca7a00e911e82be4132028 /sys/dev
parent4181738578dc8abf5eeb10258967afa011caa514 (diff)
comment out link up/down printf's.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_xge.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/if_xge.c b/sys/dev/pci/if_xge.c
index 5b4770c2f42..855656b4c50 100644
--- a/sys/dev/pci/if_xge.c
+++ b/sys/dev/pci/if_xge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_xge.c,v 1.5 2006/05/13 05:12:38 brad Exp $ */
+/* $OpenBSD: if_xge.c,v 1.6 2006/05/14 19:55:51 brad Exp $ */
/* $NetBSD: if_xge.c,v 1.1 2005/09/09 10:30:27 ragge Exp $ */
/*
@@ -620,7 +620,9 @@ xge_enable(struct xge_softc *sc)
val = PIF_RCSR(ADAPTER_CONTROL);
val |= LED_ON;
PIF_WCSR(ADAPTER_CONTROL, val);
+#if 0
printf("%s: link up\n", XNAME);
+#endif
}
@@ -707,7 +709,9 @@ xge_intr(void *pv)
if ((val = PIF_RCSR(MAC_RMAC_ERR_REG)) & RMAC_LINK_STATE_CHANGE_INT) {
/* Wait for quiescence */
+#if 0
printf("%s: link down\n", XNAME);
+#endif
while ((PIF_RCSR(ADAPTER_STATUS) & QUIESCENT) != QUIESCENT)
;
PIF_WCSR(MAC_RMAC_ERR_REG, RMAC_LINK_STATE_CHANGE_INT);