diff options
author | Mike Isely <isely@pobox.com> | 2007-11-26 00:04:11 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:03:03 -0500 |
commit | aaf7884db395332ae8474f3ea5bcdd39c0a941ea (patch) | |
tree | 3ce32381724e54c4071e5887ce31842ade021a38 /drivers/media/video/pvrusb2/pvrusb2-devattr.c | |
parent | 56dcbfa0d5a46f137df5047ae8f3aab30f59954e (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.c')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-devattr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-devattr.c b/drivers/media/video/pvrusb2/pvrusb2-devattr.c index aebcb846de6a..54a401e8bb14 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-devattr.c +++ b/drivers/media/video/pvrusb2/pvrusb2-devattr.c | |||
@@ -72,6 +72,7 @@ const struct pvr2_device_desc pvr2_device_descriptions[] = { | |||
72 | .client_modules.cnt = ARRAY_SIZE(pvr2_client_29xxx), | 72 | .client_modules.cnt = ARRAY_SIZE(pvr2_client_29xxx), |
73 | .fx2_firmware.lst = pvr2_fw1_names_29xxx, | 73 | .fx2_firmware.lst = pvr2_fw1_names_29xxx, |
74 | .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_29xxx), | 74 | .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_29xxx), |
75 | .flag_has_hauppauge_rom = !0, | ||
75 | }, | 76 | }, |
76 | [PVR2_HDW_TYPE_24XXX] = { | 77 | [PVR2_HDW_TYPE_24XXX] = { |
77 | .description = "WinTV PVR USB2 Model Category 24xxxx", | 78 | .description = "WinTV PVR USB2 Model Category 24xxxx", |
@@ -82,6 +83,7 @@ const struct pvr2_device_desc pvr2_device_descriptions[] = { | |||
82 | .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_24xxx), | 83 | .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_24xxx), |
83 | .flag_has_cx25840 = !0, | 84 | .flag_has_cx25840 = !0, |
84 | .flag_has_wm8775 = !0, | 85 | .flag_has_wm8775 = !0, |
86 | .flag_has_hauppauge_rom = !0, | ||
85 | }, | 87 | }, |
86 | }; | 88 | }; |
87 | 89 | ||