Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 May 2010 16:58:38 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r208083 - head/sys/dev/fxp
Message-ID:  <201005141658.o4EGwcME015289@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yongari
Date: Fri May 14 16:58:37 2010
New Revision: 208083
URL: http://svn.freebsd.org/changeset/base/208083

Log:
  Dont' allow dma map load deferring. fxp(4) is not able to handle
  EINPROGRESS.

Modified:
  head/sys/dev/fxp/if_fxp.c

Modified: head/sys/dev/fxp/if_fxp.c
==============================================================================
--- head/sys/dev/fxp/if_fxp.c	Fri May 14 16:56:18 2010	(r208082)
+++ head/sys/dev/fxp/if_fxp.c	Fri May 14 16:58:37 2010	(r208083)
@@ -2623,7 +2623,7 @@ fxp_new_rfabuf(struct fxp_softc *sc, str
 	/* 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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005141658.o4EGwcME015289>