Re: [V4L] [PATCH/RFC] videodev.[ch] redesign

Gerd Knorr
2002-02-10T09:11:50Z

Alan Cox wrote:
> > It also provides a ioctl wrapper function which handles copying the
> > ioctl args from/to userspace, so we have this at one place can drop all
> > the copy_from/to_user calls within the v4l device driver ioctl handlers.
> >
> > Comments?
>
> I'm not sure 2.4 should change but for 2.5 this is absolutely bang on
> perfect

For 2.5 I want switch over to using file_operations completely and drop
the old stuff. Thus 2.4 should provide both old+new way to handle
stuff: The old one for backward compatibility and the new one to allow
backporting 2.5.x drivers to 2.4 ...

Yesterday I've booted a 2.5.x kernel the first time and managed to make
bttv work there. 2.5.x version of the will follow ...

Gerd

--
#define ENOCLUE 125 /* userland programmer induced race condition */