Re: mt2032 tuner initialization

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



>  But where should the initialization be done? In tuner_init_module()? Or
>  should the method live in tuner.c, but be called from bttv-cards.c?
>  There is no voodoo200 detection in tuner.c, it all happens in
>  bttv-cards.c.

You can do that once you know the tuner type.  There are two places
where a init / register dump function must be hooked in:  tuner_attach
(in case the type was specified via insmod option) or in tuner_command
(case TUNER_SET_TYPE) in case bttv configures the tuner module.

And the register dump is best wrapped into if (debug) { ... }

  Gerd

-- 
Damn lot people confuse usability and eye-candy.





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux