]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Only unmap the RX mbuf DMA map if there's a buffer here.
authorAdrian Chadd <adrian@FreeBSD.org>
Mon, 1 Apr 2013 20:11:19 +0000 (20:11 +0000)
committerAdrian Chadd <adrian@FreeBSD.org>
Mon, 1 Apr 2013 20:11:19 +0000 (20:11 +0000)
commit80b87f1814997633d1116b756bfeb815b3091da9
treead9e96724a21a34d4c06538bb99919eb58f9ef35
parent9f4c7ba4605602f57fa32bce3934ed72915dc632
Only unmap the RX mbuf DMA map if there's a buffer here.

The normal RX path (ath_rx_pkt()) will sync and unmap the
buffer before passing it up the stack.  We only need to do this
if we're flushing the FIFO during reset/shutdown.
sys/dev/ath/if_ath_rx_edma.c