Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm/dist/bsd-core remove a memset() that is...
details: https://anonhg.NetBSD.org/src/rev/01fd40886d6d
branches: trunk
changeset: 747091:01fd40886d6d
user: mrg <mrg%NetBSD.org@localhost>
date: Wed Sep 02 01:34:34 2009 +0000
description:
remove a memset() that isn't necessary.
diffstat:
sys/external/bsd/drm/dist/bsd-core/ati_pcigart.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (23 lines):
diff -r 90f31ee13fdd -r 01fd40886d6d sys/external/bsd/drm/dist/bsd-core/ati_pcigart.c
--- a/sys/external/bsd/drm/dist/bsd-core/ati_pcigart.c Tue Sep 01 22:12:05 2009 +0000
+++ b/sys/external/bsd/drm/dist/bsd-core/ati_pcigart.c Wed Sep 02 01:34:34 2009 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index