File:  [DVB] / margi2 / zv-diffs / zv.diff.3.1.25
Revision 1.1: download - view: text, annotated - select for diffs
Sun Feb 3 11:38:56 2002 UTC (22 years, 4 months ago) by mocm
Branches: MAIN
CVS tags: HEAD
ZV patches by Shigehiro Nomura for Libretto added

diff -r tmp/pcmcia-cs-3.1.25/modules/i82365.c pcmcia-cs-3.1.25/modules/i82365.c
2042a2043,2050
>     /* should be somewhere else, but where?? */
>     if (state->flags & SS_ZVCARD) {
>         if (s->flags & IS_RICOH){
>           s->state.ricoh.misccon = i365_get(s,RL5C478_MISC_CONTROL);
>           s->state.ricoh.misccon |= RL5C478_ZV_ENABLE;
>           i365_set(s,RL5C478_MISC_CONTROL,s->state.ricoh.misccon);
>       }
>     }
diff -r tmp/pcmcia-cs-3.1.25/modules/ricoh.h pcmcia-cs-3.1.25/modules/ricoh.h
137a138,141
> /* for setting ZV on/off */
> #define RL5C478_MISC_CONTROL            0x2F /* 8 bit */
> #define RL5C478_ZV_ENABLE               0x08
> 
144a149
>     u_char              misccon;        /* RL5C478_MISC_CONTROL */

LinuxTV legacy CVS <linuxtv.org/cvs>