@@ -639,18 +639,7 @@ int savage_driver_firstopen(struct drm_device *dev)
if (ret)
return ret;
- ret = drm_addmap(dev, fb_base, fb_size, _DRM_FRAME_BUFFER,
- _DRM_WRITE_COMBINING, &dev_priv->fb);
- if (ret)
- return ret;
-
- ret = drm_addmap(dev, aperture_base, SAVAGE_APERTURE_SIZE,
- _DRM_FRAME_BUFFER, _DRM_WRITE_COMBINING,
- &dev_priv->aperture);
- if (ret)
- return ret;
-
- return ret;
+ return 0;
}
/*
@@ -153,8 +153,6 @@ typedef struct drm_savage_private {
/* memory regions in physical memory */
drm_local_map_t *sarea;
drm_local_map_t *mmio;
- drm_local_map_t *fb;
- drm_local_map_t *aperture;
drm_local_map_t *status;
drm_local_map_t *agp_textures;
drm_local_map_t *cmd_dma;