summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-devattr.h
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2007-11-25 23:04:11 -0600
committerMike Isely <isely@pobox.com>2007-11-25 23:04:11 -0600
commite859ac824f9a284fa50783c8536c5b95c6ff2e79 (patch)
tree7be568d23c97bfa6cc786efb6172741980877ff1 /linux/drivers/media/video/pvrusb2/pvrusb2-devattr.h
parent4cb090552f06470e17ce82a5f4290ad5ac41f62c (diff)
downloadmediapointer-dvb-s2-e859ac824f9a284fa50783c8536c5b95c6ff2e79.tar.gz
mediapointer-dvb-s2-e859ac824f9a284fa50783c8536c5b95c6ff2e79.tar.bz2
pvrusb2: Existence of Hauppauge ROM is a device-specific attribute
From: Mike Isely <isely@pobox.com> Arrange so that the pvrusb2 driver can optionally work without a Hauppauge ROM being present - which is fairly important for devices that happen to not come from Hauppauge. The expected existence of a Hauppauge ROM is now a device attribute. The tuner type is now also a device attribute, which is consulted if there is no ROM. 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 6576aefd2..f63c3ddb8 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-devattr.h
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-devattr.h
@@ -55,9 +55,16 @@ struct pvr2_device_desc {
was initialized from internal ROM. */
struct pvr2_string_table fx2_firmware;
+ /* V4L tuner type ID to use with this device (only used if the
+ driver could not discover the type any other way). */
+ int default_tuner_type;
+
/* If set, we don't bother trying to load cx23416 firmware. */
char flag_skip_cx23416_firmware;
+ /* Device has a hauppauge eeprom which we can interrogate. */
+ char flag_has_hauppauge_rom;
+
/* Device does not require a powerup command to be issued. */
char flag_no_powerup;