summaryrefslogtreecommitdiffstats
path: root/sys/dev/fxp
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2010-05-14 16:58:37 +0000
committeryongari <yongari@FreeBSD.org>2010-05-14 16:58:37 +0000
commita26cebe6d890f6f1495bae162aec4fe89d2aad8c (patch)
treea84e39a6d24bb7cc93d3b3712f3c8074ca7e1818 /sys/dev/fxp
parent9d307c8df9b58bb67def59bf735199736702e253 (diff)
downloadFreeBSD-src-a26cebe6d890f6f1495bae162aec4fe89d2aad8c.zip
FreeBSD-src-a26cebe6d890f6f1495bae162aec4fe89d2aad8c.tar.gz
Dont' allow dma map load deferring. fxp(4) is not able to handle
EINPROGRESS.
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 8e2d2a0..006ec52 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);
OpenPOWER on IntegriCloud