Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Create the Tx DMA maps with a size large enough ...
details: https://anonhg.NetBSD.org/src/rev/a9bf3859fde2
branches: trunk
changeset: 515849:a9bf3859fde2
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sat Oct 06 00:14:59 2001 +0000
description:
Create the Tx DMA maps with a size large enough for a jumbo Ethernet
frame.
diffstat:
sys/dev/pci/if_stge.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r aec07a7c47fe -r a9bf3859fde2 sys/dev/pci/if_stge.c
--- a/sys/dev/pci/if_stge.c Fri Oct 05 23:42:11 2001 +0000
+++ b/sys/dev/pci/if_stge.c Sat Oct 06 00:14:59 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_stge.c,v 1.6 2001/07/30 20:12:10 thorpej Exp $ */
+/* $NetBSD: if_stge.c,v 1.7 2001/10/06 00:14:59 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -516,8 +516,8 @@
* such chips to 1.
*/
for (i = 0; i < STGE_NTXDESC; i++) {
- if ((error = bus_dmamap_create(sc->sc_dmat, MCLBYTES,
- STGE_NTXFRAGS, MCLBYTES, 0, 0,
+ if ((error = bus_dmamap_create(sc->sc_dmat,
+ ETHER_MAX_LEN_JUMBO, STGE_NTXFRAGS, MCLBYTES, 0, 0,
&sc->sc_txsoft[i].ds_dmamap)) != 0) {
printf("%s: unable to create tx DMA map %d, "
"error = %d\n", sc->sc_dev.dv_xname, i, error);
Home |
Main Index |
Thread Index |
Old Index