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/dist/include/drm Declare comp...



details:   https://anonhg.NetBSD.org/src/rev/f20798ea42e7
branches:  riastradh-drm2
changeset: 788071:f20798ea42e7
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 24 02:05:49 2013 +0000

description:
Declare compatibility frobs drm_ioremap and drm_iounmap in drmP.h.

To be implemented later.

diffstat:

 sys/external/bsd/drm2/dist/include/drm/drmP.h |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 5504093a3605 -r f20798ea42e7 sys/external/bsd/drm2/dist/include/drm/drmP.h
--- a/sys/external/bsd/drm2/dist/include/drm/drmP.h     Wed Jul 24 02:05:33 2013 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drmP.h     Wed Jul 24 02:05:49 2013 +0000
@@ -1378,6 +1378,10 @@
                                       uint32_t gtt_offset,
                                       uint32_t type);
 extern int drm_unbind_agp(DRM_AGP_MEM * handle);
+#ifdef __NetBSD__
+extern void *drm_ioremap(struct drm_device *dev, struct drm_local_map *map);
+extern void drm_iounmap(struct drm_device *dev, struct drm_local_map *map);
+#endif
 
                                /* Misc. IOCTL support (drm_ioctl.h) */
 extern int drm_irq_by_busid(struct drm_device *dev, void *data,



Home | Main Index | Thread Index | Old Index