aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fxp
diff options
context:
space:
mode:
authorPyun YongHyeon <yongari@FreeBSD.org>2010-05-14 16:58:37 +0000
committerPyun YongHyeon <yongari@FreeBSD.org>2010-05-14 16:58:37 +0000
commit01e3ef82d146f9f68949d9dd15195a2ec42d77d9 (patch)
treea84e39a6d24bb7cc93d3b3712f3c8074ca7e1818 /sys/dev/fxp
parent1371a457d965dcfb7a802ba4048960d14aae183e (diff)
downloadsrc-01e3ef82d146f9f68949d9dd15195a2ec42d77d9.tar.gz
src-01e3ef82d146f9f68949d9dd15195a2ec42d77d9.zip
Dont' allow dma map load deferring. fxp(4) is not able to handle
EINPROGRESS.
Notes
Notes: svn path=/head/; revision=208083
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r--sys/dev/fxp/if_fxp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index 8e2d2a0bca6e..006ec526b59a 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -2623,7 +2623,7 @@ fxp_new_rfabuf(struct fxp_softc *sc, struct fxp_rx *rxp)
/* Map the RFA into DMA memory. */
error = bus_dmamap_load(sc->fxp_rxmtag, sc->spare_map, rfa,
MCLBYTES - RFA_ALIGNMENT_FUDGE, fxp_dma_map_addr,
- &rxp->rx_addr, 0);
+ &rxp->rx_addr, BUS_DMA_NOWAIT);
if (error) {
m_freem(m);
return (error);