patch-2.3.15 linux/drivers/usb/cpia.h

Next file: linux/drivers/usb/ezusb.c
Previous file: linux/drivers/usb/cpia.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.14/linux/drivers/usb/cpia.h linux/drivers/usb/cpia.h
@@ -82,6 +82,9 @@
 
 #define SCRATCH_BUF_SIZE (STREAM_BUF_SIZE * 2)
 
+#define FRAMES_PER_DESC		500
+#define FRAME_SIZE_PER_DESC	960	/* Shouldn't be hardcoded */
+
 enum {
 	STATE_SCANNING,		/* Scanning for start */
 	STATE_HEADER,		/* Parsing header */
@@ -93,7 +96,10 @@
 struct cpia_sbuf {
 	char *data;
 	int len;
+	struct usb_isoc_desc *isodesc;
+#if 0
 	void *isodesc;
+#endif
 };
 
 enum {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)