Browse Source

Staging: go7007: Convert driver to use video_ioctl2

go7007: Convert driver to use video_ioctl2

go7007 driver were using the old method of having a big switch for handling
ioctls. Use instead the new video_ioctl2 method.

This patch also adds support for the 2.6.19 new ioctls to enumberate video
formats and intervals.

Still lacking the implementation of compression ioctls needed on go7007.

This patch weren't tested, due to the lack of a hardware with me.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Mauro Carvalho Chehab 16 years ago
parent
commit
65f9f6190b
1 changed files with 538 additions and 480 deletions
  1. 538 480
      drivers/staging/go7007/go7007-v4l2.c

File diff suppressed because it is too large
+ 538 - 480
drivers/staging/go7007/go7007-v4l2.c


Some files were not shown because too many files changed in this diff