summaryrefslogtreecommitdiff
path: root/sys/dev/ic/vgavar.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-08-22 22:26:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-08-22 22:26:02 +0000
commit2da1ea8cfd5e9d38ec8937b7024d93efea1dff47 (patch)
tree1d880e26636ce3be47c3c120b592314f8ea30bf8 /sys/dev/ic/vgavar.h
parente4a3d7c138089f32129f3331233474ad41e9f7cd (diff)
wscons -> vga_xxx -> vga mmap() support. first cut
Diffstat (limited to 'sys/dev/ic/vgavar.h')
-rw-r--r--sys/dev/ic/vgavar.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/ic/vgavar.h b/sys/dev/ic/vgavar.h
index 3c5353a83b0..93ac39220f9 100644
--- a/sys/dev/ic/vgavar.h
+++ b/sys/dev/ic/vgavar.h
@@ -43,6 +43,11 @@ struct vga_config {
char vc_so; /* in standout mode? */
char vc_at; /* normal attributes */
char vc_so_at; /* standout attributes */
+
+ int (*vc_ioctl) __P((void *, u_long,
+ caddr_t, int, struct proc *));
+ int (*vc_mmap) __P((void *, off_t, int));
+
};
int vga_common_probe __P((bus_space_tag_t, bus_space_tag_t));
@@ -50,3 +55,5 @@ void vga_common_setup __P((bus_space_tag_t, bus_space_tag_t,
struct vga_config *));
void vga_wscons_attach __P((struct device *, struct vga_config *, int));
void vga_wscons_console __P((struct vga_config *));
+int vgaioctl __P((void *, u_long, caddr_t, int, struct proc *));
+int vgammap __P((void *, off_t, int));