diff options
author | yongari <yongari@FreeBSD.org> | 2010-05-14 16:58:37 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2010-05-14 16:58:37 +0000 |
commit | a26cebe6d890f6f1495bae162aec4fe89d2aad8c (patch) | |
tree | a84e39a6d24bb7cc93d3b3712f3c8074ca7e1818 /sys/dev/fxp | |
parent | 9d307c8df9b58bb67def59bf735199736702e253 (diff) | |
download | FreeBSD-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.c | 2 |
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); |