aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2/pvrusb2-devattr.h
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2007-11-26 00:04:11 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:03:03 -0500
commitaaf7884db395332ae8474f3ea5bcdd39c0a941ea (patch)
tree3ce32381724e54c4071e5887ce31842ade021a38 /drivers/media/video/pvrusb2/pvrusb2-devattr.h
parent56dcbfa0d5a46f137df5047ae8f3aab30f59954e (diff)
V4L/DVB (6697): pvrusb2: Existence of Hauppauge ROM is a device-specific attribute
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> 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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-devattr.h b/drivers/media/video/pvrusb2/pvrusb2-devattr.h
index 6576aefd27c3..f63c3ddb8a72 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-devattr.h
+++ b/drivers/media/video/pvrusb2/pvrusb2-devattr.h
@@ -55,9 +55,16 @@ struct pvr2_device_desc {
55 was initialized from internal ROM. */ 55 was initialized from internal ROM. */
56 struct pvr2_string_table fx2_firmware; 56 struct pvr2_string_table fx2_firmware;
57 57
58 /* V4L tuner type ID to use with this device (only used if the
59 driver could not discover the type any other way). */
60 int default_tuner_type;
61
58 /* If set, we don't bother trying to load cx23416 firmware. */ 62 /* If set, we don't bother trying to load cx23416 firmware. */
59 char flag_skip_cx23416_firmware; 63 char flag_skip_cx23416_firmware;
60 64
65 /* Device has a hauppauge eeprom which we can interrogate. */
66 char flag_has_hauppauge_rom;
67
61 /* Device does not require a powerup command to be issued. */ 68 /* Device does not require a powerup command to be issued. */
62 char flag_no_powerup; 69 char flag_no_powerup;
63 70