summaryrefslogtreecommitdiff
path: root/bsd/drmP.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-04-24 00:25:36 +0000
committerEric Anholt <anholt@freebsd.org>2003-04-24 00:25:36 +0000
commit1fc0a5e1e4c43a0e9fe8b0d9860f22ae8e820d46 (patch)
tree396b905a16cb361eefbd6dc884c931a51fe9c7b2 /bsd/drmP.h
parente15b0b6a1b95e4145363b15e1a581ee230b2f9a2 (diff)
Make DRM(read) and DRM(poll) stubs and remove DRM(write) and
DRM(write_string). This is the first part of removing much of the support code for gamma from the BSD DRM, since it appears that no new drivers are using it and nobody has ever shown interest in gamma on BSD.
Diffstat (limited to 'bsd/drmP.h')
-rw-r--r--bsd/drmP.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/bsd/drmP.h b/bsd/drmP.h
index 96dd52d8..e07337cc 100644
--- a/bsd/drmP.h
+++ b/bsd/drmP.h
@@ -487,21 +487,11 @@ struct drm_device {
drm_histogram_t histo;
#endif
- /* Callback to X server for context switch
- and for heavy-handed reset. */
- char buf[DRM_BSZ]; /* Output buffer */
- char *buf_rp; /* Read pointer */
- char *buf_wp; /* Write pointer */
- char *buf_end; /* End pointer */
#ifdef __FreeBSD__
struct sigio *buf_sigio; /* Processes waiting for SIGIO */
#elif defined(__NetBSD__)
pid_t buf_pgid;
#endif
- struct selinfo buf_sel; /* Workspace for select/poll */
- int buf_selecting;/* True if poll sleeper */
- wait_queue_head_t buf_readers; /* Processes waiting to read */
- wait_queue_head_t buf_writers; /* Processes waiting to ctx switch */
/* Sysctl support */
struct drm_sysctl_info *sysctl;
@@ -527,7 +517,6 @@ extern int DRM(remove_magic)(drm_device_t *dev, drm_magic_t magic);
/* Driver support (drm_drv.h) */
extern int DRM(version)( DRM_IOCTL_ARGS );
-extern int DRM(write_string)(drm_device_t *dev, const char *s);
/* Memory management support (drm_memory.h) */
extern void DRM(mem_init)(void);