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 don't pass "maxaddr" as a...



details:   https://anonhg.NetBSD.org/src/rev/e3850cdcacb5
branches:  trunk
changeset: 753200:e3850cdcacb5
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Mar 20 02:53:35 2010 +0000

description:
don't pass "maxaddr" as a boundary in bus_dmamap_create() like rev 1.8
did for _alloc().

diffstat:

 sys/external/bsd/drm/dist/bsd-core/drm_pci.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 1e375186bb46 -r e3850cdcacb5 sys/external/bsd/drm/dist/bsd-core/drm_pci.c
--- a/sys/external/bsd/drm/dist/bsd-core/drm_pci.c      Sat Mar 20 02:42:19 2010 +0000
+++ b/sys/external/bsd/drm/dist/bsd-core/drm_pci.c      Sat Mar 20 02:53:35 2010 +0000
@@ -137,7 +137,7 @@
                free(dmah, DRM_MEM_DMA);
                return NULL;
        }
-       if ((ret = bus_dmamap_create(dmah->tag, size, 1, size, maxaddr,
+       if ((ret = bus_dmamap_create(dmah->tag, size, 1, size, 0,
             BUS_DMA_NOWAIT, &dmah->map)) != 0) {
                printf("drm: Unable to create DMA map, error %d\n", ret);
                bus_dmamem_unmap(dmah->tag, dmah->vaddr, size);



Home | Main Index | Thread Index | Old Index