Module Name:    src
Committed By:   riastradh
Date:           Wed Jul 24 02:38:55 UTC 2013

Modified Files:
        src/sys/external/bsd/drm2/dist/include/drm [riastradh-drm2]: drmP.h

Log Message:
Add fields to struct drm_dma_handle for NetBSD bus_dma.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.31 -r1.1.1.1.2.32 \
    src/sys/external/bsd/drm2/dist/include/drm/drmP.h

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/drm2/dist/include/drm/drmP.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.1.1.1.2.31 src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.1.1.1.2.32
--- src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.1.1.1.2.31	Wed Jul 24 02:38:06 2013
+++ src/sys/external/bsd/drm2/dist/include/drm/drmP.h	Wed Jul 24 02:38:55 2013
@@ -425,6 +425,11 @@ typedef struct drm_dma_handle {
 	dma_addr_t busaddr;
 	void *vaddr;
 	size_t size;
+#ifdef __NetBSD__
+	bus_dma_tag_t dmah_tag;
+	bus_dmamap_t dmah_map;
+	bus_dma_segment_t dmah_seg;
+#endif
 } drm_dma_handle_t;
 
 /**

Reply via email to