update (new member: mmap_vma).
* KNOWN BUG: If your gbufsize causes a frame to cross a page boundary,
you lose. The code doesn't support this, and doesn't check for it
either. Boom. (this is fixable though)
* Totally untested. I don't own any bttv hardware.
--
Jeff Garzik | "
Alan Cox wrote:
If this was to be done what good is videodev.c ?
videodev.c just handles minor number registration. Everything else it tried to
help with was an error
*pounce*
What do you think about the attached patch, against 2.4.0-test10-pre7?
--
Jeff Garzik | "Mind
Erm, nevermind :) totally in the wrong place..
--
Jeff Garzik | "Mind if I drive?" -Sam
Building 1024 | "Not if you don't mind me clawing at the
MandrakeSoft| dash and shrieking like a cheerleader."
|
Ok, much better. devfs wants "void *ops" not a struct file_operations.
Attached is a better patch, against 2.4.0-test10-pre7, which allows
video devices to handle all file ops themselves, giving themselves full
power to do whatever they wish.
--
Jeff Garzik | "
applications accomplish this by multiple open, or should the driver
register multiple v4l intefaces?
The spec seems to assume that people will switch between channels, not
view them all at once.
Thanks,
Jeff
--
Jeff Garzik | Liberty is always dangerous, but
Building 1024