From ec8b8e37b2177d2b6911ecc80da5c5211d200380 Mon Sep 17 00:00:00 2001 From: Marcus Glocker Date: Sat, 24 May 2008 19:37:35 +0000 Subject: - Enable userland to read(2) video stream from /dev/video. - Prepare for mmap(2). --- sys/dev/videovar.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/dev/videovar.h') 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 * @@ -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 */ -- cgit v1.2.3