Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Add missing bus_dmamap_destroy.
details: https://anonhg.NetBSD.org/src/rev/f0e4c7afe490
branches: trunk
changeset: 329837:f0e4c7afe490
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jun 11 16:48:15 2014 +0000
description:
Add missing bus_dmamap_destroy.
diffstat:
sys/dev/pci/agp_i810.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 7346f9f82465 -r f0e4c7afe490 sys/dev/pci/agp_i810.c
--- a/sys/dev/pci/agp_i810.c Wed Jun 11 16:47:39 2014 +0000
+++ b/sys/dev/pci/agp_i810.c Wed Jun 11 16:48:15 2014 +0000
@@ -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 @@
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:
Home |
Main Index |
Thread Index |
Old Index