diff options
author | yongari <yongari@FreeBSD.org> | 2009-09-24 17:11:41 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2009-09-24 17:11:41 +0000 |
commit | 39fa231fbde6b12ece4b587923eecab28b2e22f2 (patch) | |
tree | be01cc1c03b1165b8f8e02574e11e6d299563ce5 /sys/dev | |
parent | e2f2d3f5c588a5f99ef61cede4ca1c11855a60e3 (diff) | |
download | FreeBSD-src-39fa231fbde6b12ece4b587923eecab28b2e22f2.zip FreeBSD-src-39fa231fbde6b12ece4b587923eecab28b2e22f2.tar.gz |
Destroy dmamap in dma cleanup.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/de/if_de.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c index bb46711..e63e4f2 100644 --- a/sys/dev/de/if_de.c +++ b/sys/dev/de/if_de.c @@ -4563,6 +4563,7 @@ tulip_busdma_cleanup(tulip_softc_t * const sc) if (sc->tulip_setupbuf != NULL) { bus_dmamem_free(sc->tulip_setup_tag, sc->tulip_setupbuf, sc->tulip_setup_map); + bus_dmamap_destroy(sc->tulip_setup_tag, sc->tulip_setup_map); sc->tulip_setup_map = NULL; sc->tulip_setupbuf = NULL; } |