Skip to contentSkip to conversation

Hint request for driver change

DISCUSSION Massimo Del Fedele 2 participants 4 messages Oct 26, 2009 – Oct 31, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi,

I'm trying to support the analog part of Pinnacle PCTV310e, which is an ULI M9207 based card; by now I added the support for the digital side patching the M920x driver; in order to add the analog part the driver should be almost completely rewritten, and it'll take more source files, so it should have a separate folder.
Shall I make a new driver (with different name, as m920x-new) or simply remove old one and add the new ?

Ciao

Max

#1 lore raw

Em Mon, 26 Oct 2009 11:45:41 +0100
Massimo Del Fedele <[email protected]> escreveu:

Quoted 9 lines

Hi,

I'm trying to support the analog part of Pinnacle PCTV310e, which is an ULI M9207 based card; by now I added the support for the digital side patching the M920x driver; in order to add the analog part the driver should be almost completely rewritten, and it'll take more source files, so it should have a separate folder.
Shall I make a new driver (with different name, as m920x-new) or simply remove old one and add the new ?

It is better to not rename it, to avoid confusion.

Quoted 9 lines

Ciao

Max

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Cheers,
Mauro

#2 lore raw
Quoted 2 lines · Mauro Carvalho Chehab <mchehab <at> infradead.org> writes:

It is better to not rename it, to avoid confusion.

Thank you for the answer :-)
The only problem is that rewriting the full driver I will not be able to test all card supported by previous one (I just own one of them). Anyways I'll start with mine than ask for some test for the others.

BTW, did you see my patch for adding Pinnacle PCTV310e support (DVB only) in current driver ? Did I post it correctly or it miss something ?

Best regards

Massimo

#3 lore raw

Em Wed, 28 Oct 2009 18:50:14 +0000 (UTC)
Massimo Del Fedele <[email protected]> escreveu:

Quoted 10 lines
Quoted 2 lines · Mauro Carvalho Chehab <mchehab <at> infradead.org> writes:

It is better to not rename it, to avoid confusion.

Thank you for the answer :-)
The only problem is that rewriting the full driver I will not be able to test all card supported by previous one (I just own one of them). Anyways I'll start with mine than ask for some test for the others.

Rewriting the full driver is generally a bad idea, since you'll probably loose fixes and cause regressions. The better is to incrementally fix it.

Quoted 2 lines

BTW, did you see my patch for adding Pinnacle PCTV310e support (DVB only) in current driver ? Did I post it correctly or it miss something ?

I just sent you an email about that. Basically, you forgot a SOB and to do make checkpatch

Cheers,
Mauro