Re: Re: [RFC/PATCHES] xc3028 hybrid tuner, em28xx/em2880-dvb, saa7134, cx88

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mauro Carvalho Chehab wrote:
> IMO, we should really focus on some code proposition and work on it, until 
> have most of us happy, not risking break any driver.
> 
> That's said, we should really try to cope together for having a solution.
> 
> >>From my side, I've actively reviewed all Markus patch series. The changes 
> are not so big, but, since he replaced the usage of the main dvb frontend 
> struct to a newer one, all drivers needed to be changed. His series looks 
> ok, but, as touches on all frontends, the internal API should be tested 
> for all drivers.

I did some quick tests with Markus' patchset. Cards which use the
stv0299 frontend cause an kernel oops. While it is not hard to fix,
it proves that the patchset really breaks some drivers...

> The proposed an alternative patch series I've worked were just adding the 
> newer fields needed from his approach into dvb_frontend struct.
> 
> My suggestion is to you all to take a look on those changes. If the 
> direction (on Marcus original series or on my series) is ok, we can 
> improve the corresponding patch series as needed, with contributions from 
> the developers.
> 
> The API changes(*) on my proposed series are all at:
> 
>  	http://linuxtv.org/~mchehab/mrec2/hg_mrec_01.patch
> 
> (*) Please ignore the "removal" of xc3028.c from the patch above - The 
> driver were renamed on Markus tree and moved to another directory. If all 
> accept this approach, I will move that part to the patch that creates 
> tuner-xc3028.c.

Is this approach ok for the v4l people?

Adding new private pointers to struct dvb_frontend is cheap and _cannot_
break any existing driver. For me this is the preferable way to go.
(Maybe you should prefix the new fields with the name of the component
which will use the pointer, as it was done for tuner_priv, sec_priv etc)

What was the reason not to use this approach in the first place?

CU
Oliver

-- 
--------------------------------------------------------
VDR Remote Plugin 0.3.9 available at
http://www.escape-edv.de/endriss/vdr/
--------------------------------------------------------


_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux