Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2009 17:11:41 +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: r197464 - head/sys/dev/de
Message-ID:  <200909241711.n8OHBfI6002782@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yongari
Date: Thu Sep 24 17:11:41 2009
New Revision: 197464
URL: http://svn.freebsd.org/changeset/base/197464

Log:
  Destroy dmamap in dma cleanup.

Modified:
  head/sys/dev/de/if_de.c

Modified: head/sys/dev/de/if_de.c
==============================================================================
--- head/sys/dev/de/if_de.c	Thu Sep 24 17:07:04 2009	(r197463)
+++ head/sys/dev/de/if_de.c	Thu Sep 24 17:11:41 2009	(r197464)
@@ -4563,6 +4563,7 @@ tulip_busdma_cleanup(tulip_softc_t * con
     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;
     }



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