I'd a Pinnacle PCTV Pro correctly running on RH 8.0
using bttv 0.7.1.106.
Now I've installed RH 9, and since I've got the
blue screen, i just went to apply the latest bttv 0-7-106 again.
However, when doing the make, I'm getting the
following error when compiling bttv-driver.c:
-----------------------
bttv-driver.c: In function
`do_bttv_mmap':
bttv-driver.c:2201: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast bttv-driver.c:2201: incompatible type for argument 4 of `remap_page_range_R2baf18f2' bttv-driver.c:2201: too few arguments to function `remap_page_range_R2baf18f2' bttv-driver.c: At top level: bttv-driver.c:2233: warning: initialization from incompatible pointer type make[3]: *** [bttv-driver.o] Error 1 ------------------------
I was really suprised on that, so I went to the
original sources that comes with RH9, and I have found the following
differences at bttv-driver.c (as well as many others):
------------------------
< static int do_bttv_mmap(struct bttv *btv,
const char *adr, unsigned long size)
--- > static int do_bttv_mmap(struct vm_area_struct *vma, struct bttv *btv, const char *adr, unsigned long size) 2201c2030 < if (remap_page_range(start, page, PAGE_SIZE, PAGE_SHARED)) --- > if (remap_page_range(vma, start, page, PAGE_SIZE, PAGE_SHARED)) ------------------------ Really the driver taht comes with RH9 is slightly
different from the one that comes with 0.7.106, also in early bttv versions uses
5 parameters when calling remap_page_range as well.
I'm so confused since I was able to compile it
in RH8.
I don't know where is defined the
remap_page_range.
Anybody has an idea about what is going on? Did
anybody installed succesfully the latest bttv drivers on RH9? I'm missing
anything?
Thanks,
Ramon.
|