aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-10-25 01:01:10 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:04:39 -0500
commit11fcd4703004fc8c9030ba45dda8ad74a431d235 (patch)
tree98f66a73be9dc0bc2b735089f08bfa0d609f9e50 /drivers/media/video
parentd2c932a1f7aca16727ce6670c5eccb0a4e2b47a5 (diff)
V4L/DVB (6967): pvrusb2: add support for Hauppauge WinTV PVR-USB2 Model 75xxx
Create a device description and enable autodetection for Hauppauge WinTV PVR-USB2 Model 75xxx Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-devattr.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-devattr.c b/drivers/media/video/pvrusb2/pvrusb2-devattr.c
index 9a08670d406f..4df6d6d936fc 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-devattr.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-devattr.c
@@ -155,6 +155,33 @@ static const struct pvr2_device_desc pvr2_device_onair_usb2 = {
155 155
156 156
157/*------------------------------------------------------------------------*/ 157/*------------------------------------------------------------------------*/
158/* Hauppauge PVR-USB2 Model 75xxx */
159
160static const char *pvr2_client_75xxx[] = {
161 "cx25840",
162 "tuner",
163};
164
165static const char *pvr2_fw1_names_75xxx[] = {
166 "v4l-pvrusb2-73xxx-01.fw",
167};
168
169static const struct pvr2_device_desc pvr2_device_75xxx = {
170 .description = "WinTV PVR USB2 Model Category 75xxxx",
171 .shortname = "75xxx",
172 .client_modules.lst = pvr2_client_75xxx,
173 .client_modules.cnt = ARRAY_SIZE(pvr2_client_75xxx),
174 .fx2_firmware.lst = pvr2_fw1_names_75xxx,
175 .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_75xxx),
176 .flag_has_cx25840 = !0,
177 .flag_has_hauppauge_rom = !0,
178 .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
179 .default_std_mask = V4L2_STD_NTSC_M,
180};
181
182
183
184/*------------------------------------------------------------------------*/
158 185
159struct usb_device_id pvr2_device_table[] = { 186struct usb_device_id pvr2_device_table[] = {
160 { USB_DEVICE(0x2040, 0x2900), 187 { USB_DEVICE(0x2040, 0x2900),
@@ -171,6 +198,8 @@ struct usb_device_id pvr2_device_table[] = {
171 { USB_DEVICE(0x11ba, 0x1001), 198 { USB_DEVICE(0x11ba, 0x1001),
172 .driver_info = (kernel_ulong_t)&pvr2_device_onair_usb2}, 199 .driver_info = (kernel_ulong_t)&pvr2_device_onair_usb2},
173#endif 200#endif
201 { USB_DEVICE(0x2040, 0x7500),
202 .driver_info = (kernel_ulong_t)&pvr2_device_75xxx},
174 { } 203 { }
175}; 204};
176 205