patch-2.3.34 linux/drivers/usb/ezusb.h
Next file: linux/drivers/usb/firmware.h
Previous file: linux/drivers/usb/ezusb.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Thu Dec 16 01:27:42 1999
- Orig file:
v2.3.33/linux/drivers/usb/ezusb.h
- Orig date:
Sat Oct 9 11:47:50 1999
diff -u --recursive --new-file v2.3.33/linux/drivers/usb/ezusb.h linux/drivers/usb/ezusb.h
@@ -66,6 +66,12 @@
void *data;
};
+struct ezusb_interrupt {
+ unsigned int ep;
+ unsigned int len;
+ unsigned int interval; /* in milliseconds */
+ void *data;
+};
struct ezusb_setinterface {
unsigned int interface;
unsigned int altsetting;
@@ -113,7 +119,8 @@
#define EZUSB_REQUESTBULK _IOR('E', 16, struct ezusb_asyncbulk)
#define EZUSB_REQUESTISO _IOR('E', 17, struct ezusb_asynciso)
#define EZUSB_TERMINATEASYNC _IOR('E', 18, void *)
-#define EZUSB_GETFRAMENUMBER _IOW('E', 18, unsigned int)
+#define EZUSB_GETFRAMENUMBER _IOW('E', 19, unsigned int)
+#define EZUSB_INTERRUPT _IOWR('E', 20, struct ezusb_interrupt)
/* --------------------------------------------------------------------- */
#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)