Re: 2.3.23pre5: drivers/char/bttv.c and drivers/usb/cpia.c do not compile

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 21 Oct 1999 13:46:35 +0100 (BST)


> physical != kernel, as the BIGMEM stuff requires, it is amazing that
>
> drivers/char/bttv.c
> drivers/usb/cpia.c
>
> These files are very similar. It looks as if one were written
> from the other. Both of these files define a routine called uvirt_to_kva
> that attempts to do some arithmetic on the result of pte_page(),

Yes I saw this. The bttv code needs the main memory subsystem to support
a kmalloc/getfreepage below 4Gig. The rest of it looks fairly easy to fix.

The Zoran driver has a similar problem, coupled with the fact it wants updating
to the bttv style capture code (bttv has been rejigged to work right on
Ultrasparc etc by DaveM so is a more portable code set)

(Bounce buffers are out here. You can't bounce buffer the TV capture feed)

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/