From e7c4bc59699e63dc4fa29f04f86230fa604f2471 Mon Sep 17 00:00:00 2001 From: Ryan Thomas McBride Date: Thu, 19 Aug 2004 17:00:04 +0000 Subject: Don't complain about lack of available jumbo buffers when processing incoming packets unless we're debugging. --- sys/dev/pci/if_bge.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/dev') 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); } -- cgit v1.2.3