Author: yongari
Date: Tue Dec 13 20:31:57 2011
New Revision: 228480
URL: http://svn.freebsd.org/changeset/base/228480
Log:
Destroy DMA tag for jumbo RX buffer in device detach.
Modified:
head/sys/dev/bge/if_bge.c
Modified: head/sys/dev/bge/if_bge.c
==============================================================================
--- head/sys/dev/bge/if_bge.c Tue Dec 13 20:26:46 2011 (r228479)
+++ head/sys/dev/bge/if_bge.c Tue Dec 13 20:31:57 2011 (r228480)
@@ -2358,6 +2358,8 @@ bge_dma_free(struct bge_softc *sc)
if (sc->bge_cdata.bge_rx_mtag)
bus_dma_tag_destroy(sc->bge_cdata.bge_rx_mtag);
+ if (sc->bge_cdata.bge_mtag_jumbo)
+ bus_dma_tag_destroy(sc->bge_cdata.bge_mtag_jumbo);
if (sc->bge_cdata.bge_tx_mtag)
bus_dma_tag_destroy(sc->bge_cdata.bge_tx_mtag);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"