summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2009-04-05 23:51:38 -0500
committerMike Isely <isely@pobox.com>2009-04-05 23:51:38 -0500
commit7b7dbf06c3c16bf46bd2954ad07325f6b43fb367 (patch)
tree80c45b4d002141b4cc6ad477498b5111e9f3cd5d /linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
parentef9ce811383b9e45d06ed6728a8ef0491ba5e16c (diff)
downloadmediapointer-dvb-s2-7b7dbf06c3c16bf46bd2954ad07325f6b43fb367.tar.gz
mediapointer-dvb-s2-7b7dbf06c3c16bf46bd2954ad07325f6b43fb367.tar.bz2
pvrusb2: Select, track, and report IR scheme in use with the device
From: Mike Isely <isely@pobox.com> This change defines all possible "IR schemes" related to the pvrusb2 driver, on a per-device basis. That information is then set according to the hardware in use. The idea here is to make possible a more intelligent future decision on which, if any, IR receiver driver might be loaded during initialization. Priority: normal Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
index 5d75eb521..5b152ff20 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
@@ -200,6 +200,9 @@ struct pvr2_hdw {
int i2c_cx25840_hack_state;
int i2c_linked;
+ /* IR related */
+ unsigned int ir_scheme_active; /* IR scheme as seen from the outside */
+
/* Frequency table */
unsigned int freqTable[FREQTABLE_SIZE];
unsigned int freqProgSlot;