diff options
Diffstat (limited to 'drivers/media/video/gspca/gspca.h')
-rw-r--r-- | drivers/media/video/gspca/gspca.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/gspca.h b/drivers/media/video/gspca/gspca.h index c17625cff9ba..78a35a88cf97 100644 --- a/drivers/media/video/gspca/gspca.h +++ b/drivers/media/video/gspca/gspca.h | |||
@@ -49,8 +49,8 @@ extern int gspca_debug; | |||
49 | } while (0) | 49 | } while (0) |
50 | 50 | ||
51 | #define GSPCA_MAX_FRAMES 16 /* maximum number of video frame buffers */ | 51 | #define GSPCA_MAX_FRAMES 16 /* maximum number of video frame buffers */ |
52 | /* ISOC transfers */ | 52 | /* image transfers */ |
53 | #define MAX_NURBS 16 /* max number of URBs */ | 53 | #define MAX_NURBS 4 /* max number of URBs */ |
54 | #define ISO_MAX_PKT 32 /* max number of packets in an ISOC transfer */ | 54 | #define ISO_MAX_PKT 32 /* max number of packets in an ISOC transfer */ |
55 | #define ISO_MAX_SIZE 0x8000 /* max size of one URB buffer (32 Kb) */ | 55 | #define ISO_MAX_SIZE 0x8000 /* max size of one URB buffer (32 Kb) */ |
56 | 56 | ||
@@ -143,6 +143,7 @@ struct gspca_dev { | |||
143 | 143 | ||
144 | __u8 iface; /* USB interface number */ | 144 | __u8 iface; /* USB interface number */ |
145 | __u8 alt; /* USB alternate setting */ | 145 | __u8 alt; /* USB alternate setting */ |
146 | __u8 bulk; /* image transfer by isoc (0) or bulk (1) */ | ||
146 | __u8 curr_mode; /* current camera mode */ | 147 | __u8 curr_mode; /* current camera mode */ |
147 | __u32 pixfmt; /* current mode parameters */ | 148 | __u32 pixfmt; /* current mode parameters */ |
148 | __u16 width; | 149 | __u16 width; |