diff options
author | Antonio Ospite <ospite@studenti.unina.it> | 2008-11-14 05:53:32 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 14:53:38 -0500 |
commit | dff369aad6407e7b123e239e9ea2f552299cf74c (patch) | |
tree | 77376354bc9240a5b871854302dc93dcb0be5999 /drivers/media/video/gspca/gspca.h | |
parent | 6270330abea2d9556583d597bb78d64b291aa6ba (diff) |
V4L/DVB (9682): gspca: New subdriver parameter 'bulk_nurbs'.
Some webcams with image transfer by bulk messages accept one or many
permanent bulk read.
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/gspca.h')
-rw-r--r-- | drivers/media/video/gspca/gspca.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/gspca.h b/drivers/media/video/gspca/gspca.h index 50913caf1872..4ff9b8105f05 100644 --- a/drivers/media/video/gspca/gspca.h +++ b/drivers/media/video/gspca/gspca.h | |||
@@ -58,6 +58,10 @@ struct cam { | |||
58 | int bulk_size; /* buffer size when image transfer by bulk */ | 58 | int bulk_size; /* buffer size when image transfer by bulk */ |
59 | struct v4l2_pix_format *cam_mode; /* size nmodes */ | 59 | struct v4l2_pix_format *cam_mode; /* size nmodes */ |
60 | char nmodes; | 60 | char nmodes; |
61 | __u8 bulk_nurbs; /* number of URBs in bulk mode | ||
62 | * - cannot be > MAX_NURBS | ||
63 | * - when 0 and bulk_size != 0 means | ||
64 | * 1 URB and submit done by subdriver */ | ||
61 | __u8 epaddr; | 65 | __u8 epaddr; |
62 | }; | 66 | }; |
63 | 67 | ||