Module Name: src Committed By: riastradh Date: Wed Jun 11 16:48:15 UTC 2014
Modified Files: src/sys/dev/pci: agp_i810.c Log Message: Add missing bus_dmamap_destroy. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/sys/dev/pci/agp_i810.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/agp_i810.c diff -u src/sys/dev/pci/agp_i810.c:1.89 src/sys/dev/pci/agp_i810.c:1.90 --- src/sys/dev/pci/agp_i810.c:1.89 Wed Jun 11 16:45:06 2014 +++ src/sys/dev/pci/agp_i810.c Wed Jun 11 16:48:15 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: agp_i810.c,v 1.89 2014/06/11 16:45:06 riastradh Exp $ */ +/* $NetBSD: agp_i810.c,v 1.90 2014/06/11 16:48:15 riastradh Exp $ */ /*- * Copyright (c) 2000 Doug Rabson @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.89 2014/06/11 16:45:06 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.90 2014/06/11 16:48:15 riastradh Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -1195,6 +1195,8 @@ agp_i810_free_memory(struct agp_softc *s switch (mem->am_type) { case AGP_I810_MEMTYPE_MAIN: + bus_dmamap_destroy(sc->as_dmat, mem->am_dmamap); + break; case AGP_I810_MEMTYPE_DCACHE: break; case AGP_I810_MEMTYPE_HWCURSOR: