From 2da1ea8cfd5e9d38ec8937b7024d93efea1dff47 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 22 Aug 1997 22:26:02 +0000 Subject: wscons -> vga_xxx -> vga mmap() support. first cut --- sys/dev/ic/vgavar.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sys/dev/ic/vgavar.h') 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)); -- cgit v1.2.3