summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-devattr.h
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2008-04-02 23:51:19 -0500
committerMike Isely <isely@pobox.com>2008-04-02 23:51:19 -0500
commitd4bbc195916ad8d03c137c4f065a3330892dc3fd (patch)
tree384bad7682e3b9a020251b48539d092623f70127 /linux/drivers/media/video/pvrusb2/pvrusb2-devattr.h
parent47e0450c02ef07e690c8b339360de5b4e606d2c2 (diff)
downloadmediapointer-dvb-s2-d4bbc195916ad8d03c137c4f065a3330892dc3fd.tar.gz
mediapointer-dvb-s2-d4bbc195916ad8d03c137c4f065a3330892dc3fd.tar.bz2
pvrusb2: New device attribute for encoder usage in digital mode
From: Mike Isely <isely@pobox.com> Some tuners seem to not work in digital mode unless the encoder is healthy. Implement a device attribute to represent this flag and modify the core state machines to enforce this requirement. Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-devattr.h')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-devattr.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-devattr.h b/linux/drivers/media/video/pvrusb2/pvrusb2-devattr.h
index 38913519a..c2e2b06fe 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-devattr.h
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-devattr.h
@@ -106,6 +106,13 @@ struct pvr2_device_desc {
/* If set, we don't bother trying to load cx23416 firmware. */
int flag_skip_cx23416_firmware:1;
+ /* If set, the encoder must be healthy in order for digital mode to
+ work (otherwise we assume that digital streaming will work even
+ if we fail to locate firmware for the encoder). If the device
+ doesn't support digital streaming then this flag has no
+ effect. */
+ int flag_digital_requires_cx23416:1;
+
/* Device has a hauppauge eeprom which we can interrogate. */
int flag_has_hauppauge_rom:1;