summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2/pvrusb2-devattr.h
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2007-11-26 02:09:42 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 19:03:05 -0200
commit056d1a899201f02777a35a32f8e6c9a2aac63f63 (patch)
treee99e723532821d13d4f65d90e18bbe25878ef3db /drivers/media/video/pvrusb2/pvrusb2-devattr.h
parentf5174af201f2e22c101bb02d06343e4bc5f056de (diff)
downloadblackbird-op-linux-056d1a899201f02777a35a32f8e6c9a2aac63f63.tar.gz
blackbird-op-linux-056d1a899201f02777a35a32f8e6c9a2aac63f63.zip
V4L/DVB (6699): pvrusb2: Use of virtual IR chip is a device-specific attribute
For Hauppauge 24xxx devices, the IR receiver is a custom piece of logic that is very specific to the device. The pvrusb2 driver can virtualize this to make it look like a more normal IR receiver found in other Hauppauge devices. The decision of whether or not to enable this virtualization however is a device-specific attribute, thus this changeset. Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-devattr.h')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-devattr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-devattr.h b/drivers/media/video/pvrusb2/pvrusb2-devattr.h
index 05eb2c669ee8..2aff5a3d5a55 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-devattr.h
+++ b/drivers/media/video/pvrusb2/pvrusb2-devattr.h
@@ -84,6 +84,10 @@ struct pvr2_device_desc {
/* Device has a wm8775 - this enables special additional logic to
ensure that it is found. */
char flag_has_wm8775;
+
+ /* Device has IR hardware that can be faked into looking like a
+ normal Hauppauge i2c IR receiver. */
+ char flag_has_hauppauge_custom_ir;
};
extern const struct pvr2_device_desc pvr2_device_descriptions[];
OpenPOWER on IntegriCloud