Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/riastradh-drm2]: src/sys/external/bsd/drm2/include/linux Define dma_addr...



details:   https://anonhg.NetBSD.org/src/rev/745475f700f8
branches:  riastradh-drm2
changeset: 787996:745475f700f8
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 24 00:48:50 2013 +0000

description:
Define dma_addr_t to be bus_addr_t in drm2's <linux/dma-mapping.h> shim.

diffstat:

 sys/external/bsd/drm2/include/linux/dma-mapping.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 7d3bc7b650b0 -r 745475f700f8 sys/external/bsd/drm2/include/linux/dma-mapping.h
--- a/sys/external/bsd/drm2/include/linux/dma-mapping.h Wed Jul 24 00:48:34 2013 +0000
+++ b/sys/external/bsd/drm2/include/linux/dma-mapping.h Wed Jul 24 00:48:50 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dma-mapping.h,v 1.1.2.1 2013/07/24 00:33:12 riastradh Exp $    */
+/*     $NetBSD: dma-mapping.h,v 1.1.2.2 2013/07/24 00:48:50 riastradh Exp $    */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -32,4 +32,8 @@
 #ifndef _LINUX_DMA_MAPPING_H_
 #define _LINUX_DMA_MAPPING_H_
 
+#include <sys/bus.h>
+
+typedef bus_addr_t dma_addr_t;
+
 #endif  /* _LINUX_DMA_MAPPING_H_ */



Home | Main Index | Thread Index | Old Index