diff options
author | Rik Faith <faith@alephnull.com> | 2001-01-04 18:41:41 +0000 |
---|---|---|
committer | Rik Faith <faith@alephnull.com> | 2001-01-04 18:41:41 +0000 |
commit | 833af23c5d21b1ab139327861d25d96dcd91af6f (patch) | |
tree | 84064ba2e7f846d3889e3ac3e0a9a9e079e628bd /linux/drm.h | |
parent | c7c6156aecdee2838dd0e193a3d529ecbb797ae7 (diff) |
Sync with Linux 2.4.0-prerelease
Diffstat (limited to 'linux/drm.h')
-rw-r--r-- | linux/drm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drm.h b/linux/drm.h index cdc058af..3049b726 100644 --- a/linux/drm.h +++ b/linux/drm.h @@ -82,7 +82,9 @@ typedef struct drm_clip_rect { #include "mga_drm.h" #include "i810_drm.h" #include "r128_drm.h" +#ifdef CONFIG_DRM_SIS #include "sis_drm.h" +#endif typedef struct drm_version { int version_major; /* Major version */ @@ -379,6 +381,7 @@ typedef struct drm_agp_info { #define DRM_IOCTL_R128_STIPPLE DRM_IOW( 0x4d, drm_r128_stipple_t) #define DRM_IOCTL_R128_PACKET DRM_IOWR(0x4e, drm_r128_packet_t) +#ifdef CONFIG_DRM_SIS /* 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) @@ -388,5 +391,6 @@ typedef struct drm_agp_info { #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) +#endif #endif |