aboutsummaryrefslogtreecommitdiff
path: root/libdrm/xf86drm.c
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2001-05-04 14:05:13 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2001-05-04 14:05:13 +0000
commit0813760110535d8989af187d23b4eedc4c6b225f (patch)
treeced435f69c84a01925f3db9e92b4970e8cf5e217 /libdrm/xf86drm.c
parent5f5d850013d6c846946f77b57e88a507232c0aca (diff)
add some commented enclosures around the BUS_BASE calls for Alpha
platforms.
Diffstat (limited to 'libdrm/xf86drm.c')
-rw-r--r--libdrm/xf86drm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c
index ffc85d8c..5f757455 100644
--- a/libdrm/xf86drm.c
+++ b/libdrm/xf86drm.c
@@ -67,10 +67,12 @@ extern int xf86RemoveSIGIOHandler(int fd);
# endif
#endif
+/* No longer needed with CVS kernel modules on alpha
#if defined(__alpha__) && defined(__linux__)
extern unsigned long _bus_base(void);
#define BUS_BASE _bus_base()
#endif
+*/
/* Not all systems have MAP_FAILED defined */
#ifndef MAP_FAILED
@@ -494,11 +496,12 @@ int drmAddMap(int fd,
drm_map_t map;
map.offset = offset;
+/* No longer needed with CVS kernel modules on alpha
#ifdef __alpha__
- /* Make sure we add the bus_base to all but shm */
if (type != DRM_SHM)
map.offset += BUS_BASE;
#endif
+*/
map.size = size;
map.handle = 0;
map.type = type;