summaryrefslogtreecommitdiffstats
path: root/sys/dev/hatm/if_hatm_tx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/hatm/if_hatm_tx.c')
-rw-r--r--sys/dev/hatm/if_hatm_tx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/hatm/if_hatm_tx.c b/sys/dev/hatm/if_hatm_tx.c
index ba8a8e8..14c1e8a 100644
--- a/sys/dev/hatm/if_hatm_tx.c
+++ b/sys/dev/hatm/if_hatm_tx.c
@@ -422,7 +422,7 @@ hatm_start(struct ifnet *ifp)
arg.mbuf = m;
error = bus_dmamap_load_mbuf(sc->tx_tag, tpd->map, m,
- hatm_load_txbuf, &arg, 0);
+ hatm_load_txbuf, &arg, BUS_DMA_NOWAIT);
if (error == EFBIG) {
/* try to defragment the packet */
@@ -434,7 +434,7 @@ hatm_start(struct ifnet *ifp)
}
arg.mbuf = m;
error = bus_dmamap_load_mbuf(sc->tx_tag, tpd->map, m,
- hatm_load_txbuf, &arg, 0);
+ hatm_load_txbuf, &arg, BUS_DMA_NOWAIT);
}
if (error != 0) {
OpenPOWER on IntegriCloud