Module Name: src
Committed By: mrg
Date: Wed Sep 2 01:34:34 UTC 2009
Modified Files:
src/sys/external/bsd/drm/dist/bsd-core: ati_pcigart.c
Log Message:
remove a memset() that isn't necessary.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/external/bsd/drm/dist/bsd-core/ati_pcigart.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/external/bsd/drm/dist/bsd-core/ati_pcigart.c
diff -u src/sys/external/bsd/drm/dist/bsd-core/ati_pcigart.c:1.4 src/sys/external/bsd/drm/dist/bsd-core/ati_pcigart.c:1.5
--- src/sys/external/bsd/drm/dist/bsd-core/ati_pcigart.c:1.4 Sat Jun 20 01:07:09 2009
+++ src/sys/external/bsd/drm/dist/bsd-core/ati_pcigart.c Wed Sep 2 01:34:34 2009
@@ -167,13 +167,15 @@
dmah->busaddr = dmah->map->dm_segs[0].ds_addr;
dmah->size = gart_info->table_size;
dmah->nsegs = 1;
+#if 0
/*
- * Mirror here FreeBSD doing BUS_DMA_ZERO.
- * But I see this same memset() is done in drm_ati_pcigart_init(),
- * so maybe this is not needed.
- */
+ * Mirror here FreeBSD doing BUS_DMA_ZERO.
+ * But I see this same memset() is done in drm_ati_pcigart_init(),
+ * so maybe this is not needed.
+ */
memset(dmah->vaddr, 0, gart_info->table_size);
#endif
+#endif
dev->sg->dmah = dmah;