summaryrefslogtreecommitdiff
path: root/sys/dev/video_if.h
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2008-06-05 20:50:29 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2008-06-05 20:50:29 +0000
commit8069d0dbe3969ba410e2a7148cb59e4670241e30 (patch)
tree13ee5f1bba004b6540339fbc13b146841c0e1d3f /sys/dev/video_if.h
parent49e010146a7fe56465e8001af0a6701af58d4095 (diff)
Add some first mmap bits.
Help by miod@
Diffstat (limited to 'sys/dev/video_if.h')
-rw-r--r--sys/dev/video_if.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/video_if.h b/sys/dev/video_if.h
index eb672e75302..492ae2d96e9 100644
--- a/sys/dev/video_if.h
+++ b/sys/dev/video_if.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: video_if.h,v 1.5 2008/05/30 06:37:38 mglocker Exp $ */
+/* $OpenBSD: video_if.h,v 1.6 2008/06/05 20:50:28 mglocker Exp $ */
/*
* Copyright (c) 2008 Robert Nagy <robert@openbsd.org>
*
@@ -38,12 +38,13 @@ struct video_hw_if {
int (*enum_fmt)(void *, struct v4l2_fmtdesc *);
int (*s_fmt)(void *, struct v4l2_format *);
int (*g_fmt)(void *, struct v4l2_format *);
- int (*reqbufs)(void *, struct v4l2_requestbuffers *);
int (*enum_input)(void *, struct v4l2_input *);
int (*s_input)(void *, int);
- int (*qbuf)(void *, struct v4l2_buffer *);
+ int (*reqbufs)(void *, struct v4l2_requestbuffers *);
+ int (*querybuf)(void *, struct v4l2_buffer *);
int (*dqbuf)(void *, struct v4l2_buffer *);
int (*try_fmt)(void *, struct v4l2_format *);
+ caddr_t (*mappage)(void *, off_t, int);
};
struct video_attach_args {