[pvrusb2] [PATCH] Add support for Terratec Grabster AV 450MX
Mike Isely
isely at isely.net
Sat Jul 9 20:45:55 CDT 2011
Thanks for posting this. I'll get it integrated into the driver asap.
-Mike
On Sun, 3 Jul 2011, Albert ARIBAUD wrote:
>
> Signed-off-by: Albert ARIBAUD <albert.aribaud at free.fr>
> ---
> drivers/media/video/pvrusb2/pvrusb2-devattr.c | 20 +++++++++++---------
> drivers/media/video/pvrusb2/pvrusb2-devattr.h | 2 +-
> 2 files changed, 12 insertions(+), 10 deletions(-)
>
> diff --git a/drivers/media/video/pvrusb2/pvrusb2-devattr.c b/drivers/media/video/pvrusb2/pvrusb2-devattr.c
> index e799331..e47b3a0 100644
> --- a/drivers/media/video/pvrusb2/pvrusb2-devattr.c
> +++ b/drivers/media/video/pvrusb2/pvrusb2-devattr.c
> @@ -157,23 +157,23 @@ static const struct pvr2_device_desc pvr2_device_gotview_2d = {
>
>
> /*------------------------------------------------------------------------*/
> -/* Terratec Grabster AV400 */
> +/* Terratec Grabster AV400 / AV450MX */
>
> -static const struct pvr2_device_client_desc pvr2_cli_av400[] = {
> +static const struct pvr2_device_client_desc pvr2_cli_av4x0[] = {
> { .module_id = PVR2_CLIENT_ID_CX25840 },
> };
>
> -static const struct pvr2_device_desc pvr2_device_av400 = {
> - .description = "Terratec Grabster AV400",
> - .shortname = "av400",
> +static const struct pvr2_device_desc pvr2_device_av4x0 = {
> + .description = "Terratec Grabster AV400 / AV450MX",
> + .shortname = "av4x0",
> .flag_is_experimental = 1,
> - .client_table.lst = pvr2_cli_av400,
> - .client_table.cnt = ARRAY_SIZE(pvr2_cli_av400),
> + .client_table.lst = pvr2_cli_av4x0,
> + .client_table.cnt = ARRAY_SIZE(pvr2_cli_av4x0),
> .flag_has_cx25840 = !0,
> .flag_has_analogtuner = 0,
> .flag_has_composite = !0,
> .flag_has_svideo = !0,
> - .signal_routing_scheme = PVR2_ROUTING_SCHEME_AV400,
> + .signal_routing_scheme = PVR2_ROUTING_SCHEME_AV4x0,
> };
>
>
> @@ -540,7 +540,9 @@ struct usb_device_id pvr2_device_table[] = {
> { USB_DEVICE(0x2040, 0x7501),
> .driver_info = (kernel_ulong_t)&pvr2_device_751xx},
> { USB_DEVICE(0x0ccd, 0x0039),
> - .driver_info = (kernel_ulong_t)&pvr2_device_av400},
> + .driver_info = (kernel_ulong_t)&pvr2_device_av4x0},
> + { USB_DEVICE(0x0ccd, 0x10a8),
> + .driver_info = (kernel_ulong_t)&pvr2_device_av4x0},
> { }
> };
>
> diff --git a/drivers/media/video/pvrusb2/pvrusb2-devattr.h b/drivers/media/video/pvrusb2/pvrusb2-devattr.h
> index 273c8d4..75e8e8a 100644
> --- a/drivers/media/video/pvrusb2/pvrusb2-devattr.h
> +++ b/drivers/media/video/pvrusb2/pvrusb2-devattr.h
> @@ -69,7 +69,7 @@ struct pvr2_string_table {
> #define PVR2_ROUTING_SCHEME_HAUPPAUGE 0
> #define PVR2_ROUTING_SCHEME_GOTVIEW 1
> #define PVR2_ROUTING_SCHEME_ONAIR 2
> -#define PVR2_ROUTING_SCHEME_AV400 3
> +#define PVR2_ROUTING_SCHEME_AV4x0 3
>
> #define PVR2_DIGITAL_SCHEME_NONE 0
> #define PVR2_DIGITAL_SCHEME_HAUPPAUGE 1
>
--
Mike Isely
isely @ isely (dot) net
PGP: 03 54 43 4D 75 E5 CC 92 71 16 01 E2 B5 F5 C1 E8
More information about the pvrusb2
mailing list