summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-07-11 23:14:42 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-07-11 23:14:42 +0000
commit1b5dea1319bd99bf7c73c0c85f5c174221c7207a (patch)
tree6986d3669fd75934052e9d331b6da5589b520476 /sys
parent9b339ade74fe104463a617c0ee60733aa5d9d430 (diff)
put the increasing tx threshold message under SF_DEBUG
instead of DIAGNOSTIC. From Nick Nauwelaerts in PR 5176
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_sf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_sf.c b/sys/dev/pci/if_sf.c
index aa35a67dbda..7ae24d45a4c 100644
--- a/sys/dev/pci/if_sf.c
+++ b/sys/dev/pci/if_sf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sf.c,v 1.37 2006/05/28 00:04:24 jason Exp $ */
+/* $OpenBSD: if_sf.c,v 1.38 2006/07/11 23:14:41 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
* Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
@@ -948,7 +948,7 @@ sf_txthresh_adjust(sc)
txthresh++;
txfctl &= ~SF_TXFRMCTL_TXTHRESH;
txfctl |= txthresh;
-#ifdef DIAGNOSTIC
+#ifdef SF_DEBUG
printf("%s: tx underrun, increasing tx threshold to %d bytes\n",
sc->sc_dev.dv_xname, txthresh * 4);
#endif