diff options
author | Doug Rabson <dfr@freebsd.org> | 2000-06-12 15:59:09 +0000 |
---|---|---|
committer | Doug Rabson <dfr@freebsd.org> | 2000-06-12 15:59:09 +0000 |
commit | 46f2275dab156b302192865bb618107ef4e9a286 (patch) | |
tree | 8b023d95088a55e39531a0d8f19fcf2bab19c7d7 | |
parent | 4e5b40a9bd8b7dd30a7053a8508b33b6713f45a7 (diff) |
DRM_IOCTL_I810_GETBUF needs to be declared WR since it returns information.bsd-1-0-1-20000612-freeze
-rw-r--r-- | linux/drm.h | 2 | ||||
-rw-r--r-- | shared-core/drm.h | 2 | ||||
-rw-r--r-- | shared/drm.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/linux/drm.h b/linux/drm.h index c63d0f63..b2e2a0ac 100644 --- a/linux/drm.h +++ b/linux/drm.h @@ -349,7 +349,7 @@ typedef struct drm_agp_info { #define DRM_IOCTL_I810_CLEAR DRM_IOW( 0x42, drm_i810_clear_t) #define DRM_IOCTL_I810_FLUSH DRM_IO ( 0x43) #define DRM_IOCTL_I810_GETAGE DRM_IO ( 0x44) -#define DRM_IOCTL_I810_GETBUF DRM_IOW( 0x45, drm_i810_dma_t) +#define DRM_IOCTL_I810_GETBUF DRM_IOWR(0x45, drm_i810_dma_t) #define DRM_IOCTL_I810_SWAP DRM_IO ( 0x46) /* Rage 128 specific ioctls */ diff --git a/shared-core/drm.h b/shared-core/drm.h index c63d0f63..b2e2a0ac 100644 --- a/shared-core/drm.h +++ b/shared-core/drm.h @@ -349,7 +349,7 @@ typedef struct drm_agp_info { #define DRM_IOCTL_I810_CLEAR DRM_IOW( 0x42, drm_i810_clear_t) #define DRM_IOCTL_I810_FLUSH DRM_IO ( 0x43) #define DRM_IOCTL_I810_GETAGE DRM_IO ( 0x44) -#define DRM_IOCTL_I810_GETBUF DRM_IOW( 0x45, drm_i810_dma_t) +#define DRM_IOCTL_I810_GETBUF DRM_IOWR(0x45, drm_i810_dma_t) #define DRM_IOCTL_I810_SWAP DRM_IO ( 0x46) /* Rage 128 specific ioctls */ diff --git a/shared/drm.h b/shared/drm.h index c63d0f63..b2e2a0ac 100644 --- a/shared/drm.h +++ b/shared/drm.h @@ -349,7 +349,7 @@ typedef struct drm_agp_info { #define DRM_IOCTL_I810_CLEAR DRM_IOW( 0x42, drm_i810_clear_t) #define DRM_IOCTL_I810_FLUSH DRM_IO ( 0x43) #define DRM_IOCTL_I810_GETAGE DRM_IO ( 0x44) -#define DRM_IOCTL_I810_GETBUF DRM_IOW( 0x45, drm_i810_dma_t) +#define DRM_IOCTL_I810_GETBUF DRM_IOWR(0x45, drm_i810_dma_t) #define DRM_IOCTL_I810_SWAP DRM_IO ( 0x46) /* Rage 128 specific ioctls */ |