From f449944be8fd359010c95701a1a74b2685ea4467 Mon Sep 17 00:00:00 2001 From: anholt Date: Mon, 29 Apr 2002 18:18:42 +0000 Subject: More diff reduction: Shuffle around some header code as was done in drmcommand-0-0-1-branch of DRI CVS, more return code cleanup, and remove some gratuitous ifdefs. Approved by: des --- sys/dev/drm/sis_drm.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'sys/dev/drm/sis_drm.h') diff --git a/sys/dev/drm/sis_drm.h b/sys/dev/drm/sis_drm.h index dad43bc..76a3ba3 100644 --- a/sys/dev/drm/sis_drm.h +++ b/sys/dev/drm/sis_drm.h @@ -5,6 +5,16 @@ #ifndef _sis_drm_public_h_ #define _sis_drm_public_h_ +/* SiS specific ioctls */ +#define SIS_IOCTL_FB_ALLOC DRM_IOWR(0x44, drm_sis_mem_t) +#define SIS_IOCTL_FB_FREE DRM_IOW( 0x45, drm_sis_mem_t) +#define SIS_IOCTL_AGP_INIT DRM_IOWR(0x53, drm_sis_agp_t) +#define SIS_IOCTL_AGP_ALLOC DRM_IOWR(0x54, drm_sis_mem_t) +#define SIS_IOCTL_AGP_FREE DRM_IOW( 0x55, drm_sis_mem_t) +#define SIS_IOCTL_FLIP DRM_IOW( 0x48, drm_sis_flip_t) +#define SIS_IOCTL_FLIP_INIT DRM_IO( 0x49) +#define SIS_IOCTL_FLIP_FINAL DRM_IO( 0x50) + typedef struct { int context; unsigned int offset; -- cgit v1.1