diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2004-09-16 09:37:15 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2004-09-16 09:37:15 +0000 |
commit | b617766a988edc25fd3664748194dd296a8e8be9 (patch) | |
tree | 786ef45ee6a60abf0244303e96c38028cd16412c /sys/dev/pci/if_em.c | |
parent | d21913de48eaa1abbdefcc841ef176767a764990 (diff) |
Use a sane value for maxsegsz, fixes this card for alpha (PR 3920).
ok miod@
Diffstat (limited to 'sys/dev/pci/if_em.c')
-rw-r--r-- | sys/dev/pci/if_em.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c index d440c315da4..2404bf569ad 100644 --- a/sys/dev/pci/if_em.c +++ b/sys/dev/pci/if_em.c @@ -32,7 +32,7 @@ POSSIBILITY OF SUCH DAMAGE. ***************************************************************************/ /*$FreeBSD: if_em.c,v 1.38 2004/03/17 17:50:31 njl Exp $*/ -/* $OpenBSD: if_em.c,v 1.26 2004/09/08 23:01:55 deraadt Exp $ */ +/* $OpenBSD: if_em.c,v 1.27 2004/09/16 09:37:14 mcbride Exp $ */ #include "bpfilter.h" #include "vlan.h" @@ -1440,7 +1440,7 @@ em_encap(struct em_softc *sc, struct mbuf *m_head) * Map the packet for DMA. */ if (bus_dmamap_create(sc->txtag, MAX_JUMBO_FRAME_SIZE, 32, - 0, 0, BUS_DMA_NOWAIT, &q.map)) { + MAX_JUMBO_FRAME_SIZE, 0, BUS_DMA_NOWAIT, &q.map)) { sc->no_tx_map_avail++; return (ENOMEM); } |