}
drm_ioctl_compat_t *mga_compat_ioctls[] = {
- [DRM_MGA_DMA_INIT] = compat_mga_init,
+ [DRM_MGA_INIT] = compat_mga_init,
[DRM_MGA_GETPARAM] = compat_mga_getparam,
};
#include "drm.h"
#include "r128_drm.h"
-typedef struct drm32_r128_init {
+typedef struct drm_r128_init32 {
int func;
unsigned int sarea_priv_offset;
int is_pci;
unsigned int ring_rptr_offset;
unsigned int buffers_offset;
unsigned int agp_textures_offset;
-} drm32_r128_init_t;
+} drm_r128_init32_t;
static int compat_r128_init(struct file *file, unsigned int cmd,
unsigned long arg)
static int compat_r128_stipple(struct file *file, unsigned int cmd,
unsigned long arg)
{
- drm_r128_stipple32 stipple32;
+ drm_r128_stipple32_t stipple32;
drm_r128_stipple_t __user *stipple;
if (copy_from_user(&stipple32, (void __user *)arg, sizeof(stipple32)))