diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2004-08-19 17:00:04 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2004-08-19 17:00:04 +0000 |
commit | e7c4bc59699e63dc4fa29f04f86230fa604f2471 (patch) | |
tree | 34095c68d0d76b87f7bc30a5121ae61c19f5e87f /sys/dev/pci | |
parent | 4400cbb1596c52f50a04d4bc503449017188ff11 (diff) |
Don't complain about lack of available jumbo buffers when processing incoming
packets unless we're debugging.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_bge.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c index 6e189a02efe..e0bacd50f15 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.29 2004/08/17 18:23:49 deraadt Exp $ */ +/* $OpenBSD: if_bge.c,v 1.30 2004/08/19 17:00:03 mcbride Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2001 @@ -645,7 +645,8 @@ bge_jalloc(sc) entry = LIST_FIRST(&sc->bge_jfree_listhead); if (entry == NULL) { - printf("%s: no free jumbo buffers\n", sc->bge_dev.dv_xname); + DPRINTFN(1,("%s: no free jumbo buffers\n", + sc->bge_dev.dv_xname)); return(NULL); } |