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

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

diff -u --recursive --new-file v2.3.14/linux/drivers/usb/ezusb.h linux/drivers/usb/ezusb.h
@@ -45,13 +45,6 @@
 
 #define EZUSB_CONTROL        _IOWR('E', 0, struct ezusb_ctrltransfer)
 
-struct ezusb_interrupttransfer {
-	unsigned int ep;
-	unsigned char data[64];
-};
-
-#define EZUSB_INTERRUPT      _IOWR('E', 1, struct ezusb_interrupttransfer)
-
 struct ezusb_bulktransfer {
 	unsigned int ep;
 	unsigned int len;
@@ -62,6 +55,33 @@
 
 #define EZUSB_RESETEP        _IOR('E', 3, unsigned int)
 
+struct ezusb_setinterface {
+	unsigned int interface;
+	unsigned int altsetting;
+};
+
+#define EZUSB_SETINTERFACE   _IOR('E', 4, struct ezusb_setinterface)
+
+struct ezusb_isotransfer {
+	unsigned int ep;
+	unsigned int pktsz;
+	unsigned int framesperint;
+};
+
+struct ezusb_isodata {
+	unsigned int ep;
+	unsigned int size;
+	unsigned int bufqueued;
+	unsigned int buffree;
+	void *data;
+};
+
+#define EZUSB_STARTISO		_IOR('E', 8, struct ezusb_isotransfer)
+#define EZUSB_STOPISO		_IOR('E', 9, unsigned int)
+#define EZUSB_ISODATA		_IOWR('E', 10, struct ezusb_isodata)
+#define EZUSB_PAUSEISO		_IOR('E', 11, unsigned int)
+#define EZUSB_RESUMEISO		_IOR('E', 12, unsigned int)
 
 /* --------------------------------------------------------------------- */
 #endif /* _LINUX_EZUSB_H */
+

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