PERFORCE change 123986 for review
Christopher Davis
loafier at FreeBSD.org
Mon Jul 23 23:51:23 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=123986
Change 123986 by loafier at chrisdsoc on 2007/07/23 23:50:45
Use bus_dma_tag_destroy() in detach method.
Affected files ...
.. //depot/projects/soc2007/loafier_busalloc/src/sys/dev/sound/pci/aureal.c#3 edit
Differences ...
==== //depot/projects/soc2007/loafier_busalloc/src/sys/dev/sound/pci/aureal.c#3 (text+ko) ====
@@ -534,6 +534,9 @@
if (!sc)
return;
+ if (sc->parent_dmat)
+ bus_dma_tag_destroy(sc->parent_dmat);
+
if (sc->ih)
bus_teardown_intr(dev, sc->res[RES_IRQ], sc->ih);
bus_release_resources(dev, sc->spec, sc->res);
More information about the p4-projects
mailing list