Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Add missing BUS_DMA_NOWAIT to bus_dmamap_load_mb...
details: https://anonhg.NetBSD.org/src/rev/f3f67149df91
branches: trunk
changeset: 534103:f3f67149df91
user: bouyer <bouyer%NetBSD.org@localhost>
date: Tue Jul 16 20:20:01 2002 +0000
description:
Add missing BUS_DMA_NOWAIT to bus_dmamap_load_mbuf() calls. Should fix
port-alpha/17615.
diffstat:
sys/dev/pci/if_ti.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r eb4dc0827f62 -r f3f67149df91 sys/dev/pci/if_ti.c
--- a/sys/dev/pci/if_ti.c Tue Jul 16 19:53:37 2002 +0000
+++ b/sys/dev/pci/if_ti.c Tue Jul 16 20:20:01 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ti.c,v 1.48 2002/06/01 23:50:59 lukem Exp $ */
+/* $NetBSD: if_ti.c,v 1.49 2002/07/16 20:20:01 bouyer Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -81,7 +81,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ti.c,v 1.48 2002/06/01 23:50:59 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ti.c,v 1.49 2002/07/16 20:20:01 bouyer Exp $");
#include "bpfilter.h"
#include "opt_inet.h"
@@ -2288,7 +2288,7 @@
dmamap = dma->dmamap;
error = bus_dmamap_load_mbuf(sc->sc_dmat, dmamap, m_head,
- BUS_DMA_WRITE);
+ BUS_DMA_WRITE | BUS_DMA_NOWAIT);
if (error) {
struct mbuf *m;
int i = 0;
@@ -2395,7 +2395,7 @@
dmamap = dma->dmamap;
error = bus_dmamap_load_mbuf(sc->sc_dmat, dmamap, m_head,
- BUS_DMA_WRITE);
+ BUS_DMA_WRITE | BUS_DMA_NOWAIT);
if (error) {
struct mbuf *m;
int i = 0;
Home |
Main Index |
Thread Index |
Old Index