summaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2000-09-07 12:40:41 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2000-09-07 12:40:41 +0000
commitf1bb3c5f5ff40e89004064d8ac8e13a3798b9afb (patch)
treeed597fa5e8a8282263e50868e29371c2c02a80f1 /libdrm
parent7db6449142ca24183f50e6f9dcf396b899b4113b (diff)
Merged tdfx-2-1-branchtdfx-2-1-20000907-merge
Diffstat (limited to 'libdrm')
-rw-r--r--libdrm/xf86drm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c
index 10c2222cc..c561f01f3 100644
--- a/libdrm/xf86drm.c
+++ b/libdrm/xf86drm.c
@@ -502,7 +502,8 @@ int drmAddMap(int fd,
map.offset = offset;
#ifdef __alpha__
- if (type != DRM_SHM)
+ /* Make sure we add the bus_base to all but shm */
+ if (type != DRM_SHM)
map.offset += BUS_BASE;
#endif
map.size = size;