summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/include/grfioctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mac68k/include/grfioctl.h')
-rw-r--r--sys/arch/mac68k/include/grfioctl.h27
1 files changed, 1 insertions, 26 deletions
diff --git a/sys/arch/mac68k/include/grfioctl.h b/sys/arch/mac68k/include/grfioctl.h
index 95e09392207..bbc3ae5a740 100644
--- a/sys/arch/mac68k/include/grfioctl.h
+++ b/sys/arch/mac68k/include/grfioctl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: grfioctl.h,v 1.5 2003/06/02 23:27:49 millert Exp $ */
+/* $OpenBSD: grfioctl.h,v 1.6 2005/08/06 19:51:44 martin Exp $ */
/* $NetBSD: grfioctl.h,v 1.5 1995/07/02 05:26:45 briggs Exp $ */
/*
@@ -66,36 +66,11 @@ struct grfmodes {
* BSD ioctls (first few match HP-UX ioctl()s. In case we want
* compatibility later, start our own at 16).
*/
-#define GRFIOCGINFO _IOR('G', 0, struct grfinfo) /* get info on device */
#define GRFIOCON _IO('G', 1) /* turn graphics on */
#define GRFIOCOFF _IO('G', 2) /* turn graphics off */
-#define GRFIOCMAP _IOWR('G', 5, int) /* map in regs+framebuffer */
-#define GRFIOCUNMAP _IOW('G', 6, int) /* unmap regs+framebuffer */
-
#define GRFIOCLISTMODES _IOWR('G', 16, struct grfmodes) /* Get list of modes */
#define GRFIOCGETMODE _IOR('G', 17, int) /* Get list of modes */
#define GRFIOCSETMODE _IOW('G', 18, int) /* Set to mode_id mode */
#define GRFIOCGMODE _IOR('G', 19, struct grfmode) /* Get list of modes */
-/*
- * Obsolete structure.
- * Only used to return information to older programs that still
- * depend on GRFIOCGINFO.
- */
-struct grfinfo {
- int gd_id; /* HP-UX identifier */
- caddr_t gd_regaddr; /* control registers physaddr */
- int gd_regsize; /* control registers size */
- caddr_t gd_fbaddr; /* frame buffer physaddr */
- int gd_fbsize; /* frame buffer size */
- short gd_colors; /* number of colors */
- short gd_planes; /* number of planes */
- int gd_fbwidth; /* frame buffer width */
- int gd_fbheight; /* frame buffer height */
- int gd_fbrowbytes; /* frame buffer rowbytes */
- int gd_dwidth; /* displayed part width */
- int gd_dheight; /* displayed part height */
- int gd_pad[6]; /* for future expansion */
-};
-
#endif /* _MAC68K_GRFIOCTL_H_ */