Linux Media Controller development
 help / color / mirror / Atom feed
From: Patrick Boettcher <pboettcher@kernellabs.com>
To: "Stéphane Elmaleh" <s_elmaleh@hotmail.com>
Cc: linux-media@vger.kernel.org
Subject: Re: [PATCH] support for medion dvb stick 1660:1921
Date: Tue, 1 Jun 2010 11:53:17 +0200 (CEST)	[thread overview]
Message-ID: <alpine.LRH.2.00.1006011150030.28355@pub2.ifh.de> (raw)
In-Reply-To: <loom.20100531T003945-828@post.gmane.org>

Hi Stephane,

On Sun, 30 May 2010, St?phane Elmaleh wrote:
> Hello,
> I'm not sure of doing this the right way since I'm not a programmer.

Thanks for submitting the patch.

> diff -r b576509ea6d2 linux/drivers/media/dvb/dvb-usb/dib0700_devices.c
> --- a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	Wed May 19 19:34:33
> 2010 -0300
> +++ b/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	Mon May 31 00:34:44
> 2010 +0200
> @@ -2083,6 +2083,7 @@
> 	{ USB_DEVICE(USB_VID_PCTV,	USB_PID_PINNACLE_PCTV282E) },
> 	{ USB_DEVICE(USB_VID_DIBCOM,	USB_PID_DIBCOM_STK7770P) },
> /* 60 */{ USB_DEVICE(USB_VID_TERRATEC,	USB_PID_TERRATEC_CINERGY_T_XXS_2) },
> +	{ USB_DEVICE(USB_VID_MEDION,	USB_PID_MEDION_STICK_CTX_1921) },
> 	{ USB_DEVICE(USB_VID_DIBCOM,    USB_PID_DIBCOM_STK807XPVR) },
> 	{ USB_DEVICE(USB_VID_DIBCOM,    USB_PID_DIBCOM_STK807XP) },
> 	{ USB_DEVICE(USB_VID_PIXELVIEW, USB_PID_PIXELVIEW_SBTVD) }

Could you please move your inserted line to the end of this PID/VID-table? 
How it is done now will change the indices used for all other 
PID/VID-entries which will break all the references to it.


> @@ -2606,10 +2607,14 @@
> 			},
> 		},
>
> -		.num_device_descs = 2,
> +		.num_device_descs = 3,
> 		.devices = {
> 			{   "DiBcom STK7770P reference design",
> 				{ &dib0700_usb_id_table[59], NULL },
> +				{ NULL },
> +			},
> +			{   "Medion Stick ctx 1921",
> +				{ &dib0700_usb_id_table[61], NULL },

If moved to the end of the table you have to adapt the 61 here to the 
real value.

Please resent the patch afterwards.

thanks,
Patrick.

--

Patrick Boettcher - Kernel Labs
http://www.kernellabs.com/

  reply	other threads:[~2010-06-01 10:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-30 22:46 [PATCH] support for medion dvb stick 1660:1921 Stéphane Elmaleh
2010-06-01  9:53 ` Patrick Boettcher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-06-01 18:58 Stéphane Elmaleh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LRH.2.00.1006011150030.28355@pub2.ifh.de \
    --to=pboettcher@kernellabs.com \
    --cc=linux-media@vger.kernel.org \
    --cc=s_elmaleh@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox