summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-dvb.h
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2008-02-03 17:55:07 -0600
committerMike Isely <isely@pobox.com>2008-02-03 17:55:07 -0600
commitd243c47234ca8a92b3730661a8baea742dbfcc76 (patch)
treeeaa14f4129d71de0c31f96fe5efbf40cb349bb83 /linux/drivers/media/video/pvrusb2/pvrusb2-dvb.h
parent0925f6ad8494d423299231d3915d4339b0f277e1 (diff)
downloadmediapointer-dvb-s2-d243c47234ca8a92b3730661a8baea742dbfcc76.tar.gz
mediapointer-dvb-s2-d243c47234ca8a92b3730661a8baea742dbfcc76.tar.bz2
pvrusb2-dvb: start working on streaming / buffer handling code
From: Michael Krufky <mkrufky@linuxtv.org> start work on streaming / buffer handling code to feed the software demux Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-dvb.h')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-dvb.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-dvb.h b/linux/drivers/media/video/pvrusb2/pvrusb2-dvb.h
index e93d1ada6..b16584934 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-dvb.h
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-dvb.h
@@ -19,6 +19,13 @@ struct pvr2_dvb_adapter {
int feedcount;
int max_feed_count;
+ struct task_struct *thread;
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15)
+ struct mutex lock;
+#else
+ struct semaphore lock;
+#endif
+
unsigned int digital_up:1;
};