* Different Devices identical hardware
@ 2014-07-22 5:33 Matthias Schwarzott
2014-07-22 5:40 ` Mauro Carvalho Chehab
0 siblings, 1 reply; 2+ messages in thread
From: Matthias Schwarzott @ 2014-07-22 5:33 UTC (permalink / raw)
To: Linux Media Mailing List
Hi,
I want to add support for Hauppauge WinTV 930C-HD and PCTV QuatroStick 521e.
The namess and USB-IDs are different, but the hardware is the same.
Should there be in this case one card entry in cx231xx driver or two?
Two would have the advantage that the correct name of the device could
be displayed, but some code related to the card entry would be duplicated.
Regards
Matthias
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Different Devices identical hardware
2014-07-22 5:33 Different Devices identical hardware Matthias Schwarzott
@ 2014-07-22 5:40 ` Mauro Carvalho Chehab
0 siblings, 0 replies; 2+ messages in thread
From: Mauro Carvalho Chehab @ 2014-07-22 5:40 UTC (permalink / raw)
To: Matthias Schwarzott; +Cc: Linux Media Mailing List
Em Tue, 22 Jul 2014 07:33:27 +0200
Matthias Schwarzott <zzam@gentoo.org> escreveu:
> Hi,
>
> I want to add support for Hauppauge WinTV 930C-HD and PCTV QuatroStick 521e.
> The namess and USB-IDs are different, but the hardware is the same.
>
> Should there be in this case one card entry in cx231xx driver or two?
> Two would have the advantage that the correct name of the device could
> be displayed, but some code related to the card entry would be duplicated.
One entry is enough. There are other similar cases on our tree. We
generally add both names at the string name, like:
[EM2820_BOARD_PINNACLE_DVC_90] = {
.name = "Pinnacle Dazzle DVC 90/100/101/107 / Kaiser Baas Video to DVD maker "
[EM2820_BOARD_PROLINK_PLAYTV_USB2] = {
.name = "SIIG AVTuner-PVR / Pixelview Prolink PlayTV USB 2.0",
and others.
Regards,
Mauro
>
> Regards
> Matthias
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-22 5:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-22 5:33 Different Devices identical hardware Matthias Schwarzott
2014-07-22 5:40 ` Mauro Carvalho Chehab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox