summaryrefslogtreecommitdiff
path: root/sys/dev/videovar.h
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2008-05-24 19:37:35 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2008-05-24 19:37:35 +0000
commitec8b8e37b2177d2b6911ecc80da5c5211d200380 (patch)
treee75a0bea9b7e89835738efd8affa4cead1803068 /sys/dev/videovar.h
parent49a507fbe9895f9d7339d9e4f70a773072da0d09 (diff)
- Enable userland to read(2) video stream from /dev/video.
- Prepare for mmap(2).
Diffstat (limited to 'sys/dev/videovar.h')
-rw-r--r--sys/dev/videovar.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/videovar.h b/sys/dev/videovar.h
index 3b6319cfd28..53999bfe958 100644
--- a/sys/dev/videovar.h
+++ b/sys/dev/videovar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: videovar.h,v 1.1 2008/04/09 19:49:55 robert Exp $ */
+/* $OpenBSD: videovar.h,v 1.2 2008/05/24 19:37:34 mglocker Exp $ */
/*
* Copyright (c) 2008 Robert Nagy <robert@openbsd.org>
*
@@ -24,6 +24,9 @@ struct video_softc {
struct device *sc_dev; /* hardware device struct */
struct video_hw_if *hw_if; /* hardware interface */
char sc_dying; /* device detached */
+
+ int sc_fsize;
+ uint8_t *sc_fbuffer;
};
#endif /* _SYS_DEV_VIDEOVAR_H */