patch-2.3.17 linux/drivers/usb/usb.h
Next file: linux/drivers/usb/usb_scsi.c
Previous file: linux/drivers/usb/usb-core.c
Back to the patch index
Back to the overall index
- Lines: 54
- Date:
Tue Sep 7 10:19:45 1999
- Orig file:
v2.3.16/linux/drivers/usb/usb.h
- Orig date:
Tue Aug 31 17:29:14 1999
diff -u --recursive --new-file v2.3.16/linux/drivers/usb/usb.h linux/drivers/usb/usb.h
@@ -121,7 +121,7 @@
void *data;
};
-#define USB_PROC_CONTROL _IOWR('U', 0, struct usb_proc_ctrltransfer)
+#define USB_PROC_CONTROL _IOWR('U', 0, struct usb_proc_ctrltransfer)
struct usb_proc_bulktransfer {
unsigned int ep;
@@ -129,16 +129,18 @@
void *data;
};
-#define USB_PROC_BULK _IOWR('U', 2, struct usb_proc_bulktransfer)
+#define USB_PROC_BULK _IOWR('U', 2, struct usb_proc_bulktransfer)
-#define USB_PROC_RESETEP _IOR('U', 3, unsigned int)
+#define USB_PROC_RESETEP _IOR('U', 3, unsigned int)
struct usb_proc_setinterface {
unsigned int interface;
unsigned int altsetting;
};
-#define USB_PROC_SETINTERFACE _IOR('U', 4, struct usb_proc_setinterface)
+#define USB_PROC_SETINTERFACE _IOR('U', 4, struct usb_proc_setinterface)
+
+#define USB_PROC_SETCONFIGURATION _IOR('U', 5, unsigned int)
@@ -349,6 +351,8 @@
*/
#define START_FRAME_FUDGE 3
+#define USB_WRAP_FRAMENR(x) ((x) & 2047)
+
/* for start_type: */
enum {
START_ASAP = 0,
@@ -527,13 +531,6 @@
extern void usb_disconnect(struct usb_device **);
extern void usb_destroy_configuration(struct usb_device *dev);
-
-extern void *usb_allocate_isochronous (struct usb_device *usb_dev, unsigned int pipe, void *data, int len,
- int maxsze, usb_device_irq completed, void *dev_id);
-extern void usb_delete_isochronous (struct usb_device *dev, void *_isodesc);
-extern int usb_schedule_isochronous (struct usb_device *usb_dev, void *_isodesc, void *_pisodesc);
-extern int usb_unschedule_isochronous (struct usb_device *usb_dev, void *_isodesc);
-extern int usb_compress_isochronous (struct usb_device *usb_dev, void *_isodesc);
int usb_get_current_frame_number (struct usb_device *usb_dev);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)