summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-devattr.c
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.c
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.c')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-devattr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-devattr.c b/linux/drivers/media/video/pvrusb2/pvrusb2-devattr.c
index aebcb846d..54a401e8b 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-devattr.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-devattr.c
@@ -72,6 +72,7 @@ const struct pvr2_device_desc pvr2_device_descriptions[] = {
.client_modules.cnt = ARRAY_SIZE(pvr2_client_29xxx),
.fx2_firmware.lst = pvr2_fw1_names_29xxx,
.fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_29xxx),
+ .flag_has_hauppauge_rom = !0,
},
[PVR2_HDW_TYPE_24XXX] = {
.description = "WinTV PVR USB2 Model Category 24xxxx",
@@ -82,6 +83,7 @@ const struct pvr2_device_desc pvr2_device_descriptions[] = {
.fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_24xxx),
.flag_has_cx25840 = !0,
.flag_has_wm8775 = !0,
+ .flag_has_hauppauge_rom = !0,
},
};