Re: [linux-dvb] problems in em28xx-video.c

2007-09-19 Thread Markus Rechberger
On 9/19/07, kevin liu [EMAIL PROTECTED] wrote: Dear Markus: In em28xx-video.c, when you design memory map function, You used this state: for(i=0; idev-num_frames; i++){ if(dev-frame[i].buf.m.offset PAGE_SHIFT == vma-pgoff) break; } Why

[linux-dvb] problems in em28xx-video.c

2007-09-18 Thread kevin liu
Dear Markus: In em28xx-video.c, when you design memory map function, You used this state: for(i=0; idev-num_frames; i++){ if(dev-frame[i].buf.m.offset PAGE_SHIFT == vma-pgoff) break; } Why dev-frame[i].buf.m.offPAGE_SHIFT == vma-pgoff; I see the mmap function