diff options
Diffstat (limited to 'drivers/media/video/gspca/gspca.h')
-rw-r--r-- | drivers/media/video/gspca/gspca.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/gspca/gspca.h b/drivers/media/video/gspca/gspca.h index 58e8ff02136a..bd1faff88644 100644 --- a/drivers/media/video/gspca/gspca.h +++ b/drivers/media/video/gspca/gspca.h | |||
@@ -44,8 +44,6 @@ extern int gspca_debug; | |||
44 | #define GSPCA_MAX_FRAMES 16 /* maximum number of video frame buffers */ | 44 | #define GSPCA_MAX_FRAMES 16 /* maximum number of video frame buffers */ |
45 | /* image transfers */ | 45 | /* image transfers */ |
46 | #define MAX_NURBS 4 /* max number of URBs */ | 46 | #define MAX_NURBS 4 /* max number of URBs */ |
47 | #define ISO_MAX_PKT 32 /* max number of packets in an ISOC transfer */ | ||
48 | #define ISO_MAX_SIZE 0x8000 /* max size of one URB buffer (32 Kb) */ | ||
49 | 47 | ||
50 | /* device information - set at probe time */ | 48 | /* device information - set at probe time */ |
51 | struct cam { | 49 | struct cam { |
@@ -56,6 +54,9 @@ struct cam { | |||
56 | * - cannot be > MAX_NURBS | 54 | * - cannot be > MAX_NURBS |
57 | * - when 0 and bulk_size != 0 means | 55 | * - when 0 and bulk_size != 0 means |
58 | * 1 URB and submit done by subdriver */ | 56 | * 1 URB and submit done by subdriver */ |
57 | u8 bulk; /* image transfer by 0:isoc / 1:bulk */ | ||
58 | u8 npkt; /* number of packets in an ISOC message | ||
59 | * 0 is the default value: 32 packets */ | ||
59 | u32 input_flags; /* value for ENUM_INPUT status flags */ | 60 | u32 input_flags; /* value for ENUM_INPUT status flags */ |
60 | }; | 61 | }; |
61 | 62 | ||
@@ -168,7 +169,6 @@ struct gspca_dev { | |||
168 | __u8 iface; /* USB interface number */ | 169 | __u8 iface; /* USB interface number */ |
169 | __u8 alt; /* USB alternate setting */ | 170 | __u8 alt; /* USB alternate setting */ |
170 | __u8 nbalt; /* number of USB alternate settings */ | 171 | __u8 nbalt; /* number of USB alternate settings */ |
171 | u8 bulk; /* image transfer by 0:isoc / 1:bulk */ | ||
172 | }; | 172 | }; |
173 | 173 | ||
174 | int gspca_dev_probe(struct usb_interface *intf, | 174 | int gspca_dev_probe(struct usb_interface *intf, |