summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-06-11 05:21:55 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-06-11 05:21:55 +0000
commitc2838634d72b7c7a7efbdf4d4de197397c33e5f8 (patch)
tree00e1494151b709d3c469f879bf7fe9b9d6a1cb8a /sys
parentb38f7d55b2633687237590f44b102ac8c7759a04 (diff)
show the number of DMA segments that were in the packet that just failed
to be mapped in stge_start().
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_stge.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_stge.c b/sys/dev/pci/if_stge.c
index 8c1a1965728..c701115c8ee 100644
--- a/sys/dev/pci/if_stge.c
+++ b/sys/dev/pci/if_stge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_stge.c,v 1.25 2006/05/28 00:20:21 brad Exp $ */
+/* $OpenBSD: if_stge.c,v 1.26 2006/06/11 05:21:54 brad Exp $ */
/* $NetBSD: if_stge.c,v 1.27 2005/05/16 21:35:32 bouyer Exp $ */
/*-
@@ -722,8 +722,8 @@ stge_start(struct ifnet *ifp)
if (error) {
if (error == EFBIG) {
printf("%s: Tx packet consumes too many "
- "DMA segments, dropping...\n",
- sc->sc_dev.dv_xname);
+ "DMA segments (%u), dropping...\n",
+ sc->sc_dev.dv_xname, dmamap->dm_nsegs);
IFQ_DEQUEUE(&ifp->if_snd, m0);
m_freem(m0);
continue;