diff options
author | Mike Isely <isely@pobox.com> | 2009-04-06 00:51:38 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 17:20:59 -0400 |
commit | 27eab3840baaee469eb6377607520ca2128b66f7 (patch) | |
tree | 775915613da853314d7302d5218b7b72882b44be /drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h | |
parent | 06e61f8d5f5df68104168ac20d0527ecee13638a (diff) |
V4L/DVB (11744): pvrusb2: Select, track, and report IR scheme in use with the device
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.
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h b/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h index 5d75eb5211b1..5b152ff20bd0 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h +++ b/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h | |||
@@ -200,6 +200,9 @@ struct pvr2_hdw { | |||
200 | int i2c_cx25840_hack_state; | 200 | int i2c_cx25840_hack_state; |
201 | int i2c_linked; | 201 | int i2c_linked; |
202 | 202 | ||
203 | /* IR related */ | ||
204 | unsigned int ir_scheme_active; /* IR scheme as seen from the outside */ | ||
205 | |||
203 | /* Frequency table */ | 206 | /* Frequency table */ |
204 | unsigned int freqTable[FREQTABLE_SIZE]; | 207 | unsigned int freqTable[FREQTABLE_SIZE]; |
205 | unsigned int freqProgSlot; | 208 | unsigned int freqProgSlot; |